@beequip/eslint-config-node-typescript
v1.0.2
Published
ESLint config for Node and TypeScript projects at Beequip
Downloads
11
Keywords
Readme
eslint-config-node-typescript
Shareable config for ESLint, used in Node.js and TypeScript projects at BEEQUIP.
Installing
Install with yarn.
yarn add --dev eslint
yarn add --dev prettier
yarn add --dev @beequip/eslint-config-node-typescript
Or npm.
npm install --save-dev eslint
npm install --save-dev prettier
npm install --save-dev @beequip/eslint-config-node-typescript
How to use
Create a new .eslintrc.json
file in the root of your project with the following content:
{
"extends": [
"@beequip/eslint-config-node-typescript"
]
}
For an optimal experience, add a Prettier override by creating a .prettierrc.json
file in the root of your project.
{
"trailingComma": "es5",
"tabWidth": 4,
"semi": false,
"singleQuote": true
}
Further reading
For more information on shareable configs for ESLint, see the docs: https://eslint.org/docs/6.0.0/developer-guide/shareable-configs