Skip to content

Commit b875b6e

Browse files
authored
Turn off @typescript-eslint/space-infix-ops (#164)
TypeScript ESLint v4.6.0 has added a new rule: `@typescript-eslint/space-infix-ops`. This rule is an extension of the core rule `space-infix-ops` that `eslint-config-prettier` has turned off already. See also: - https://github.com/typescript-eslint/typescript-eslint/releases/tag/v4.6.0 - https://github.com/typescript-eslint/typescript-eslint/blob/v4.6.0/packages/eslint-plugin/docs/rules/space-infix-ops.md - https://github.com/prettier/eslint-config-prettier/blob/v6.14.0/index.js#L82
1 parent 12b126d commit b875b6e

File tree

4 files changed

+38
-37
lines changed

4 files changed

+38
-37
lines changed

@typescript-eslint.js

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,6 +15,7 @@ module.exports = {
1515
"@typescript-eslint/no-extra-semi": "off",
1616
"@typescript-eslint/semi": "off",
1717
"@typescript-eslint/space-before-function-paren": "off",
18+
"@typescript-eslint/space-infix-ops": "off",
1819
"@typescript-eslint/type-annotation-spacing": "off",
1920
},
2021
};

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -696,7 +696,7 @@ eslint-config-prettier has been tested with:
696696
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x
697697
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x
698698
- prettier 2.1.2
699-
- @typescript-eslint/eslint-plugin 4.5.0
699+
- @typescript-eslint/eslint-plugin 4.6.0
700700
- eslint-plugin-babel 5.3.1
701701
- eslint-plugin-flowtype 5.2.0
702702
- eslint-plugin-react 7.21.5

package-lock.json

Lines changed: 34 additions & 34 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -40,8 +40,8 @@
4040
"get-stdin": "^6.0.0"
4141
},
4242
"devDependencies": {
43-
"@typescript-eslint/eslint-plugin": "4.5.0",
44-
"@typescript-eslint/parser": "4.5.0",
43+
"@typescript-eslint/eslint-plugin": "4.6.0",
44+
"@typescript-eslint/parser": "4.6.0",
4545
"babel-eslint": "10.1.0",
4646
"cross-spawn": "7.0.3",
4747
"doctoc": "1.4.0",

0 commit comments

Comments
 (0)