@shinlms404/eslint-config v1.0.1
@shinlms404/eslint-config
Tip: For an enhanced development experience, it's recommended to use this package with @shinlms404/prettier-config. Check out the prettier-config repository for more details.
Description
This is a custom ESLint configuration preset designed by Charlie Chan. It provides a set of rules and configurations for ESLint to ensure consistent code quality.
Installation
npm install --save-dev @shinlms404/eslint-config
Usage
To use this ESLint configuration, add the following to your project's eslint.config.js
file:
import eslintConfigs from '@shinlms404/eslint-config'
export default eslintConfigs()
Configuration
This ESLint configuration includes the following plugins and dependencies:
- @typescript-eslint/eslint-plugin
- @typescript-eslint/parser
- eslint-config-prettier
- eslint-plugin-eslint-comments
- eslint-plugin-jsonc
- eslint-plugin-prettier
- eslint-plugin-sort-keys
- eslint-plugin-unicorn
- eslint-plugin-unused-imports
- eslint-plugin-vue
- eslint-processor-vue-blocks
- jsonc-eslint-parser
- vue-eslint-parser
Scripts
npm run build
: Build project for ESM/CJS formats with type definitionsnpm run lint
: Run ESLint to lint your codenpm run lint:fix
: Automatically fix fixable ESLint issuesnpm run prepack
: Auto-run build before packaging (npm lifecycle hook)npm run prepare
: Setup git hooks with simple-git-hooksnpm run release
: Bump version and publish to npmnpm run stub
: Quick build without cleanup/type definitionsnpm test
: Run tests with Vitestnpm run typecheck
: Run TypeScript type checkingnpm run watch
: Watch files and rebuild on changes
Contributing
Feel free to open issues and pull requests.
License
This project is licensed under the MIT License.
Links
Fork by
Adjust the sections and content based on your specific needs and preferences.
4 months ago
4 months ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago
1 year ago