Skip to content

Commit b2bd303

Browse files
committed
.eslintrc consistency.
1 parent 7ed04bf commit b2bd303

File tree

1 file changed

+26
-26
lines changed

1 file changed

+26
-26
lines changed

.eslintrc

Lines changed: 26 additions & 26 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
},
66

77
parserOptions: {
8-
sourceType: "module",
8+
sourceType: 'module',
99
},
1010

1111
plugins: [
@@ -18,14 +18,14 @@
1818
],
1919

2020
rules: {
21-
"jest/no-standalone-expect": 0,
22-
"jest/expect-expect": 0,
23-
"jest/no-done-callback": 0,
24-
"jest/no-identical-title": 0,
25-
21+
'jest/no-standalone-expect': 0,
22+
'jest/expect-expect': 0,
23+
'jest/no-done-callback': 0,
24+
'jest/no-identical-title': 0,
25+
2626

2727
// Possible Errors
28-
comma-dangle: [2, "always-multiline"],
28+
comma-dangle: [ 2, 'always-multiline' ],
2929
no-cond-assign: 0,
3030
no-console: 2,
3131
no-constant-condition: 0,
@@ -61,7 +61,7 @@
6161
curly: 0,
6262
default-case: 0,
6363
dot-notation: 2,
64-
dot-location: [2, "property"],
64+
dot-location: [ 2, 'property' ],
6565
eqeqeq: 2,
6666
guard-for-in: 0,
6767
no-alert: 2,
@@ -105,11 +105,11 @@
105105
no-with: 2,
106106
radix: 2,
107107
vars-on-top: 0,
108-
wrap-iife: [2, "inside"],
108+
wrap-iife: [ 2, 'inside' ],
109109
yoda: 2,
110110

111111
// Strict Mode
112-
strict: [2, "never"],
112+
strict: [ 2, 'never' ],
113113

114114
// Variables
115115
init-declarations: 0,
@@ -121,8 +121,8 @@
121121
no-undef-init: 2,
122122
no-undef: 2,
123123
no-undefined: 0,
124-
no-unused-vars: [ 2, { args: "none" }],
125-
no-use-before-define: [2, { functions: false, classes: false }],
124+
no-unused-vars: [ 2, { args: 'none' } ],
125+
no-use-before-define: [ 2, { functions: false, classes: false } ],
126126

127127
// Node.js
128128
callback-return: 0,
@@ -136,24 +136,24 @@
136136

137137
// Stylistic Issues
138138
array-bracket-spacing: 2,
139-
arrow-parens: [2, "as-needed"],
139+
arrow-parens: [ 2, 'as-needed' ],
140140
block-spacing: 2,
141-
brace-style: [2, "stroustrup", { allowSingleLine: true }],
141+
brace-style: [ 2, 'stroustrup', { allowSingleLine: true } ],
142142
camelcase: 2,
143143
comma-spacing: 2,
144144
comma-style: 2,
145145
computed-property-spacing: 2,
146146
consistent-this: 0,
147147
eol-last: 2,
148148
func-names: 0,
149-
func-style: [2, "declaration"],
149+
func-style: [ 2, 'declaration' ],
150150
id-length: 0,
151151
id-match: 2,
152-
indent-legacy: [2, 2, { VariableDeclarator: 2 }],
153-
key-spacing: [2, { mode: "minimum" }],
152+
indent-legacy: [ 2, 2, { VariableDeclarator: 2 } ],
153+
key-spacing: [ 2, { mode: 'minimum' } ],
154154
lines-around-comment: 2,
155155
linebreak-style: 2,
156-
max-nested-callbacks: [2, 1],
156+
max-nested-callbacks: [ 2, 1 ],
157157
new-cap: 2,
158158
new-parens: 2,
159159
newline-after-var: 0,
@@ -172,28 +172,28 @@
172172
no-underscore-dangle: 0,
173173
no-unneeded-ternary: 2,
174174
no-var: 2,
175-
object-curly-spacing: [2, "always"],
175+
object-curly-spacing: [ 2, 'always' ],
176176
object-curly-newline: 0,
177177
object-property-newline: 0,
178178
one-var: 0,
179179
operator-assignment: 2,
180-
operator-linebreak: [2, "after", { overrides: { ":": "ignore" } }],
181-
padded-blocks: [2, "never"],
180+
operator-linebreak: [ 2, 'after', { overrides: { ':': 'ignore' } } ],
181+
padded-blocks: [ 2, 'never' ],
182182
prefer-arrow-callback: 2,
183183
prefer-const: 2,
184184
prefer-template: 2,
185-
quote-props: [2, "consistent-as-needed"],
186-
quotes: [2, "single", "avoid-escape"],
185+
quote-props: [ 2, 'consistent-as-needed' ],
186+
quotes: [ 2, 'single', 'avoid-escape' ],
187187
semi-spacing: 2,
188188
semi: 2,
189189
sort-vars: 0,
190190
keyword-spacing: 2,
191191
space-before-blocks: 2,
192-
space-before-function-paren: [2, {"anonymous": "always", "named": "never"}],
192+
space-before-function-paren: [ 2, { anonymous: 'always', named: 'never' } ],
193193
space-in-parens: 2,
194194
space-infix-ops: 2,
195195
space-unary-ops: 2,
196-
spaced-comment: [2, "always", { block: { markers: ["!"] } }],
196+
spaced-comment: [ 2, 'always', { block: { markers: [ '!' ] } } ],
197197
template-curly-spacing: 2,
198198
wrap-regex: 0,
199199

@@ -232,7 +232,7 @@
232232
'import/first': 2,
233233
'import/group-exports': 0,
234234
'import/imports-first': 2,
235-
'import/max-dependencies': [2, {"max": 15}],
235+
'import/max-dependencies': [ 2, { max: 15 } ],
236236
'import/newline-after-import': 2,
237237
'import/no-anonymous-default-export': 0,
238238
'import/no-default-export': 0,

0 commit comments

Comments
 (0)