Skip to content

Commit 2d4f10e

Browse files
chore: remove styling rules from eslint config
This sort of stuff is handled by prettier these days. Sometimes they are in conflict, producing false positive warnings, which is annoying. Issue: BTC-1450
1 parent ddde72b commit 2d4f10e

File tree

1 file changed

+0
-25
lines changed

1 file changed

+0
-25
lines changed

.eslintrc.json

Lines changed: 0 additions & 25 deletions
Original file line numberDiff line numberDiff line change
@@ -23,59 +23,34 @@
2323
"@typescript-eslint/no-this-alias": "warn",
2424
"@typescript-eslint/no-use-before-define": "off",
2525
"@typescript-eslint/no-var-requires": "off",
26-
"array-bracket-spacing": ["error", "never"],
27-
"arrow-spacing": ["error", { "before": true, "after": true }],
28-
"brace-style": ["error", "1tbs", { "allowSingleLine": true }],
29-
"comma-dangle": ["warn", "always-multiline"],
30-
"comma-spacing": ["error", { "before": false, "after": true }],
31-
"curly": ["error", "multi-line"],
32-
"eol-last": "error",
3326
"eqeqeq": ["warn", "always"],
34-
"func-call-spacing": ["error", "never"],
3527
"func-names": "off",
36-
"indent": ["warn", 2, { "SwitchCase": 1, "MemberExpression": 1 }],
37-
"key-spacing": ["error", { "beforeColon": false, "afterColon": true, "mode": "strict" }],
38-
"keyword-spacing": ["error"],
39-
"linebreak-style": ["error", "unix"],
4028
"no-compare-neg-zero": "error",
4129
"no-console": "warn",
4230
"no-dupe-args": "error",
4331
"no-dupe-keys": "error",
4432
"no-duplicate-imports": "error",
4533
"no-empty": ["warn", { "allowEmptyCatch": false }],
4634
"no-extra-boolean-cast": "off",
47-
"no-extra-semi": "error",
4835
"no-fallthrough": "error",
4936
"no-inner-declarations": "off",
50-
"no-mixed-spaces-and-tabs": "error",
51-
"no-multi-spaces": ["error", { "ignoreEOLComments": true }],
52-
"no-multiple-empty-lines": ["error", { "max": 2, "maxEOF": 1 }],
5337
"no-octal": "error",
5438
"no-path-concat": "off",
5539
"no-process-env": "off",
5640
"no-process-exit": "off",
5741
"no-sync": "warn",
58-
"no-trailing-spaces": ["warn", { "skipBlankLines": true, "ignoreComments": true }],
5942
"no-undef": "error",
6043
"no-unneeded-ternary": "error",
6144
"no-unreachable": "error",
6245
"@typescript-eslint/no-unused-vars": ["error", { "vars": "all", "args": "none" }],
6346
"no-useless-escape": "off",
6447
"no-var": "error",
65-
"object-curly-spacing": ["error", "always", { "objectsInObjects": true, "arraysInObjects": true }],
6648
"prefer-const": "error",
6749
"prefer-rest-params": "warn",
6850
"prefer-spread": "warn",
6951
"quote-props": ["error", "as-needed"],
70-
"quotes": ["error", "single", { "avoidEscape": true, "allowTemplateLiterals": true }],
7152
"radix": "error",
7253
"require-yield": "off",
73-
"semi": ["error", "always"],
74-
"space-before-blocks": ["error"],
75-
"space-infix-ops": ["error"],
76-
"spaced-comment": ["error", "always"],
77-
"switch-colon-spacing": ["error", { "before": false, "after": true }],
78-
"yield-star-spacing": ["error", { "before": true, "after": false }],
7954
"import/no-internal-modules": [
8055
"error",
8156
{

0 commit comments

Comments
 (0)