1.9.81 • Published 1 year ago
@jakubserwin/eslint-config-vue v1.9.81
@jakubserwin/eslint-config-vue
My ESlint configuration, based on antfu/eslint-config
This package is designed for Nuxt and Vue projects using the new ESLint Flat config
It provides a custom ESLint configuration, @jakubserwin/eslint-config-vue
, to help you maintain consistent code style and enforce best practices in your projects including:
- TypeScript
- Vue
- Tailwind
- Prettier
- Sorted imports
- Unicorn
- Yaml
- and more ...
Installation
# Using pnpm
pnpm i -D @jakubserwin/eslint-config-vue
# Using npm
npm i -D @jakubserwin/eslint-config-vue
# Using yarn
yarn add -D @jakubserwin/eslint-config-vue
Configuration
- Create a
eslint.config.ts
file in the root directory. Open the
eslint.config.ts
file and add the following code:import jsConfig from '@jakubserwin/eslint-config-vue' export default jsConfig()
Sometimes a reload is required in VS Code
VS Code Support
// .vscode/settings.json
{
// Enable ESLint flat config support
"eslint.experimental.useFlatConfig": true
}
License
This project is licensed under the MIT License.
1.9.81
1 year ago
1.9.8
1 year ago
1.9.7
1 year ago
1.9.6
1 year ago
1.9.5
1 year ago
1.9.4
1 year ago
1.9.3
1 year ago
1.9.1
1 year ago
1.9.0
1 year ago
1.9.2
1 year ago
1.1.1
1 year ago
1.1.0
1 year ago
1.0.2
2 years ago
1.0.6
2 years ago
1.0.4
2 years ago
1.0.3
2 years ago
1.0.1
2 years ago
1.0.0
2 years ago
0.0.9
2 years ago
0.0.7
2 years ago
0.0.6
2 years ago
0.0.5
2 years ago
0.0.4
2 years ago
0.0.3
2 years ago
0.0.2
2 years ago