mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-23 22:27:34 -05:00
48 lines
939 B
Text
48 lines
939 B
Text
{
|
|
"plugins": [
|
|
"react",
|
|
"flowtype",
|
|
"jest"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"google",
|
|
"plugin:react/recommended",
|
|
"plugin:flowtype/recommended",
|
|
"plugin:jest/recommended"
|
|
],
|
|
"parser": "babel-eslint",
|
|
"parserOptions": {
|
|
"sourceType": "module",
|
|
"ecmaVersion": 7,
|
|
"ecmaFeatures": {
|
|
"impliedStrict": true,
|
|
"jsx": true
|
|
}
|
|
},
|
|
"env": {
|
|
"browser": true,
|
|
"node": true,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"globals": {
|
|
"__APP_VERSION__": true
|
|
},
|
|
"rules": {
|
|
"no-useless-escape": 2,
|
|
"react/no-deprecated": 1,
|
|
"react/jsx-no-target-blank": 1,
|
|
"handle-callback-err": 2,
|
|
"no-fallthrough": 2,
|
|
"no-new-require": 2,
|
|
"max-len": [2, 160],
|
|
"camelcase": 0,
|
|
"require-jsdoc": 0,
|
|
"valid-jsdoc": 0,
|
|
"prefer-spread": 1,
|
|
"prefer-rest-params": 1,
|
|
"linebreak-style": 0,
|
|
"quote-props":["error", "as-needed"]
|
|
}
|
|
}
|