0.2.0 • Published 4 years ago

@beequip/eslint-config-node-typescript v0.2.0

Weekly downloads
6
License
MIT
Repository
-
Last release
4 years ago

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