htmlawed/.eslintrc.js

41 lines
763 B
JavaScript

module.exports = {
"env": {
"commonjs": true,
"es6": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaFeatures": {
"experimentalObjectRestSpread": true
}
},
"plugins": [
"no-regex-dot"
],
"rules": {
"indent": [
"error",
4
],
"linebreak-style": [
"error",
"unix"
],
"semi": [
"error",
"always"
],
"no-control-regex": [
"off"
],
"no-empty": [
"off"
],
"no-useless-escape": [
"off"
],
"no-regex-dot/no-regex-dot": [
"error"
]
}
};