Unverified Commit 37f2c04c authored by XhmikosR's avatar XhmikosR Committed by GitHub
Browse files

Clean up lint rules (#30721)

* Remove unneeded rule suppression
* Format tests/unit/.eslintrc.json
* build/.eslintrc.json: add strict for consistency
parent 9e8d6ba3
1 merge request!31948Examples/Floating-labels: fix bad behavior with autofill
Showing with 5 additions and 3 deletions
+5 -3
...@@ -8,6 +8,7 @@ ...@@ -8,6 +8,7 @@
}, },
"extends": "../.eslintrc.json", "extends": "../.eslintrc.json",
"rules": { "rules": {
"no-console": "off" "no-console": "off",
"strict": "error"
} }
} }
...@@ -5,7 +5,9 @@ ...@@ -5,7 +5,9 @@
], ],
"overrides": [ "overrides": [
{ {
"files": ["**/*.spec.js"], "files": [
"**/*.spec.js"
],
"env": { "env": {
"jasmine": true "jasmine": true
} }
......
...@@ -33,7 +33,6 @@ ...@@ -33,7 +33,6 @@
"never" "never"
], ],
"strict": "error", "strict": "error",
"unicorn/consistent-function-scoping": "off",
"unicorn/no-for-loop": "off", "unicorn/no-for-loop": "off",
"unicorn/no-null": "off", "unicorn/no-null": "off",
"unicorn/prefer-dataset": "off", "unicorn/prefer-dataset": "off",
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment