Skip to content

tokarls/eslint-config-unicorn

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

eslint-config-unicorn

Install

yarn add --dev eslint eslint-config-unicorn eslint-plugin-node eslint-plugin-react eslint-plugin-prettier
yarn add --dev --exact prettier

Use

Add to package.json:

{
  "scripts": {
    "lint": "eslint ."
  },
  "eslintConfig": {
    "extends": "unicorn"
  }
}

With this configuration you can run eslint using yarn lint and autofix code style using yarn lint -- --fix.

You should also add all your build artifacts to the .eslintignore file in the project root.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • JavaScript 100.0%