mirror of
https://github.com/getrebuild/rebuild.git
synced 2025-02-25 23:05:06 +08:00
36 lines
No EOL
779 B
JSON
36 lines
No EOL
779 B
JSON
{
|
|
"env": {
|
|
"browser": true,
|
|
"es6": true,
|
|
"jquery": true
|
|
},
|
|
"extends": ["eslint:recommended"],
|
|
"parserOptions": {
|
|
"ecmaFeatures": {
|
|
"jsx": true
|
|
},
|
|
"ecmaVersion": 2018
|
|
},
|
|
"globals": {
|
|
"$setTimeout": true,
|
|
"$random": true,
|
|
"$regex": true,
|
|
"$storage": true,
|
|
"$val": true,
|
|
"$urlp": true,
|
|
"$encode": true,
|
|
"$decode": true,
|
|
"rb": true,
|
|
"renderRbcomp": true,
|
|
"React": true,
|
|
"ReactDOM": true
|
|
},
|
|
"plugins": ["react"],
|
|
"rules": {
|
|
"indent": [1, 2],
|
|
"linebreak-style": [1, "unix"],
|
|
"quotes": [1, "single"],
|
|
"semi": [1, "never"],
|
|
"eqeqeq": [2, "always"]
|
|
}
|
|
} |