-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.js
29 lines (29 loc) · 921 Bytes
/
.eslintrc.js
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
module.exports = {
parser: "@typescript-eslint/parser",
extends: [
"prettier/@typescript-eslint",
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:prettier/recommended"
],
plugins: ["@typescript-eslint", "prettier"],
env: {
jest: true,
es6: true,
node: true
},
rules: {
// 'dot-notation': ['error'],
// '@typescript-eslint/no-explicit-any': 0,
// '@typescript-eslint/explicit-function-return-type': 0,
// '@typescript-eslint/no-unused-vars': 'error',
// '@typescript-eslint/no-empty-function': 0,
// '@typescript-eslint/camelcase': 0,
// 'arrow-parens': ['error', 'always'],
// 'object-shorthand': ['error', 'always'],
// 'import/order': ['error', { 'newlines-between': 'always' }],
// curly: 'error',
// quotes: ['error', 'single', { avoidEscape: true }],
// 'jsx-quotes': ['error', 'prefer-double'],
}
};