This package provides Zhap's ESLint and Pretter extensible shared config
There are 3 configs:
- @chinaza/eslint-config/express - This enables linting for NodeJS/ Express based applications
- @chinaza/eslint-config/react - This enables linting rules for React and JSX based code
- @chinaza/eslint-config/solid - This enables linting rules for Solid and JSX based code
npm install -D @chinaza/eslint-config
{
"eslintConfig": {
"extends": [
"@chinaza/eslint-config/express|react|solid"
]
}
}
{
"extends": "@chinaza/eslint-config/express|react|solid"
}
{
"prettier": "@chinaza/eslint-config/prettier"
}