Skip to content

Commit 9e03432

Browse files
committed
chore: update eslint-config-atomic preset
1 parent cb3f969 commit 9e03432

File tree

2 files changed

+12
-5
lines changed

2 files changed

+12
-5
lines changed

.eslintrc.json

Lines changed: 11 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,16 @@
22
"extends": ["eslint-config-atomic/strict", "plugin:chai-friendly/recommended"],
33
"ignorePatterns": ["build/", "node_modules/"],
44
"rules": {
5+
"no-eq-null": "warn",
6+
"eqeqeq": "warn",
7+
"no-empty-function": "warn",
8+
"class-methods-use-this": "warn",
9+
"default-case": "warn",
10+
"no-new": "warn",
11+
"no-shadow": "warn",
12+
"no-invalid-this": "warn",
13+
"require-await": "warn",
14+
"no-useless-constructor": "warn",
515
"@typescript-eslint/ban-types": [
616
"error",
717
{
@@ -16,7 +26,7 @@
1626
"allowArgumentsExplicitlyTypedAsAny": true
1727
}
1828
],
19-
"@typescript-eslint/no-empty-function": "off",
29+
"@typescript-eslint/no-empty-function": "warn",
2030
"@typescript-eslint/no-explicit-any": "off",
2131
"@typescript-eslint/no-unused-vars": [
2232
"error",

package.json

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -38,11 +38,8 @@
3838
"@types/mocha": "^8.2.0",
3939
"@types/node": "14.14.22",
4040
"@types/sinon": "^9.0.10",
41-
"@typescript-eslint/eslint-plugin": "^4.14.1",
42-
"@typescript-eslint/parser": "^4.14.1",
4341
"chai": "^4.2.0",
44-
"eslint": "^7.18.0",
45-
"eslint-config-atomic": "^1.12.2",
42+
"eslint-config-atomic": "^1.14.0",
4643
"eslint-plugin-chai-friendly": "^0.6.0",
4744
"mocha": "^8.2.1",
4845
"mocha-appveyor-reporter": "^0.4.2",

0 commit comments

Comments
 (0)