Blame view

.eslintrc.json 535 Bytes
b0893113   jingsam   :art: add eslint
1
2
3
  {
      "root": true,
      "parserOptions": {
0df878a8   Sergio Crisostomo   Add Object rest s...
4
5
6
          "ecmaFeatures": {
              "experimentalObjectRestSpread": true
          },
b0893113   jingsam   :art: add eslint
7
8
9
10
          "ecmaVersion": 6,
          "sourceType": "module"
      },
      "env": {
be01f0b4   Sergio Crisostomo   New component: Sc...
11
12
          "browser": true,
          "es6": true
b0893113   jingsam   :art: add eslint
13
14
      },
      "extends": "eslint:recommended",
0df878a8   Sergio Crisostomo   Add Object rest s...
15
      "plugins": ["vue"],
b0893113   jingsam   :art: add eslint
16
17
18
19
      "rules": {
          "indent": ["error", 4, { "SwitchCase": 1 }],
          "quotes": ["error", "single"],
          "semi": ["error", "always"],
0df878a8   Sergio Crisostomo   Add Object rest s...
20
          "vue/jsx-uses-vars": 2,
2d948738   梁灏   update TimePicker...
21
          "no-console": ["error"]
b0893113   jingsam   :art: add eslint
22
23
      }
  }