Blame view

.eslintrc.json 397 Bytes
b0893113   jingsam   :art: add eslint
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
  {
      "root": true,
      "parserOptions": {
          "ecmaVersion": 6,
          "sourceType": "module"
      },
      "env": {
          "browser": true
      },
      "extends": "eslint:recommended",
      "plugins": [ "html" ],
      "rules": {
          "indent": ["error", 4, { "SwitchCase": 1 }],
          "quotes": ["error", "single"],
          "semi": ["error", "always"],
          "no-console": ["off"]
      }
  }