Skip to content

Commit b09ef78

Browse files
committed
feat: replace warnings with errors
1 parent 10fa396 commit b09ef78

File tree

4 files changed

+10
-10
lines changed

4 files changed

+10
-10
lines changed

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -241,7 +241,7 @@ Configurations:
241241
|[`@typescript-eslint/no-dynamic-delete`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-dynamic-delete.md) 🛠|🚨|👻|👻|👻|👻|
242242
|[`@typescript-eslint/no-empty-function`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-function.md)|🚨|👻|👻|👻|👻|
243243
|[`@typescript-eslint/no-empty-interface`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-empty-interface.md) 🛠|🚨|👻|👻|👻|👻|
244-
|[`@typescript-eslint/no-explicit-any`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md) 🛠|⚠️|👻|👻|👻|👻|
244+
|[`@typescript-eslint/no-explicit-any`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-explicit-any.md) 🛠|🚨|👻|👻|👻|👻|
245245
|[`@typescript-eslint/no-extra-non-null-assertion`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-non-null-assertion.md) 🛠|🚨|👻|👻|👻|👻|
246246
|[`@typescript-eslint/no-extra-parens`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-parens.md) 🛠|🚨|👻|👻|👻|👻|
247247
|[`@typescript-eslint/no-extra-semi`](https://github.com/typescript-eslint/typescript-eslint/blob/master/packages/eslint-plugin/docs/rules/no-extra-semi.md) 🛠|🚨|👻|👻|👻|👻|
@@ -729,11 +729,11 @@ Configurations:
729729
|[`lodash/prop-shorthand`](https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/prop-shorthand.md)|🚨|👻|👻|👻|👻|
730730
|[`lodash/unwrap`](https://github.com/wix/eslint-plugin-lodash/blob/master/docs/rules/unwrap.md)|🚨|👻|👻|👻|👻|
731731
|[`max-classes-per-file`](https://eslint.org/docs/rules/max-classes-per-file)||🚨|👻|👻|👻|
732-
|[`max-depth`](https://eslint.org/docs/rules/max-depth)|⚠️||👻|👻|⚠️|
733-
|[`max-len`](https://eslint.org/docs/rules/max-len)|⚠️|🚨|🚨|👻|👻|
732+
|[`max-depth`](https://eslint.org/docs/rules/max-depth)|🚨||👻|👻|⚠️|
733+
|[`max-len`](https://eslint.org/docs/rules/max-len)|🚨|🚨|🚨|👻|👻|
734734
|[`max-lines`](https://eslint.org/docs/rules/max-lines)|||👻|👻|👻|
735735
|[`max-lines-per-function`](https://eslint.org/docs/rules/max-lines-per-function)|||👻|👻|👻|
736-
|[`max-nested-callbacks`](https://eslint.org/docs/rules/max-nested-callbacks)|⚠️||👻|👻|⚠️|
736+
|[`max-nested-callbacks`](https://eslint.org/docs/rules/max-nested-callbacks)|🚨||👻|👻|⚠️|
737737
|[`max-params`](https://eslint.org/docs/rules/max-params)|||👻|👻|⚠️|
738738
|[`max-statements`](https://eslint.org/docs/rules/max-statements)|||👻|👻|👻|
739739
|[`max-statements-per-line`](https://eslint.org/docs/rules/max-statements-per-line)|🚨||👻|👻|🚨|
@@ -744,7 +744,7 @@ Configurations:
744744
|[`mocha/no-exports`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-exports.md)|🚨|👻|👻|👻|👻|
745745
|[`mocha/no-global-tests`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-global-tests.md)|🚨|👻|👻|👻|👻|
746746
|[`mocha/no-hooks`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-hooks.md)||👻|👻|👻|👻|
747-
|[`mocha/no-hooks-for-single-case`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-hooks-for-single-case.md)|⚠️|👻|👻|👻|👻|
747+
|[`mocha/no-hooks-for-single-case`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-hooks-for-single-case.md)|🚨|👻|👻|👻|👻|
748748
|[`mocha/no-identical-title`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-identical-title.md)|🚨|👻|👻|👻|👻|
749749
|[`mocha/no-mocha-arrows`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-mocha-arrows.md) 🛠||👻|👻|👻|👻|
750750
|[`mocha/no-nested-tests`](https://github.com/lo1tuma/eslint-plugin-mocha/blob/master/docs/rules/no-nested-tests.md)|🚨|👻|👻|👻|👻|

configurations/eslintrc.json

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -407,19 +407,19 @@
407407
],
408408
"max-classes-per-file": 0,
409409
"max-depth": [
410-
1,
410+
2,
411411
4
412412
],
413413
"max-len": [
414-
1,
414+
2,
415415
{
416416
"code": 160
417417
}
418418
],
419419
"max-lines": 0,
420420
"max-lines-per-function": 0,
421421
"max-nested-callbacks": [
422-
1,
422+
2,
423423
3
424424
],
425425
"max-params": 0,

configurations/mocha.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
"mocha/no-exports": 2,
1919
"mocha/no-global-tests": 2,
2020
"mocha/no-hooks": 0,
21-
"mocha/no-hooks-for-single-case": 1,
21+
"mocha/no-hooks-for-single-case": 2,
2222
"mocha/no-identical-title": 2,
2323
"mocha/no-mocha-arrows": 0,
2424
"mocha/no-nested-tests": 2,

configurations/typescript.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -129,7 +129,7 @@
129129
}
130130
],
131131
"@typescript-eslint/no-explicit-any": [
132-
1,
132+
2,
133133
{
134134
"ignoreRestArgs": true
135135
}

0 commit comments

Comments
 (0)