https://github.com/mnao305/eslint-config
my eslint config
https://github.com/mnao305/eslint-config
Last synced: 2 months ago
JSON representation
my eslint config
- Host: GitHub
- URL: https://github.com/mnao305/eslint-config
- Owner: mnao305
- License: mit
- Created: 2021-03-03T02:54:36.000Z (about 4 years ago)
- Default Branch: master
- Last Pushed: 2025-02-14T19:37:11.000Z (3 months ago)
- Last Synced: 2025-02-14T20:27:16.531Z (3 months ago)
- Language: JavaScript
- Homepage: https://www.npmjs.com/package/@mnao305/eslint-config
- Size: 161 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 12
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE
Awesome Lists containing this project
README
# eslint-config
my eslint config
`eslint:recommended`をベースにルール設定しています。
## install
```sh
npm install -D @mnao305/eslint-config
```## Usage
Add `.eslintrc.json` to your project.
### JavaScript project
```json
{
"extends": "@mnao305"
}
```### TypeScript project
```json
{
"extends": "@mnao305/eslint-config/presets/typescript"
}
```### Vue project
Applying rules for Vue3
```json
{
"extends": "@mnao305/eslint-config/presets/vue"
}
```### Vue + TypeScript project
```json
{
"extends": "@mnao305/eslint-config/presets/vue-typescript"
}
```## version policie
- Major update
- Changes that can cause new errors
- Minor update
- Changes that can cause new warnings
- Patch version
- Changes that do not generate new errors or warnings