Skip to content

Commit 7f76a9a

Browse files
committed
tweaking the config
1 parent 4e1d90e commit 7f76a9a

File tree

1 file changed

+2
-11
lines changed
  • packages/eslint-config-algolia/rules

1 file changed

+2
-11
lines changed

packages/eslint-config-algolia/rules/base.js

Lines changed: 2 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -166,8 +166,7 @@ module.exports = {
166166
// http://eslint.org/docs/rules/#stylistic-issues
167167
'@stylistic/array-bracket-spacing': ['error'],
168168
'@stylistic/block-spacing': ['error'],
169-
'@stylistic/brace-style': ['error', '1tbs', { allowSingleLine: true }],
170-
'@stylistic/comma-dangle': ['error', 'always-multiline'],
169+
'@stylistic/comma-dangle': 'off',
171170
'@stylistic/comma-spacing': ['error'],
172171
'@stylistic/comma-style': ['error'],
173172
'@stylistic/computed-property-spacing': ['error'],
@@ -254,12 +253,8 @@ module.exports = {
254253
// ECMAScript 6
255254
// http://eslint.org/docs/rules/#ecmascript-6
256255
'arrow-body-style': ['error'],
257-
'arrow-parens': ['error', 'as-needed'],
258-
'arrow-spacing': ['error'],
259256
'constructor-super': ['error'],
260-
'generator-star-spacing': ['error'],
261257
'no-class-assign': ['error'],
262-
'no-confusing-arrow': ['off'],
263258
'no-const-assign': ['error'],
264259
'no-dupe-class-members': ['error'],
265260
'no-duplicate-imports': ['off'],
@@ -273,16 +268,12 @@ module.exports = {
273268
'object-shorthand': ['error'],
274269
'prefer-arrow-callback': ['error'],
275270
'prefer-const': ['error'],
276-
'prefer-reflect': ['off'],
277271
'prefer-rest-params': ['error'],
278272
'prefer-spread': ['error'],
279273
'prefer-template': ['error'],
280274
'require-yield': ['error'],
281-
'rest-spread-spacing': ['error'],
282275
'sort-imports': ['off'],
283276
'symbol-description': ['error'],
284-
'template-curly-spacing': ['error'],
285-
'yield-star-spacing': ['error'],
286277

287278
// Comments
288279
// https://mysticatea.github.io/eslint-plugin-eslint-comments
@@ -328,7 +319,7 @@ module.exports = {
328319
bracketSameLine: false,
329320
printWidth: 120,
330321
singleQuote: true,
331-
trailingComma: 'es5',
322+
trailingComma: 'all',
332323
useTabs: false,
333324
quoteProps: 'as-needed',
334325
},

0 commit comments

Comments
 (0)