homebridge-automation/.eslintrc.js
2019-09-07 19:23:42 -04:00

17 lines
573 B
JavaScript

module.exports = {
parser: '@typescript-eslint/parser',
plugins: ['@typescript-eslint'],
extends: ['plugin:@typescript-eslint/recommended'],
parserOptions: {
"project": "./tsconfig.json"
},
rules: {
"@typescript-eslint/explicit-function-return-type": ["error"],
"@typescript-eslint/interface-name-prefix": ["warn", { prefixWithI: "always" }],
"@typescript-eslint/no-inferrable-types": ["warn", { ignoreParameters: true, ignoreProperties: true }],
"semi": "error"
},
env: {
"node": true
}
}