forked from jsonresume/resume-schema
-
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
39 lines (38 loc) · 980 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
34
35
36
37
38
39
/** @ts-check */
/** @type {import('eslint').Linter.Config} */
module.exports = {
root: true,
extends: [
"@anolilab/eslint-config",
],
ignorePatterns: ["!**/*"],
env: {
// Your environments (which contains several predefined global variables)
// browser: true,
node: true,
commonjs: true,
es6: true,
// mocha: true,
// jest: true,
// jquery: true
},
globals: {
// Your global variables (setting to false means it's not allowed to be reassigned)
//
// myGlobal: false
},
overrides: [
{
files: ["*.ts", "*.tsx"],
parserOptions: {
project: "./tsconfig.json",
// eslint-disable-next-line no-undef
tsconfigRootDir: __dirname,
},
},
],
rules: {
"import/no-extraneous-dependencies": "off",
"unicorn/prefer-module": "off"
}
};