cordova-sync
Version:
Respond to file changes and build Cordova application
22 lines (21 loc) • 477 B
JavaScript
module.exports = {
"env": {
"es6": true,
"node": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"no-console": [
process.env.NODE_ENV === "prod" ? "error" : "off",
{ "allow": ["info"] }
],
"indent": ["error",2,{"SwitchCase": 1}],
"linebreak-style": ["error","unix"],
"eol-last": ["error", "always"],
"semi": ["error", "never"],
"quotes": ["error", "single"]
}
}