1.0.1 • Published 1 month ago

@handy-eco/eslint-config v1.0.1

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

@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