Blame view

.eslintrc.json 561 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
          "browser": true,
5380e8c5   Graham Fairweather   Fix: CommonJS glo...
12
          "commonjs": true,
be01f0b4   Sergio Crisostomo   New component: Sc...
13
          "es6": true
b0893113   jingsam   :art: add eslint
14
15
      },
      "extends": "eslint:recommended",
0df878a8   Sergio Crisostomo   Add Object rest s...
16
      "plugins": ["vue"],
b0893113   jingsam   :art: add eslint
17
18
19
20
      "rules": {
          "indent": ["error", 4, { "SwitchCase": 1 }],
          "quotes": ["error", "single"],
          "semi": ["error", "always"],
0df878a8   Sergio Crisostomo   Add Object rest s...
21
          "vue/jsx-uses-vars": 2,
2d948738   梁灏   update TimePicker...
22
          "no-console": ["error"]
b0893113   jingsam   :art: add eslint
23
24
      }
  }