Skip to content

Commit fb4af6f

Browse files
committed
Updated packages
1 parent 2895ada commit fb4af6f

14 files changed

+3019
-2811
lines changed

.eslintrc.js

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,27 @@
1+
module.exports = {
2+
parserOptions: {
3+
sourceType: 'module',
4+
},
5+
env: {
6+
es6: true,
7+
browser: true,
8+
jquery: true,
9+
},
10+
extends: ['eslint:recommended', 'airbnb-base', 'plugin:prettier/recommended'],
11+
rules: {
12+
'prettier/prettier': ['error', {}, { usePrettierrc: true }],
13+
indent: ['error', 2],
14+
quotes: ['error', 'single'],
15+
semi: ['error', 'always'],
16+
'linebreak-style': ['error', 'unix'],
17+
'no-unused-vars': [
18+
'error',
19+
{
20+
argsIgnorePattern: 'next',
21+
},
22+
],
23+
'eol-last': ['error', 'always'],
24+
'class-methods-use-this': 0,
25+
'func-names': 0,
26+
},
27+
};

.eslintrc.yml

Lines changed: 0 additions & 28 deletions
This file was deleted.

.prettierignore

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,7 @@
1+
node_modules
2+
package-lock.json
3+
dist
4+
examples
5+
*.md
6+
*.css
7+
*.html

.prettierrc.js

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
module.exports = {
2+
semi: true,
3+
trailingComma: 'all',
4+
singleQuote: true,
5+
printWidth: 80,
6+
tabWidth: 2,
7+
useTabs: false,
8+
bracketSameLine: true,
9+
endOfLine: 'lf',
10+
};

0 commit comments

Comments
 (0)