24 lignes
Pas d'EOL
530 o
JSON
24 lignes
Pas d'EOL
530 o
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"sourceType": "module"
|
|
},
|
|
"rules": {
|
|
"no-const-assign": "warn",
|
|
"no-this-before-super": "warn",
|
|
"no-undef": "warn",
|
|
"no-unreachable": "warn",
|
|
"no-unused-vars": "warn",
|
|
"constructor-super": "warn",
|
|
"valid-typeof": "warn",
|
|
"indent": ["error", 2]
|
|
}
|
|
} |