forked from unraid/js-standards
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcore.js
More file actions
28 lines (27 loc) · 873 Bytes
/
Copy pathcore.js
File metadata and controls
28 lines (27 loc) · 873 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
/**
* Internal: the framework-agnostic core = ignores + quality + typescript +
* testing + tooling relaxations. NOT exported directly and deliberately does
* NOT end with prettier — each public preset appends prettier last (after any
* framework layer) so no formatting rules survive.
*/
import ignores from "./ignores.js";
import typescript from "./typescript.js";
import quality from "./quality.js";
import testing from "./testing.js";
import { TOOLING_FILES } from "./globs.js";
export default [
...ignores,
...quality,
// TypeScript must follow the JavaScript quality layer so its extension rules
// can disable overlapping core rules such as no-undef and no-unused-vars.
...typescript,
...testing,
{
files: TOOLING_FILES,
rules: {
"no-console": "off",
"max-lines": "off",
"max-lines-per-function": "off",
},
},
];