@navinc/eslint-config-typescript
v1.4.1
Published
Nav's base ESLint+Typescript configuration
Downloads
40
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 --dev
Usage
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")
};