Open Grenadator opened 4 years ago
I'm on this! :^) Waiting for project dependencies to be upgraded (keeping an eye on PR #51) to install the latest versions of ESLint and its TypeScript packages.
I propose the following config, based on the current .tslint.json
:
.eslintrc.json
{
"env": {
"node": true
},
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended"
],
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"rules": {
"arrow-parens": ["warning", "as-needed"],
"comma-dangle": ["warning", "always"],
"no-console": ["error", { "allow": ["warn", "error"] }],
"quotes": ["warning", "single"]
}
}
Looks fine to me
Worst case scenario we will update it if we need
The linter should be moved to Typescript-eslint as TSLint will become deprecated this year: https://github.com/typescript-eslint/typescript-eslint