-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy path.eslintrc.js
32 lines (32 loc) · 948 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
30
31
32
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['@brightlayer-ui/eslint-config/tsx'],
parserOptions: {
project: './tsconfig.json',
},
env: {
browser: true,
},
rules: {
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-unused-vars': ['error', { ignoreRestSiblings: true }],
'no-empty-function': 'off',
'@typescript-eslint/naming-convention': [
'error',
{
selector: [
'classProperty',
'objectLiteralProperty',
'typeProperty',
'classMethod',
'objectLiteralMethod',
'typeMethod',
'accessor',
'enumMember',
],
format: null,
modifiers: ['requiresQuotes'],
},
],
},
};