Skip to content

BEEQUIP/eslint-config-node-typescript

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

26 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Packages

No packages published