-
Notifications
You must be signed in to change notification settings - Fork 15
Expand file tree
/
Copy pathindex.js
More file actions
31 lines (30 loc) · 757 Bytes
/
index.js
File metadata and controls
31 lines (30 loc) · 757 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
import bestPractices from "./rules/best-practices.js";
import possibleErrors from "./rules/possible-errors.js";
import nodeCommonjs from "./rules/nodejs-and-commonjs.js";
import strictMode from "./rules/strict-mode.js";
import stylisticIssues from "./rules/stylistic-issues.js";
import variables from "./rules/variables.js";
import jsdoc from "./rules/jsdoc.js";
export default [
...bestPractices,
...possibleErrors,
...nodeCommonjs,
...strictMode,
...stylisticIssues,
...variables,
...jsdoc,
{
languageOptions: {
globals: {
window: "readonly",
document: "readonly",
process: "readonly",
__dirname: "readonly",
__filename: "readonly",
module: "writable",
exports: "writable",
require: "readonly"
}
}
}
];