Skip to content

Commit 9f7fdda

Browse files
chore: move eslint config to package.json
1 parent bca1430 commit 9f7fdda

File tree

3 files changed

+19
-25
lines changed

3 files changed

+19
-25
lines changed

.eslintignore

Lines changed: 0 additions & 6 deletions
This file was deleted.

.eslintrc

Lines changed: 0 additions & 19 deletions
This file was deleted.

package.json

Lines changed: 19 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -97,5 +97,24 @@
9797
"hooks": {
9898
"commit-msg": "commitlint -E HUSKY_GIT_PARAMS"
9999
}
100+
},
101+
"eslintConfig": {
102+
"extends": [
103+
"@verdaccio"
104+
],
105+
"rules": {
106+
"@typescript-eslint/no-var-requires": 0,
107+
"@typescript-eslint/ban-ts-ignore": 0,
108+
"@typescript-eslint/no-inferrable-types": ["warn"],
109+
"@typescript-eslint/no-empty-function": ["warn"],
110+
"@typescript-eslint/no-this-alias": ["warn"],
111+
"@typescript-eslint/no-use-before-define": 0,
112+
"@typescript-eslint/array-type": ["warn"],
113+
"@typescript-eslint/no-explicit-any": 0,
114+
"@typescript-eslint/explicit-function-return-type": 0,
115+
"@typescript-eslint/interface-name-prefix": 0,
116+
"@typescript-eslint/explicit-member-accessibility": 0
117+
},
118+
"ignorePatterns": ["build/", "node_modules/"]
100119
}
101120
}

0 commit comments

Comments
 (0)