Skip to content

Commit 6d8890f

Browse files
committed
Remove all custom eslint rules
We should follow the eslint default, completed by the imported scality rules. Any additional rule should add some constraints, like disabling .only tests to make the CI fail. The reason is that we end up being too leniant on the style, and that translates into useless indent (or other style) changes in branches, due to local tooling auto-formatting the code, which make the reviews harder. Issue: CLDSRV-723
1 parent 86f9fe7 commit 6d8890f

File tree

1 file changed

+0
-42
lines changed

1 file changed

+0
-42
lines changed

eslint.config.mjs

Lines changed: 0 additions & 42 deletions
Original file line numberDiff line numberDiff line change
@@ -23,48 +23,6 @@ export default [...compat.extends('@scality/scality'), {
2323
},
2424

2525
rules: {
26-
"import/extensions": "off",
27-
"lines-around-directive": "off",
28-
"no-underscore-dangle": "off",
29-
"indent": "off",
30-
"object-curly-newline": "off",
31-
"operator-linebreak": "off",
32-
"function-paren-newline": "off",
33-
"import/newline-after-import": "off",
34-
"prefer-destructuring": "off",
35-
"implicit-arrow-linebreak": "off",
36-
"no-bitwise": "off",
37-
"dot-location": "off",
38-
"comma-dangle": "off",
39-
"no-undef-init": "off",
40-
"global-require": "off",
41-
"import/no-dynamic-require": "off",
42-
"class-methods-use-this": "off",
43-
"no-plusplus": "off",
44-
"no-else-return": "off",
45-
"object-property-newline": "off",
46-
"import/order": "off",
47-
"no-continue": "off",
48-
"no-tabs": "off",
49-
"lines-between-class-members": "off",
50-
"prefer-spread": "off",
51-
"no-lonely-if": "off",
52-
"no-useless-escape": "off",
53-
"no-restricted-globals": "off",
54-
"no-buffer-constructor": "off",
55-
"import/no-extraneous-dependencies": "off",
56-
"space-unary-ops": "off",
57-
"no-useless-return": "off",
58-
"no-unexpected-multiline": "off",
59-
"no-mixed-operators": "off",
60-
"newline-per-chained-call": "off",
61-
"operator-assignment": "off",
62-
"spaced-comment": "off",
63-
"comma-style": "off",
64-
"no-restricted-properties": "off",
65-
"new-parens": "off",
66-
"no-multi-spaces": "off",
67-
"quote-props": "off",
6826
"mocha/no-exclusive-tests": "error",
6927
"no-redeclare": ["error", { "builtinGlobals": false }],
7028
},

0 commit comments

Comments
 (0)