forked from amzn/style-dictionary
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy patheslint.config.js
58 lines (54 loc) · 1.19 KB
/
eslint.config.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
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
import antfu from '@antfu/eslint-config'
export default await antfu(
{
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
},
languageOptions: {
globals: {
Buffer: true,
escape: true,
},
parserOptions: {
ecmaVersion: 6,
sourceType: 'module',
},
},
env: {
node: true,
mocha: true,
jest: true,
},
ignores: [
'dist',
'node_modules',
'*.md',
'package.json',
],
},
{
rules: {
'no-console': 0,
'no-unused-vars': 1,
'no-control-regex': 0,
'comma-dangle': 0,
'no-prototype-builtins': 0,
'node/no-path-concat': 0,
'node/prefer-global/process': 0,
'node/prefer-global/buffer': 0,
'ts/no-invalid-this': 0,
'jsdoc/check-param-names': 0,
'jsdoc/require-returns-description': 0,
'jsdoc/require-returns-check': 0,
'ts/no-this-alias': 0,
'@typescript-eslint/no-this-alias': 0,
'jsdoc/require-property-description': 0,
'jsdoc/require-property-name': 0,
'ts/no-redeclare': 0,
'vars-on-top': 0,
'no-var': 0,
'@typescript-eslint/no-this-alias': 0,
},
},
)