|
@@ -0,0 +1,65 @@
|
|
|
+module.exports = {
|
|
|
+ root: true,
|
|
|
+ env: {
|
|
|
+ es6: true,
|
|
|
+ node: true
|
|
|
+ },
|
|
|
+ extends: ['plugin:vue/essential', '@vue/standard'],
|
|
|
+ rules: {
|
|
|
+ 'no-alert': 0,
|
|
|
+ 'no-console': 0,
|
|
|
+ 'no-debugger': 0,
|
|
|
+ 'prefer-const': 0,
|
|
|
+ 'no-dupe-keys': 2,
|
|
|
+ 'no-dupe-args': 2,
|
|
|
+ 'no-duplicate-imports': [
|
|
|
+ 1,
|
|
|
+ {
|
|
|
+ includeExports: true
|
|
|
+ }
|
|
|
+ ],
|
|
|
+
|
|
|
+ 'no-duplicate-case': 2,
|
|
|
+ 'padded-blocks': 0,
|
|
|
+ 'space-after-keywords': [0, 'always'],
|
|
|
+ 'space-before-blocks': [0, 'always'],
|
|
|
+ 'space-before-function-paren': [0, 'always'],
|
|
|
+ 'space-in-parens': [0, 'never'],
|
|
|
+ 'space-infix-ops': 0,
|
|
|
+ eqeqeq: 0,
|
|
|
+ 'no-var': 0,
|
|
|
+ 'no-inline-comments': 0,
|
|
|
+ indent: 0,
|
|
|
+ 'vue/script-indent': 0,
|
|
|
+ 'vue/require-prop-type-constructor': 0,
|
|
|
+ 'vue/no-use-v-if-with-v-for': 0,
|
|
|
+ 'no-trailing-spaces': 0,
|
|
|
+ 'no-multiple-empty-lines': 0,
|
|
|
+ 'no-extra-boolean-cast': 0,
|
|
|
+ 'valid-jsdoc': 0,
|
|
|
+ 'one-var': 0,
|
|
|
+ semi: 0,
|
|
|
+ 'semi-spacing': [0, { before: false, after: true }],
|
|
|
+ 'no-new': 0,
|
|
|
+ 'no-extra-semi': 0,
|
|
|
+ 'keyword-spacing': 0,
|
|
|
+ 'arrow-parens': 0,
|
|
|
+ 'generator-star-spacing': 0,
|
|
|
+ 'no-mixed-operators': 0,
|
|
|
+ 'eol-last': 0,
|
|
|
+ 'object-curly-spacing': 0,
|
|
|
+ 'no-callback-literal': 0,
|
|
|
+ 'multiline-ternary': 0
|
|
|
+ },
|
|
|
+ parserOptions: {
|
|
|
+ parser: 'babel-eslint'
|
|
|
+ },
|
|
|
+ overrides: [
|
|
|
+ {
|
|
|
+ files: ['**/__tests__/*.{j,t}s?(x)', '**/tests/unit/**/*.spec.{j,t}s?(x)'],
|
|
|
+ env: {
|
|
|
+ jest: true
|
|
|
+ }
|
|
|
+ }
|
|
|
+ ]
|
|
|
+ };
|