Blame view

3rdparty/opencv-4.5.4/doc/js_tutorials/js_assets/.eslintrc.json 640 Bytes
f4334277   Hu Chunming   提交3rdparty
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
  {
    "extends": "google",
    "parserOptions": {
      "ecmaVersion": 6
    },
    "rules": {
      "max-len": ["error", 100, {"ignoreUrls": true}],
      "quotes": ["error", "single"],
      "indent": ["error", 4, {"ArrayExpression": "first",
                              "ObjectExpression": "first",
                              "CallExpression": {"arguments": "first"},
                              "SwitchCase": 1}],
      "require-jsdoc": "off",
      "new-cap": "off"
    },
    "plugins": ["html"],
    "settings": {
      "html/javascript-mime-types": ["text/javascript", "text/code-snippet"],
      "html/indent": "0",
      "html/report-bad-indent": "error"
    }
  }