Skip to content

Commit dd8cc66

Browse files
v2.0.0
1 parent da9e872 commit dd8cc66

File tree

1 file changed

+21
-0
lines changed

1 file changed

+21
-0
lines changed

.eslintrc.js

Lines changed: 21 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,21 @@
1+
module.exports = {
2+
parser: '@typescript-eslint/parser',
3+
extends: [
4+
'plugin:@typescript-eslint/recommended',
5+
'prettier/@typescript-eslint',
6+
'plugin:prettier/recommended',
7+
],
8+
parserOptions: {
9+
ecmaVersion: 2018,
10+
sourceType: 'module',
11+
},
12+
rules: {
13+
'@typescript-eslint/array-type': [
14+
'error',
15+
{ default: 'generic' }
16+
],
17+
'@typescript-eslint/camelcase': ['off'],
18+
'@typescript-eslint/no-explicit-any': ['off'],
19+
'@typescript-eslint/no-this-alias': ['off'],
20+
},
21+
}

0 commit comments

Comments
 (0)