0
Fork 0
mirror of https://github.com/verdaccio/verdaccio.git synced 2024-12-30 22:34:10 -05:00
verdaccio/.eslintrc

59 lines
1.3 KiB
Text
Raw Normal View History

{
"plugins": [
"babel",
2017-11-01 11:47:20 -05:00
"flowtype",
2018-12-03 01:18:45 -05:00
"jest",
2018-12-05 17:53:20 -05:00
"verdaccio",
"jsx-a11y"
],
"extends": [
"eslint:recommended",
"google",
2017-11-01 11:47:20 -05:00
"plugin:flowtype/recommended",
2018-08-15 15:17:41 -05:00
"plugin:jest/recommended",
2018-12-03 01:18:45 -05:00
"plugin:prettier/recommended",
2018-12-05 17:53:20 -05:00
"plugin:verdaccio/recommended",
"plugin:jsx-a11y/recommended"
],
"parser": "babel-eslint",
"parserOptions": {
"sourceType": "module",
"ecmaVersion": 7,
"ecmaFeatures": {
"impliedStrict": true,
"jsx": true
}
},
"env": {
"browser": true,
"node": true,
2017-11-01 11:47:20 -05:00
"es6": true,
"jest": true
},
2018-01-28 12:28:03 -05:00
"globals": {
"__APP_VERSION__": true
},
"rules": {
"babel/no-invalid-this": 1,
2018-08-15 15:17:41 -05:00
"prettier/prettier": ["error", null, "@prettier"],
"semi": ["error"],
"comma-dangle": ["error"],
"camelcase": 0,
"no-useless-escape": ["error"],
2018-12-05 17:53:20 -05:00
"no-invalid-this": 0,
"handle-callback-err": ["error"],
"no-fallthrough": ["error"],
"no-new-require": ["error"],
"max-len": ["error", 160],
2017-10-22 02:23:29 -05:00
"require-jsdoc": 0,
"valid-jsdoc": 0,
"prefer-spread": 1,
"prefer-rest-params": 1,
2018-06-11 15:22:45 -05:00
"linebreak-style": 0,
2019-01-06 05:03:41 -05:00
"quote-props":["error", "as-needed"],
2018-12-15 02:55:39 -05:00
"verdaccio/jsx-no-style": ["warn"],
"verdaccio/jsx-spread": ["warn"],
"jest/expect-expect": 0
}
}