You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
76 lines
1022 B
76 lines
1022 B
{
|
|
"root": true,
|
|
|
|
"extends": "@ljharb",
|
|
|
|
"rules": {
|
|
"func-style": "off",
|
|
"no-magic-numbers": "off",
|
|
},
|
|
|
|
"overrides": [
|
|
{
|
|
"files": "bin.js",
|
|
"extends": "@ljharb/eslint-config/node/0.4",
|
|
"rules": {
|
|
"func-style": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": [
|
|
"hash.js",
|
|
"sha.js",
|
|
"sha1.js",
|
|
"sha224.js",
|
|
"sha256.js",
|
|
"sha384.js",
|
|
"sha512.js",
|
|
"test/vectors.js",
|
|
],
|
|
"rules": {
|
|
"no-underscore-dangle": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": [
|
|
"sha.js",
|
|
"sha1.js",
|
|
"sha224.js",
|
|
],
|
|
"rules": {
|
|
"max-params": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": [
|
|
"sha256.js",
|
|
"sha512.js",
|
|
],
|
|
"rules": {
|
|
"max-statements": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": [
|
|
"sha512.js",
|
|
],
|
|
"rules": {
|
|
"new-cap": "warn",
|
|
"max-lines": "off",
|
|
"max-lines-per-function": "off",
|
|
},
|
|
},
|
|
{
|
|
"files": "hash.js",
|
|
"globals": {
|
|
"Uint8Array": false,
|
|
},
|
|
},
|
|
{
|
|
"files": "test/test.js",
|
|
"globals": {
|
|
"Uint16Array": false,
|
|
},
|
|
},
|
|
],
|
|
}
|
|
|