Skip to content

digabi/eslint-config

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config

Shared ESLint config for the digabi project.

How to add to a new project?

Add the required dependencies:

$ npm install --save-dev @digabi/eslint-config @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint eslint-config-prettier eslint-plugin-import eslint-plugin-prettier

If you're using React, add

$ npm install --save-dev eslint-plugin-react

If you're using Mocha, add

$ npm install --save-dev eslint-plugin-mocha

If you're using Jest, add

$ npm install --save-dev eslint-plugin-jest

Finally, add or modify .eslintrc.json in the project root.

{
  "extends": "@digabi/eslint-config"
}

About

Shared ESLint config for the digabi project

Resources

Stars

Watchers

Forks

Packages

No packages published