Skip to content

BorysShulyak/eslint-config-base

Repository files navigation

eslint-config-base

Table of Contents

✨ Features

  • Provides a full eslint config created using the following configs and plugins:
    • eslint
    • prettier
    • eslint-config-airbnb-base
    • eslint-config-prettier
    • eslint-plugin-jest
    • eslint-plugin-jest-formatting
    • eslint-plugin-prettier
    • eslint-plugin-import
    • eslint-plugin-simple-import-sort

🦾 Installation

yarn add @borisshulyak/eslint-config-base@latest eslint@8.34.0 prettier@2.8.4 eslint-config-airbnb-base@15.0.0 eslint-config-prettier@8.6.0 eslint-plugin-jest:@27.2.1 eslint-plugin-jest-formatting@3.1.0 eslint-plugin-prettier@4.2.1 eslint-plugin-import@2.27.5 eslint-plugin-simple-import-sort@10.0.0 --dev

OR

npm install --save-dev @borisshulyak/eslint-config-base@latest eslint@8.34.0 prettier@2.8.4 eslint-config-airbnb-base@15.0.0 eslint-config-prettier@8.6.0 eslint-plugin-jest:@27.2.1 eslint-plugin-jest-formatting@3.1.0 eslint-plugin-prettier@4.2.1 eslint-plugin-import@2.27.5 eslint-plugin-simple-import-sort@10.0.0

♾️ Usage

  • Create .eslintrs.js in the root of the project.
  • Copy and paste the following code to the file:
module.exports = {
  "extends": ["@borisshulyak/eslint-config-base"]
}
  • Run eslint check:
eslint . --ext .jsx,.js --quiet
  • Run eslint autofix:
eslint . --ext .jsx,.js --fix

🛠️ Contributing

See the CONTRIBUTING.mddocument.

❤️ Support or Donate

If you are enjoying this plugin and feel extra appreciative, you could buy me a book 📖 or 3 📖📖📖.

💕 Special Thanks

  • I want to say thank you tomy wife Dianafor her love, daily support, motivation and inspiration.

About

ESLint configuration for Node.js/Vanilla JS apps

Topics

Resources

License

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published