forked from pubnub/javascript
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.eslintrc.cjs
More file actions
24 lines (24 loc) · 764 Bytes
/
Copy path.eslintrc.cjs
File metadata and controls
24 lines (24 loc) · 764 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
module.exports = {
root: true,
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint', 'mocha', 'prettier'],
extends: ['plugin:@typescript-eslint/recommended'],
rules: {
'prettier/prettier': 'error',
'no-underscore-dangle': 0,
'no-param-reassign': 0,
'max-len': ['error', { code: 120, tabWidth: 2 }],
'no-restricted-globals': 0,
'consistent-return': 0,
'object-curly-newline': 0,
'no-restricted-exports': 0,
'operator-linebreak': 0,
'implicit-arrow-linebreak': 0,
'class-methods-use-this': 0,
'no-prototype-builtins': 1,
'prefer-destructuring': 0,
'no-unused-vars': 0,
'@typescript-eslint/no-unused-vars': 0,
'@typescript-eslint/explicit-module-boundary-types': 'off',
},
};