1.4.0 • Published 1 year ago

@alquipo/eslint-config v1.4.0

Weekly downloads
-
License
MIT
Repository
github
Last release
1 year ago

Whats included?

  • Standard config base;
  • React plugin;
  • React Hooks plugin;
  • JSX a11y plugin;
  • Prettier;
  • Import plugin
  • Import Helpers plugin
  • Storybook plugin
  • Next plugin

Install

First, install it:

$ npm install --save-dev eslint @alquipo/eslint-config 

or

$ yarn add -D eslint @alquipo/eslint-config 

Usage

Add @alquipo/eslint-config to the extends section of your .eslintrc or package.json file.

React Project
{
  "extends": "@alquipo/eslint-config/react"
}

or

{
   "scripts": {
      "lint": "eslint"
  },
  "devDependencies": {
    "eslint": "^8.25.0",
    "@alquipo/eslint-config": "^1.0.1"
  },
  "eslintConfig": {
    "extends": "@alquipo/eslint-config/react"
  },
}
Next Project
{
  "extends": "@alquipo/eslint-config/next"
}

or

{
   "scripts": {
      "lint": "next lint"
  },
  "devDependencies": {
    "eslint": "^8.25.0",
    "@alquipo/eslint-config": "^1.0.1"
  },
  "eslintConfig": {
    "extends": "@alquipo/eslint-config/next"
  },
}

🤔 How to contribute to the project

  • Make a fork;
  • Create a new branch with your changes: git checkout -b my-feature
  • Save the changes and create a commit message telling what you've done:git commit -m "feature: My new feature"
  • Submit your changes: git push origin my-feature

If you have any questions, check out this guide on how to contribute on GitHub

📝 License

This project is MIT Licensed.

Made with ❤️ by Alquipo Neto 👋🏽 Contact!