-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.js
More file actions
29 lines (29 loc) · 833 Bytes
/
.eslintrc.js
File metadata and controls
29 lines (29 loc) · 833 Bytes
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 = {
env: {
node: true,
es2023: true,
},
extends: ['google', 'prettier', 'plugin:prettier/recommended'],
parser: '@typescript-eslint/parser',
parserOptions: {
ecmaVersion: 13,
sourceType: 'module',
project: './tsconfig.json',
},
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'max-len': ['error', 120],
'no-console': 'ignore',
'object-curly-spacing': ['error', 'always'],
'require-jsdoc': 'off',
'valid-jsdoc': 'off',
'new-cap': 'off',
'no-unused-vars': 'off',
indent: 'off',
'prettier/prettier': 'error',
'@typescript-eslint/no-unused-vars': 'warn',
'@typescript-eslint/no-floating-promises': 'error',
'comma-dangle': ['error', 'always-multiline'],
'@typescript-eslint/comma-dangle': ['error', 'always-multiline'],
},
};