0.0.3-beta.3 • Published 4 years ago
eslint-plugin-vue3-jsx v0.0.3-beta.3
eslint-plugin-vue3-jsx
Eslint plugin for vue3-jsx
Installation
You'll first need to install ESLint:
$ npm i eslint --save-devNext, install eslint-plugin-vue3-jsx:
$ npm install eslint-plugin-vue3-jsx --save-devUsage
Add vue3-jsx to the plugins section of your .eslintrc configuration file. You can omit the eslint-plugin- prefix:
{
"plugins": ["vue3-jsx"]
}Then configure the rules you want to use under the rules section.
{
"rules": {
"vue3-jsx/no-getCurrentInstance": 2,
"vue3-jsx/prefer-effect": 2,
"vue3-jsx/no-this-in-setup": 2,
"vue3-jsx/prefer-render-in-setup": 2,
"vue3-jsx/component-name": 2,
"vue3-jsx/no-directives": 2,
"vue3-jsx/no-reactivity-in-render": 2,
"vue3-jsx/no-fragment-in-return-root": 2
}
}Supported Rules
0.0.2
4 years ago
0.0.3-beta.2
4 years ago
0.0.3-beta.3
4 years ago
0.0.3-beta.1
4 years ago
0.0.3-alpha.1
4 years ago
0.0.1
5 years ago