@intoto-dev/eslint-config-intoto

0.26.3 • Public • Published

eslint-config-intoto

Shared eslint config for Intoto projects using JavaScript / TypeScript. It's based on eslint-config-airbnb

Usage

First install the package including the package's peer dependency to our project:

npx install-peerdeps --dev @intoto-dev/eslint-config-intoto

Then we can use the config in our project by adding the following to our eslint config (most likely in .eslintrc or package.json):

{
  "extends": ["@intoto-dev/eslint-config-intoto"]  
}

React Usage

Does your project contain React? Then you can use the following to add the react plugin to your eslint config:

{
  "extends": [
    "plugin:react/recommended",
    "plugin:react-hooks/recommended",
    "@intoto-dev/eslint-config-intoto"
  ]
}

Package Sidebar

Install

npm i @intoto-dev/eslint-config-intoto

Weekly Downloads

243

Version

0.26.3

License

MIT

Unpacked Size

3.8 kB

Total Files

3

Last publish

Collaborators

  • intoto