summaryrefslogtreecommitdiff
path: root/.eslintrc.js
blob: 0f0c91e1aaa441f62c23742b5f2da1af35209ef8 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
module.exports = {
  root: true,

  env: {
    browser: true,
  },

  parser: 'vue-eslint-parser',
  parserOptions: {
    parser: '@babel/eslint-parser',
    requireConfigFile: false,
  },

  extends: [
    'eslint-config-semistandard',
    'plugin:vue/recommended',
  ],

  plugins: [],

  rules: {
    'comma-dangle': ['error', 'always-multiline'],

    'vue/max-attributes-per-line': [1, { singleline: { max: 4 } }],
  },
};