Use radix rule from eslint

This commit is contained in:
Simon Warta 2020-02-10 12:40:53 +01:00
parent 6e53302d49
commit bf023748f1
2 changed files with 2 additions and 0 deletions

View File

@ -25,6 +25,7 @@ module.exports = {
"no-param-reassign": "warn",
"no-shadow": "warn",
"prefer-const": "warn",
"radix": ["warn", "always"],
"spaced-comment": ["warn", "always", { line: { markers: ["/ <reference"] } }],
"import/no-cycle": "warn",
"simple-import-sort/sort": "warn",

View File

@ -26,6 +26,7 @@
"ordered-imports": false,
"prefer-const": false,
"promise-function-async": true,
"radix": false,
"typedef": [true, "call-signature"],
"variable-name": [true, "check-format", "allow-leading-underscore"]
},