DoraCMS/.eslintrc.js
2017-11-22 08:59:57 +08:00

29 lines
524 B
JavaScript

module.exports = {
"env": {
"browser": true,
"commonjs": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"sourceType": "module"
},
"rules": {
"indent": [
"error",
"tab"
],
"linebreak-style": [
"error",
"unix"
],
"quotes": [
"warin",
"double"
],
"semi": [
"error",
"always"
]
}
};