@navinc/eslint-config-typescript
v1.5.0
Published
Nav's base ESLint+Typescript configuration
Maintainers
Keywords
Readme
@navinc/eslint-config-typescript
Nav's home for common ESLint+Prettier+Typescript configurations.
Getting Started
Install the package and all peer dependencies using the following command:
npx install-peerdeps @navinc/eslint-config-typescript --devUsage
Add the following to your .eslintrc file:
{
...
"extends": "@navinc/eslint-config-typescript",
"parserOptions": {
"project": "./tsconfig.json"
}
...
}Create a .prettierrc.js file with the following:
module.exports = {
...require("@navinc/eslint-config-typescript/prettier.js")
};