forked from spatialillusions/milsymbol
-
Notifications
You must be signed in to change notification settings - Fork 0
/
eslint.config.js
44 lines (43 loc) · 985 Bytes
/
eslint.config.js
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
37
38
39
40
41
42
43
44
// eslint.config.js
export default [
{
rules: {
semi: "error",
"prefer-const": "error",
},
languageOptions: {
ecmaVersion: 6,
sourceType: "module",
},
plugins: {
prettier: {
"prettier/prettier": "error",
//"linebreak-style": ["error", "windows"],
"no-console": ["error", { allow: ["info", "warn", "error"] }],
"no-unused-vars": ["error", { vars: "all", args: "none" }],
semi: ["error", "always"],
},
},
},
];
/*
module.exports = {
//extends: "eslint:recommended",
//env: {
// browser: true
//commonjs: true
//},
parserOptions: {
ecmaVersion: 6,
sourceType: "module"
},
plugins: ["prettier"],
rules: {
"prettier/prettier": "error",
//"linebreak-style": ["error", "windows"],
"no-console": ["error", { allow: ["info", "warn", "error"] }],
"no-unused-vars": ["error", { vars: "all", args: "none" }],
semi: ["error", "always"]
}
};
*/