Skip to content
Snippets Groups Projects
Commit 2da515ef authored by Pregmodder's avatar Pregmodder
Browse files

Merge branch 'eslintrc' into 'pregmod-master'

Eslintrc updates

See merge request pregmodfan/fc-pregmod!8064
parents f01167b1 316b3ee3
No related branches found
No related tags found
1 merge request!8064Eslintrc updates
...@@ -44,7 +44,6 @@ ...@@ -44,7 +44,6 @@
"block-spacing": ["warn", "always"], "block-spacing": ["warn", "always"],
"curly": ["warn", "all"], "curly": ["warn", "all"],
"eqeqeq": ["warn", "smart"], "eqeqeq": ["warn", "smart"],
"no-fallthrough": "error",
"space-before-function-paren": ["warn", { "space-before-function-paren": ["warn", {
"anonymous": "never", "anonymous": "never",
"named": "never", "named": "never",
...@@ -94,6 +93,7 @@ ...@@ -94,6 +93,7 @@
} }
], ],
"no-sequences": "warn", "no-sequences": "warn",
"no-unreachable-loop": "warn",
"jsdoc/check-alignment": 1, "jsdoc/check-alignment": 1,
"jsdoc/check-examples": 0, // interferes with SugarCube examples "jsdoc/check-examples": 0, // interferes with SugarCube examples
"jsdoc/check-indentation": 0, "jsdoc/check-indentation": 0,
...@@ -123,6 +123,9 @@ ...@@ -123,6 +123,9 @@
"sonarjs/no-identical-conditions": "error", "sonarjs/no-identical-conditions": "error",
"sonarjs/no-identical-expressions": "error", "sonarjs/no-identical-expressions": "error",
"sonarjs/no-one-iteration-loop": "error", "sonarjs/no-one-iteration-loop": "error",
"sonarjs/no-use-of-empty-return-value": "error" "sonarjs/no-use-of-empty-return-value": "error",
"sonarjs/no-collection-size-mischeck": "warn",
"sonarjs/no-same-line-conditional": "info",
"sonarjs/no-unused-collection": "warn"
} }
} }
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment