-
-
Notifications
You must be signed in to change notification settings - Fork 296
Expand file tree
/
Copy patheslint.config.js
More file actions
27 lines (26 loc) · 899 Bytes
/
eslint.config.js
File metadata and controls
27 lines (26 loc) · 899 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
"use strict"
const neostandard = require("neostandard")
module.exports = [
...neostandard({
env: ["mocha"],
ignores: [
"encodings/sbcs-data-generated.js", // This a generate file
// We need work on this
"generation"
],
ts: true
}),
{
rules: {
"object-shorthand": ["off"], // Compatibility with older code
"@stylistic/quotes": [2, "double"], // Prevent many change of code
"new-cap": ["off"], // We need improve this
"no-labels": ["off"], // Can remove the labels?
eqeqeq: ["off"], // We need investigate why some conditions are not using strict equality
"@stylistic/brace-style": ["off"], // Because this rules is flaky?
"no-var": ["off"], // Compatibility with older code
"no-redeclare": ["off"], // Because we use var for compatibility with node 0.10
"comma-dangle": ["error", "never"]
}
}
]