We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
@typescript-eslint/key-spacing
1 parent d9684ba commit c56b08eCopy full SHA for c56b08e
configurations/typescript/rules/typescript.js
@@ -198,6 +198,11 @@ module.exports = {
198
// https://typescript-eslint.io/rules/init-declarations
199
...extendFromBase('init-declarations'),
200
201
+ // Enforce consistent spacing between property names
202
+ // and type annotations in types and interfaces. (autofixable)
203
+ // https://typescript-eslint.io/rules/key-spacing/
204
+ ...extendFromBase('+key-spacing'),
205
+
206
// Enforce consistent spacing before and after keywords (autofixable)
207
// https://typescript-eslint.io/rules/keyword-spacing/
208
...extendFromBase('+keyword-spacing'),
0 commit comments