-
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy patheslint.config.js
More file actions
33 lines (31 loc) · 865 Bytes
/
Copy patheslint.config.js
File metadata and controls
33 lines (31 loc) · 865 Bytes
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
import nirtamir2 from "@nirtamir2/eslint-config";
export default nirtamir2(
{
type: "lib",
},
[
{
ignores: ["vendor"],
},
{
// This is a port of https://github.com/souldreamer/string-template-parser that does not support ESM
// @see https://github.com/souldreamer/string-template-parser/issues/2
ignores: ["src/string-template-parser"],
},
{
rules: {
"sonarjs/cognitive-complexity": "off",
"sonarjs/no-empty-test-file": "off",
"no-template-curly-in-string": "off",
"sonarjs/unused-import": "off",
"import-x/no-duplicates": "off",
},
},
],
).removeRules(["unicorn/no-empty-file"]);
// replace local config
// .onResolved((configs) => {
// configs.forEach((config) => {
// if (config?.plugins?.antfu) config.plugins.antfu = local;
// });
// });