Skip to content

Commit

Permalink
infra: enable keyword-spacing eslint rule and remove decrecated space…
Browse files Browse the repository at this point in the history
…-*-keyword rules (anuraghazra#3464)
  • Loading branch information
qwerty541 authored Nov 10, 2023
1 parent aa90efc commit edf9f74
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -217,14 +217,13 @@
"MethodDefinition": true,
"ClassDeclaration": false
}
}]
}],
// "semi-spacing": [ "warn", { "before": false, "after": true }],
// "semi": [ "error", "always" ],
// "sort-vars": "off",
// "space-after-keywords": [ "warn", "always" ],
"keyword-spacing": ["error", { "before": true, "after": true }]
// "space-before-blocks": [ "warn", "always" ],
// "space-before-function-paren": [ "warn", "never" ],
// "space-before-keywords": [ "warn", "always" ],
// "space-in-parens": [ "warn", "never" ],
// "space-infix-ops": [ "warn", { "int32Hint": true } ],
// "space-return-throw-case": "error",
Expand Down

0 comments on commit edf9f74

Please sign in to comment.