Skip to content

Commit 5cb0212

Browse files
committed
Sorted rules into alphabetical order
1 parent 4d59180 commit 5cb0212

File tree

1 file changed

+38
-38
lines changed

1 file changed

+38
-38
lines changed

index.js

+38-38
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,21 @@
22

33
module.exports = {
44
'rules': {
5+
'array-bracket-spacing': [
6+
'error',
7+
'always'
8+
],
9+
'block-scoped-var': [
10+
'error'
11+
],
12+
'brace-style': [
13+
'error'
14+
],
15+
'curly': [
16+
'error',
17+
'multi-or-nest',
18+
'consistent'
19+
],
520
'indent': [
621
'error',
722
'tab',
@@ -13,67 +28,52 @@ module.exports = {
1328
'error',
1429
'unix'
1530
],
16-
'quotes': [
17-
'error',
18-
'single'
19-
],
20-
'semi': [
21-
'error',
22-
'always'
23-
],
24-
'no-unused-vars': [
25-
'error',
26-
{
27-
'vars': 'local',
28-
'argsIgnorePattern': '^_',
29-
'varsIgnorePattern': '^_',
30-
}
31-
],
3231
'max-len': [
3332
'error',
3433
{
3534
'code': 80
3635
}
3736
],
38-
'array-bracket-spacing': [
39-
'error',
40-
'always'
37+
'no-else-return': [
38+
'error'
4139
],
42-
'object-curly-spacing': [
43-
'error',
44-
'always'
40+
'no-empty-function': [
41+
'error'
4542
],
4643
'no-extra-parens': [
4744
'error'
4845
],
49-
'no-template-curly-in-string': [
46+
'no-self-compare': [
5047
'error'
5148
],
52-
'no-unreachable-loop': [
49+
'no-template-curly-in-string': [
5350
'error'
5451
],
55-
'block-scoped-var': [
52+
'no-unreachable-loop': [
5653
'error'
5754
],
58-
'curly': [
55+
'no-unused-vars': [
5956
'error',
60-
'multi-or-nest',
61-
'consistent'
62-
],
63-
'no-else-return': [
64-
'error'
57+
{
58+
'vars': 'local',
59+
'argsIgnorePattern': '^_',
60+
'varsIgnorePattern': '^_'
61+
}
6562
],
66-
'no-empty-function': [
63+
'no-useless-return': [
6764
'error'
6865
],
69-
'no-self-compare': [
70-
'error'
66+
'object-curly-spacing': [
67+
'error',
68+
'always'
7169
],
72-
'no-useless-return': [
73-
'error'
70+
'quotes': [
71+
'error',
72+
'single'
7473
],
75-
'brace-style': [
76-
'error'
74+
'semi': [
75+
'error',
76+
'always'
7777
],
7878
'strict': [
7979
'error',

0 commit comments

Comments
 (0)