Fix ESLint
Some checks failed
ScriptCraft/pipeline/head There was a failure building this commit

This commit is contained in:
TheBrokenRail 2020-05-23 12:51:55 -04:00
parent 8f053b60a2
commit edd3cdeb62

View File

@ -11,7 +11,6 @@
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@typescript-eslint/recommended-requiring-type-checking"
],
@ -34,7 +33,25 @@
"no-unneeded-ternary": "error",
"block-spacing": "error",
"camelcase": "off",
"@typescript-eslint/camelcase": "error",
"@typescript-eslint/naming-convention": [
"error",
{
"selector": "default",
"format": ["camelCase"]
},
{
"selector": "variable",
"format": ["camelCase", "UPPER_CASE"]
},
{
"selector": "parameter",
"format": ["camelCase"]
},
{
"selector": "typeLike",
"format": ["PascalCase"]
}
],
"comma-dangle": ["error", "never"],
"func-call-spacing": "off",
"@typescript-eslint/func-call-spacing": ["error", "never"],