forked from rodrigoerazo42/alephium-js
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
39 lines (39 loc) · 1.06 KB
/
.eslintrc.cjs
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
33
34
35
36
37
38
39
module.exports = {
parser: '@typescript-eslint/parser',
extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended', 'prettier', 'plugin:prettier/recommended'],
plugins: ['@typescript-eslint', 'prettier'],
rules: {
'@typescript-eslint/explicit-function-return-type': 'off',
'@typescript-eslint/explicit-module-boundary-types': 'off',
'no-use-before-define': 'off',
'@typescript-eslint/no-use-before-define': 'off',
'@typescript-eslint/no-var-requires': 'off',
quotes: [1, 'single', { avoidEscape: true }],
'jsx-quotes': [2, 'prefer-double'],
'@typescript-eslint/member-delimiter-style': [
'error',
{
multiline: {
delimiter: 'none', // 'none' or 'semi' or 'comma'
requireLast: true
},
singleline: {
delimiter: 'semi', // 'semi' or 'comma'
requireLast: false
}
}
]
},
env: {
browser: true,
node: true,
jasmine: true,
jest: true
},
settings: {
react: {
pragma: 'React',
version: 'detect'
}
}
}