UNPKG

638 BPlain TextView Raw
1{
2 root: true,
3 "env": {
4 "node": true,
5 "es6": true,
6 "mocha": true
7 },
8 extends: [
9 'plugin:vue/recommended',
10 '@vue/prettier',
11 'eslint:recommended',
12 'plugin:security/recommended'
13 ],
14 rules: {
15 'no-console': 'error',
16 'no-debugger': 'error',
17 'no-else-return': ['error', { allowElseIf: true }],
18 'arrow-parens': 'off',
19 'generator-star-spacing': 'off',
20 semi: 'off',
21 'prefer-const': 'error',
22 'no-var': 'error',
23 'security/detect-new-buffer': 'off',
24 'security/detect-object-injection': 'off'
25 },
26 parserOptions: {
27 parser: 'babel-eslint'
28 },
29 plugins: ['security']
30}