1 | module.exports = {
|
2 | extends: ["eslint:recommended"],
|
3 | env: {
|
4 | node: true,
|
5 | es6: true,
|
6 | },
|
7 | parserOptions: {
|
8 | ecmaVersion: 2018,
|
9 | sourceType: "module",
|
10 | },
|
11 | rules: {
|
12 | "no-alert": "error",
|
13 | "no-multiple-empty-lines": [
|
14 | "error",
|
15 | {
|
16 | max: 1,
|
17 | maxEOF: 1,
|
18 | maxBOF: 0,
|
19 | },
|
20 | ],
|
21 | semi: ["error", "always"],
|
22 | },
|
23 | globals: {
|
24 | globalThis: true,
|
25 | },
|
26 | ignorePatterns: ["node_modules/"],
|
27 | };
|