OSDN Git Service

[fix]応答ヘッダにContent-Typeを設定
[hengband/web.git] / .eslintrc.json
1 {
2     "env": {
3         "commonjs": true,
4         "browser": true,
5         "es6": true,
6         "jquery": true
7     },
8     "extends": ["eslint:recommended", "plugin:react/recommended"],
9     "parserOptions": {
10         "ecmaFeatures": {
11             "experimentalObjectRestSpread": true,
12             "jsx": true
13         },
14         "sourceType": "module"
15     },
16     "plugins": [
17         "react"
18     ],
19     "rules": {
20         "indent": [
21             "error",
22             4
23         ],
24         "linebreak-style": [
25             "error",
26             "unix"
27         ],
28         "quotes": [
29             "error",
30             "double"
31         ],
32         "semi": [
33             "error",
34             "always"
35         ]
36     }
37 }