Skip to content

Commit f0ab031

Browse files
committed
chore: update eslint config
1 parent b3aab5d commit f0ab031

File tree

4 files changed

+10
-22
lines changed

4 files changed

+10
-22
lines changed

.eslintrc

Lines changed: 1 addition & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,3 @@
11
{
2-
"extends": ["@apify/ts"],
3-
"overrides": [
4-
{
5-
"files": ["packages/*/src/**/*.ts"],
6-
"rules": {
7-
"no-useless-constructor": 0,
8-
"@typescript-eslint/no-useless-constructor": ["error"],
9-
"@typescript-eslint/no-non-null-assertion": 0
10-
}
11-
}
12-
]
2+
"extends": ["@apify/ts"]
133
}

package-lock.json

Lines changed: 7 additions & 8 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -50,8 +50,7 @@
5050
]
5151
},
5252
"devDependencies": {
53-
"@apify/eslint-config": "^0.1.4",
54-
"@apify/eslint-config-ts": "^0.1.1",
53+
"@apify/eslint-config-ts": "^0.1.2",
5554
"@commitlint/config-conventional": "^12.1.1",
5655
"@types/git-url-parse": "^9.0.0",
5756
"@types/jest": "^26.0.23",

test/.eslintrc

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,9 +4,9 @@
44
{
55
"files": ["**/*.ts"],
66
"rules": {
7+
"no-console": 0,
78
"no-useless-constructor": 0,
89
"import/no-extraneous-dependencies": 0,
9-
"@typescript-eslint/no-non-null-assertion": 0,
1010
"@typescript-eslint/no-empty-function": 0,
1111
"@typescript-eslint/no-explicit-any": 0,
1212
"@typescript-eslint/ban-ts-comment": 0

0 commit comments

Comments
 (0)