0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-16 21:56:25 -05:00
verdaccio/test/.eslintrc
Juan Picado @jotadeveloper 4c88d2371c
chore: add new style rules
2018-12-03 07:18:45 +01:00

35 lines
561 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": [
"error",
{
"assertFunctionNames": ["expect"]
}
],
"no-console": [
2,
{
"allow": [
"log",
"error"
]
}
],
"no-useless-escape": 0
}
}