@sjkey/eslint-config-vue
v0.3.5
Published
My ESlint configuration, based on [antfu/eslint-config](https://github.com/antfu/eslint-config)
Downloads
34
Maintainers
Readme
@sjkey/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, @sjkey/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
pnpm i -D @sjkey/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 sjkeyConfig from '@sjkey/eslint-config-vue' export default sjkeyConfig()
Sometimes a reload is required in VS Code
License
This project is licensed under the MIT License.