forked from justadudewhohacks/opencv4nodejs
-
Notifications
You must be signed in to change notification settings - Fork 51
/
Copy patheslint.config.mjs
36 lines (35 loc) · 862 Bytes
/
eslint.config.mjs
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
// @ts-check
import eslint from '@eslint/js';
import tseslint from 'typescript-eslint';
export default tseslint.config(
eslint.configs.recommended,
...tseslint.configs.recommended,
{
ignores: [
"test/**/*.ts",
"**/*.js",
"types/**/*.d.ts",
"src/lib/meta.ts",
],
}
,
{"rules": {
"linebreak-style": 0,
"comma-dangle": ["error", "always-multiline"],
"no-plusplus": "off",
"import/no-unresolved": 0,
"import/extensions": 0,
"import/no-extraneous-dependencies": 0,
"no-async-promise-executor": 0,
"radix": 1,
"no-undef": 0,
"no-case-declarations": 0,
// unit tests only
// "max-len" : 0,
// "no-new" : 0,
// "no-unused-expressions": 0,
// "prefer-spread": 0,
// "@typescript-eslint/ban-ts-comment": 0,
// "@typescript-eslint/no-explicit-any": 0
}},
);