Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/tjw-lint/eslint-config-tjw-vue
The Jared Wilcurt's Vue.js ESLint rules
https://github.com/tjw-lint/eslint-config-tjw-vue
eslint rules ruleset tjw vue
Last synced: 9 days ago
JSON representation
The Jared Wilcurt's Vue.js ESLint rules
- Host: GitHub
- URL: https://github.com/tjw-lint/eslint-config-tjw-vue
- Owner: tjw-lint
- License: mit
- Created: 2019-09-23T14:43:57.000Z (about 5 years ago)
- Default Branch: main
- Last Pushed: 2024-09-29T04:20:43.000Z (about 2 months ago)
- Last Synced: 2024-10-13T16:59:28.323Z (about 1 month ago)
- Topics: eslint, rules, ruleset, tjw, vue
- Language: JavaScript
- Size: 158 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
- Code of conduct: CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# eslint-config-tjw-vue
The Jared Wilcurt's Premium Vue.js ESLint rules
## Using this
This assumes you have ESLint 9+ already set up, if not, refer to [this guide](https://github.com/tjw-lint/eslint-config-tjw-base).
1. `npm install --save-dev eslint-plugin-vue eslint-config-tjw-vue`
1. In your `eslint.config.js`:
```js
import tjwVue from 'eslint-config-tjw-vue';
import pluginVue from 'eslint-plugin-vue';const vue2Recommended = pluginVue.configs['flat/vue2-recommended'];
const vue3Recommended = pluginVue.configs['flat/recommended'];export default [
// Generic rulesets first, such as:// js.configs.recommended,
// tjwBase,// Then pick either Vue 2 or Vue 3 from above and spread it
...vue3Recommended,
tjwVue,// Then project specific settings
{
}
];
```* * *
**See also:**
* [eslint-config-tjw-base](https://github.com/tjw-lint/eslint-config-tjw-base)
* [eslint-config-tjw-import](https://github.com/tjw-lint/eslint-config-tjw-import)
* [eslint-config-tjw-jest](https://github.com/tjw-lint/eslint-config-tjw-jest)
* [eslint-config-tjw-jsdoc](https://github.com/tjw-lint/eslint-config-tjw-jsdoc)
* [eslint-config-tjw-vue](https://github.com/tjw-lint/eslint-config-tjw-vue)