1.0.1 • Published 2 years ago
@handy-eco/eslint-config v1.0.1
@handy-eco/eslint-config
Common eslint configuration for Handy UI Projects
Usage
Install
yarn add -D eslint prettier @handy-eco/eslint-configConfig .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
1.0.1
2 years ago