2020-02-17 16:42:25 -06:00
|
|
|
module.exports = {
|
|
|
|
"env": {
|
|
|
|
"es6": true,
|
|
|
|
"node": true
|
|
|
|
},
|
|
|
|
"parser": "@typescript-eslint/parser",
|
|
|
|
"parserOptions": {
|
|
|
|
"project": "tsconfig.json",
|
|
|
|
"sourceType": "module"
|
|
|
|
},
|
|
|
|
"plugins": [
|
|
|
|
"@typescript-eslint"
|
|
|
|
],
|
|
|
|
"rules": {
|
2020-02-21 04:22:45 -06:00
|
|
|
"camelcase": ["error"],
|
2020-02-17 16:42:25 -06:00
|
|
|
"@typescript-eslint/member-delimiter-style": [
|
|
|
|
"error",
|
|
|
|
{
|
|
|
|
"multiline": {
|
|
|
|
"delimiter": "semi",
|
|
|
|
"requireLast": true
|
|
|
|
},
|
|
|
|
"singleline": {
|
|
|
|
"delimiter": "semi",
|
|
|
|
"requireLast": false
|
|
|
|
}
|
|
|
|
}
|
|
|
|
],
|
|
|
|
"@typescript-eslint/semi": [
|
|
|
|
"error",
|
|
|
|
"always"
|
|
|
|
],
|
|
|
|
"prefer-const": "error"
|
|
|
|
}
|
|
|
|
};
|