@beequip/eslint-config-node-typescript

ESLint config for Node.js/Typescript projects at Beequip

Usage no npm install needed!

<script type="module">
  import beequipEslintConfigNodeTypescript from 'https://cdn.skypack.dev/@beequip/eslint-config-node-typescript';
</script>

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