1
0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-11-13 03:35:52 +01:00
verdaccio/.eslintrc

46 lines
847 B
Plaintext
Raw Normal View History

{
"plugins": [
"react",
2017-11-01 17:47:20 +01:00
"flowtype",
"jest"
],
"extends": [
"eslint:recommended",
"google",
"plugin:react/recommended",
2017-11-01 17:47:20 +01:00
"plugin:flowtype/recommended",
"plugin:jest/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 7,
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
2017-11-01 17:47:20 +01:00
"es6": true,
"jest": true
},
2018-01-28 18:28:03 +01:00
"globals": {
"__APP_VERSION__": true
},
"rules": {
"no-useless-escape": 2,
"handle-callback-err": 2,
"no-fallthrough": 2,
"no-new-require": 2,
"max-len": [2, 160],
"camelcase": 0,
2017-10-22 09:23:29 +02:00
"require-jsdoc": 0,
"valid-jsdoc": 0,
"prefer-spread": 1,
"prefer-rest-params": 1,
"quote-props":["error", "as-needed"]
}
}