You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
40 lines
890 B
40 lines
890 B
{
|
|
"env": {
|
|
"browser": true,
|
|
"commonjs": true,
|
|
"es6": true,
|
|
"node": true
|
|
},
|
|
"globals": {
|
|
"LocalFileSystem": false,
|
|
"cordova": false,
|
|
"device": false
|
|
},
|
|
"extends": "eslint:recommended",
|
|
"rules": {
|
|
"indent": [
|
|
"off",
|
|
"tab"
|
|
],
|
|
"linebreak-style": [
|
|
"error",
|
|
"unix"
|
|
],
|
|
"no-unused-vars": [
|
|
"off",
|
|
{
|
|
"vars": "all",
|
|
"args": "after-used",
|
|
"ignoreRestSiblings": false
|
|
}
|
|
],
|
|
"no-console": [
|
|
"warn",
|
|
{ "allow": [ "warn", "error" ] }
|
|
],
|
|
"no-extra-semi": [ "warn" ],
|
|
"no-redeclare": [ "warn" ],
|
|
// "no-unreachable": [ "warn" ],
|
|
"no-inner-declarations": [ "warn" ]
|
|
}
|
|
} |