@handy-eco/eslint-config

1.0.1 • Public • Published

@handy-eco/eslint-config

Common eslint configuration for Handy UI Projects

Usage

Install

yarn add -D eslint prettier @handy-eco/eslint-config

Config .eslintrc

{
  "extends": "@handy-eco/eslint-config"
}

Without Prettier .eslintrc

If you do not want to use prettier, you can easily compose your own config:

{
  "extends": [
    "@handy-eco/eslint-config/ecma",
    "@handy-eco/eslint-config/typescript",
    "@handy-eco/eslint-config/json"
  ]
}

Usage with React .eslintrc

Vue Storefront React specific linting rules.

{
  "extends": [
    "@handy-eco/eslint-config",
    "@handy-eco/eslint-config/react"
  ]
}

Usage with Vue .eslintrc

Vue Storefront Vue specific linting rules.

{
  "extends": [
    "@handy-eco/eslint-config",
    "@handy-eco/eslint-config/vue"
  ]
}

Usage with Vue3 .eslintrc

Vue Storefront Vue3 specific linting rules.

{
  "extends": [
    "@handy-eco/eslint-config",
    "@handy-eco/eslint-config/vue3"
  ]
}

Used rulesets & plugins

Package Sidebar

Install

npm i @handy-eco/eslint-config

Weekly Downloads

1

Version

1.0.1

License

MIT

Unpacked Size

16.8 kB

Total Files

11

Last publish

Collaborators

  • pointer0592