Common eslint configuration for Handy UI Projects
yarn add -D eslint prettier @handy-eco/eslint-config
{
"extends": "@handy-eco/eslint-config"
}
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"
]
}
Vue Storefront React
specific linting rules.
{
"extends": [
"@handy-eco/eslint-config",
"@handy-eco/eslint-config/react"
]
}
Vue Storefront Vue
specific linting rules.
{
"extends": [
"@handy-eco/eslint-config",
"@handy-eco/eslint-config/vue"
]
}
Vue Storefront Vue3
specific linting rules.
{
"extends": [
"@handy-eco/eslint-config",
"@handy-eco/eslint-config/vue3"
]
}