Closed lantw44 closed 3 years ago
fixed, the template uses async imports and eslint doesn't support it, i updated the readme with the required configuration too
module.exports = {
plugins: ["neverthrow"],
rules: {
"neverthrow/must-use-result": "error"
},
parser: '@typescript-eslint/parser',
parserOptions: {
project: ["./tsconfig.json"],
tsconfigRootDir: __dirname
}
}
I upgraded eslint-plugin-neverthrow to 1.1.0, but it still couldn't run.
Installed ESLint packages: