mirror of
https://github.com/verdaccio/verdaccio.git
synced 2024-12-16 21:56:25 -05:00
c3c62021e5
* chore: remove ui * chore: remove size step * chore: update theme plugin * chore: update lock file * Update main.workflow * chore: update js-yaml dep * chore: @verdaccio/ui-theme@0.0.4 * feat: allows theme as a plugin * chore: update package description
58 lines
1.3 KiB
Text
58 lines
1.3 KiB
Text
{
|
|
"plugins": [
|
|
"babel",
|
|
"flowtype",
|
|
"jest",
|
|
"verdaccio",
|
|
"jsx-a11y"
|
|
],
|
|
"extends": [
|
|
"eslint:recommended",
|
|
"google",
|
|
"plugin:flowtype/recommended",
|
|
"plugin:jest/recommended",
|
|
"plugin:prettier/recommended",
|
|
"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,
|
|
"es6": true,
|
|
"jest": true
|
|
},
|
|
"globals": {
|
|
"__APP_VERSION__": true
|
|
},
|
|
"rules": {
|
|
"babel/no-invalid-this": 1,
|
|
"prettier/prettier": ["error", null, "@prettier"],
|
|
"semi": ["error"],
|
|
"comma-dangle": ["error"],
|
|
"camelcase": 0,
|
|
"no-useless-escape": ["error"],
|
|
"no-invalid-this": 0,
|
|
"handle-callback-err": ["error"],
|
|
"no-fallthrough": ["error"],
|
|
"no-new-require": ["error"],
|
|
"max-len": ["error", 160],
|
|
"require-jsdoc": 0,
|
|
"valid-jsdoc": 0,
|
|
"prefer-spread": 1,
|
|
"prefer-rest-params": 1,
|
|
"linebreak-style": 0,
|
|
"quote-props":["error", "as-needed"],
|
|
"verdaccio/jsx-no-style": ["warn"],
|
|
"verdaccio/jsx-spread": ["warn"],
|
|
"jest/expect-expect": 0
|
|
}
|
|
}
|