mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
35 lines
560 B
Text
35 lines
560 B
Text
{
|
|
"extends": [
|
|
"eslint:recommended"
|
|
],
|
|
"env": {
|
|
"node": true,
|
|
"mocha": true,
|
|
"es6": true
|
|
},
|
|
"globals": {
|
|
"jsdom": true
|
|
},
|
|
"rules": {
|
|
"valid-jsdoc": 0,
|
|
"no-redeclare": 1,
|
|
"jest/consistent-test-it": ["error", {"fn": "test"}],
|
|
"jest/no-jasmine-globals": 2,
|
|
"jest/expect-expect": [
|
|
"warn",
|
|
{
|
|
"assertFunctionNames": ["expect"]
|
|
}
|
|
],
|
|
"no-console": [
|
|
2,
|
|
{
|
|
"allow": [
|
|
"log",
|
|
"error"
|
|
]
|
|
}
|
|
],
|
|
"no-useless-escape": 0
|
|
}
|
|
}
|