generated from actions/typescript-action
-
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy path.eslintrc.cjs
33 lines (32 loc) · 871 Bytes
/
.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
module.exports = {
root: true,
extends: ["@anolilab/eslint-config"],
parserOptions: {
project: "./tsconfig.json",
tsconfigRootDir: __dirname,
},
env: {
// Your environments (which contains several predefined global variables)
browser: false,
node: false,
commonjs: true,
es6: true,
// mocha: true,
jest: true,
"jest/globals": true
// jquery: true
},
globals: {
// Your global variables (setting to false means it's not allowed to be reassigned)
//
// myGlobal: false
},
rules: {
// Customize your rules
"import/extensions": "off",
"unicorn/no-array-for-each": "off",
"unicorn/no-null": "off",
"unicorn/no-array-reduce": "off",
"max-len": ["error", { code: 160 }],
},
};