mirror of
https://gitlab.com/openstapps/openstapps.git
synced 2025-12-18 04:06:19 +00:00
9d634f2a89499ba74882c2090e3640a5b400dbee
@openstapps/eslint-config
Installation
Put this into your .eslintrc
{
"extends": "@openstapps"
}
Unfortunately, ESLint requires you to define plugins and configs
your config depends on as peerDependencies, which means they
have to be installed manually.
Use the command
npx install-peerdeps --dev @openstapps/eslint-config
Or, alternatively, add the following to your package.json:
{
"devDependencies": {
"@typescript-eslint/eslint-plugin": ">=5.15.0",
"@typescript-eslint/parser": ">=5.15.0",
"eslint": ">=8.11.0",
"eslint-config-prettier": ">=8.5.0",
"eslint-plugin-jsdoc": ">=38.0.6",
"eslint-plugin-prettier": ">=4.0.0",
"eslint-plugin-unicorn": ">=41.0.1",
"prettier": ">=2.6.0"
}
}
Description
Languages
TypeScript
85.8%
HTML
7.5%
SCSS
4%
JavaScript
1.6%
Dockerfile
0.4%
Other
0.5%