Skip to content

Commit 6abe265

Browse files
committed
Format eslintrc with prettier
1 parent 8331160 commit 6abe265

File tree

2 files changed

+26
-25
lines changed

2 files changed

+26
-25
lines changed

.eslintignore

+1
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
node_modules
22
bin
33
dist
4+
!.eslintrc.js

.eslintrc.js

+25-25
Original file line numberDiff line numberDiff line change
@@ -1,28 +1,28 @@
11
module.exports = {
2-
extends: ['eslint:recommended', 'prettier'],
3-
parser: 'babel-eslint',
4-
plugins: ['import', 'prettier'],
5-
env: {
6-
node: true,
7-
es6: true,
8-
},
9-
root: true,
10-
rules: {
11-
'prettier/prettier': [
12-
'error',
13-
{ trailingComma: 'es5', singleQuote: true, printWidth: 90, tabWidth: 4, },
14-
],
2+
extends: ['eslint:recommended', 'prettier'],
3+
parser: 'babel-eslint',
4+
plugins: ['import', 'prettier'],
5+
env: {
6+
node: true,
7+
es6: true,
8+
},
9+
root: true,
10+
rules: {
11+
'prettier/prettier': [
12+
'error',
13+
{ trailingComma: 'es5', singleQuote: true, printWidth: 90, tabWidth: 4 },
14+
],
1515

16-
'import/order': [
17-
'error',
18-
{
19-
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
20-
},
21-
],
22-
'no-unused-vars': ['error', { vars: 'all', args: 'none' }],
23-
'no-underscore-dangle': 'off',
24-
'no-param-reassign': 'off',
25-
'no-console': 'off',
26-
'no-warning-comments': ['warn', { terms: ['fixme'], location: 'start' }],
27-
},
16+
'import/order': [
17+
'error',
18+
{
19+
groups: ['builtin', 'external', 'internal', 'parent', 'sibling', 'index'],
20+
},
21+
],
22+
'no-unused-vars': ['error', { vars: 'all', args: 'none' }],
23+
'no-underscore-dangle': 'off',
24+
'no-param-reassign': 'off',
25+
'no-console': 'off',
26+
'no-warning-comments': ['warn', { terms: ['fixme'], location: 'start' }],
27+
},
2828
};

0 commit comments

Comments
 (0)