-
Notifications
You must be signed in to change notification settings - Fork 76
/
.eslintrc.js
34 lines (34 loc) · 979 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
33
34
module.exports = {
root: true,
extends: 'standard',
env: {
node: true,
es6: true
},
globals: {
ContractError: 'readonly',
ContractAssert: 'readonly',
SmartWeave: 'readonly',
BigNumber: 'readonly'
},
overrides: [{
files: ['src/**/*.ts'],
parser: '@typescript-eslint/parser',
parserOptions: {
project: './tsconfig.json'
},
extends: 'standard-with-typescript',
rules: {
'@typescript-eslint/promise-function-async': 0,
'@typescript-eslint/restrict-template-expressions': 0,
'@typescript-eslint/strict-boolean-expressions': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/prefer-optional-chain': 0,
'no-prototype-builtins': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/restrict-plus-operands': 0,
'@typescript-eslint/prefer-nullish-coalescing': 0,
'@typescript-eslint/no-non-null-assertion': 0
}
}]
}