@hideoo/eslint-config v4.0.0
Usage
Install
$ pnpm add -D eslint @hideoo/eslint-configConfigure
Reference the configuration in your eslint.config.js file:
import hideoo from '@hideoo/eslint-config'
export default hideoo()Run
Add a script in your package.json file to run ESLint:
{
"scripts": {
"lint": "eslint . --cache --max-warnings=0"
}
}Customization
You can customize the configuration by passing an array of configuration objects to the hideoo function:
export default hideoo([{ ignores: ['**/fixtures'] }])Visual Studio Code support
After installing the ESLint extension, create a .vscode/settings.json file in your project with the following content:
{
"eslint.useFlatConfig": true,
"eslint.validate": [
"javascript",
"javascriptreact",
"typescript",
"typescriptreact",
"html",
"vue",
"markdown",
"astro"
]
}License
Licensed under the MIT License, Copyright © HiDeoo.
See LICENSE for more information.
12 months ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
2 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago
3 years ago