forked from OpenCircuits/OpenCircuits
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.eslintrc.cjs
30 lines (29 loc) · 915 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
const deepMerge = require("deepmerge");
module.exports = deepMerge.all([{
"root": true,
"env": {
"browser": true,
"es6": true,
},
"ignorePatterns": ["*.js", "*.cjs", "*.d.ts"],
"parser": "@typescript-eslint/parser",
"parserOptions": {
"tsconfigRootDir": __dirname,
"project": "./tsconfig.base.json",
"ecmaFeatures": {
"jsx": true,
},
},
},
require("./linting/.core.cjs"),
require("./linting/.ts.cjs"),
require("./linting/.imports.cjs"),
require("./linting/.jsdoc.cjs"),
require("./linting/.react.cjs"),
require("./linting/.jestRules.cjs"),
require("./linting/.custom.cjs"),
require("./linting/.unicorn.cjs"),
require("./linting/.sonarjs.cjs"),
require("./linting/.jsxa11y.cjs"),
require("./linting/.deprecation.cjs"),
]);