Closed
Description
Before You File a Bug Report Please Confirm You Have Done The Following...
- I have tried restarting my IDE and the issue persists.
- I have updated to the latest version of the packages.
- I have searched for related issues and found none that matched my issue.
- I have read the FAQ and my problem is not listed.
Playground Link
null
Repro Code
private word: {[key: string]: any} = null;
ESLint Config
module.exports = {
parser: "@typescript-eslint/parser",
rules: {
"space-infix-ops": "off",
"@typescript-eslint/space-infix-ops": ["error"],
"@typescript-eslint/type-annotation-spacing": ["error"]
},
};
tsconfig
No response
Expected Result
it may like this:
private word: {[key: string]: any} = null;
Actual Result
space-infix-ops
and type-annotation-spacing
are in conflict
it maybe this one #5041 in 5.27.0
Additional Info
No response
Versions
package | version |
---|---|
@typescript-eslint/eslint-plugin |
5.27.0 |
@typescript-eslint/parser |
5.27.0 |
TypeScript |
4.5.5 |
ESLint |
8.9.0 |
node |
14.17.6 |