45 lines
799 B
Plaintext
45 lines
799 B
Plaintext
|
{
|
||
|
"root": true,
|
||
|
|
||
|
"extends": "@ljharb/eslint-config/node/0.4",
|
||
|
|
||
|
"rules": {
|
||
|
"array-bracket-newline": 0,
|
||
|
"array-callback-return": 0,
|
||
|
"array-element-newline": 0,
|
||
|
"complexity": 0,
|
||
|
"func-style": [2, "declaration"],
|
||
|
"global-require": 1,
|
||
|
"max-lines-per-function": 0,
|
||
|
"max-statements-per-line": [1, {"max": 2}],
|
||
|
"multiline-comment-style": 0,
|
||
|
"no-proto": 0,
|
||
|
"no-sparse-arrays": 1,
|
||
|
"no-underscore-dangle": 0,
|
||
|
"no-invalid-this": 0,
|
||
|
"object-curly-newline": 0,
|
||
|
"sort-keys": 0,
|
||
|
"max-lines": "warn",
|
||
|
},
|
||
|
|
||
|
"overrides": [
|
||
|
{
|
||
|
"files": "examples/**",
|
||
|
"rules": {
|
||
|
"no-console": 0,
|
||
|
"no-plusplus": 0,
|
||
|
"no-magic-numbers": 0,
|
||
|
},
|
||
|
},
|
||
|
{
|
||
|
"files": [
|
||
|
"test/typed-array.js",
|
||
|
"test/mutability.js",
|
||
|
],
|
||
|
"globals": {
|
||
|
"Uint8Array": false
|
||
|
},
|
||
|
}
|
||
|
],
|
||
|
}
|