Comments (2)
This plugin lints JavaScript contained inside HTML files. It appears that vue jsx files are not HTML files. You should use eslint-plugin-react with the rule react/jsx-uses-vars to fix your issue.
from eslint-plugin-html.
thx~
from eslint-plugin-html.
Related Issues (20)
- eslint-plugin-html and prettier have autofix issues with indent changes
- Can use it in the browser? HOT 2
- Failed to load plugin 'html' declared in '.eslintrc.json': createRequire is not a function HOT 1
- Problem with version HOT 1
- Linting non-inline scripts HOT 2
- Failed to load plugin 'html' declared in '.eslintrc ยป eslint-config-wesbos': eslint-plugin-html error: It seems that eslint is not loaded. HOT 2
- Differentially treat specific blocks (use new processor API) HOT 7
- Parsing error: Unterminated string constant when string includes "<body> HOT 2
- type="module", Error: The keyword 'import' is reserved HOT 1
- Eslint-plugin-html installation failed HOT 1
- EOL tests fail on Windows HOT 1
- When `eslint-plugin-html` is extended, rules from other plugins don't work. HOT 4
- Is it possbile to eslint-disable a script(type=module)? HOT 6
- Twig handlebars result in parsing errors HOT 1
- You must therefore provide a value for the "parserOptions.project" ...
- `<script type="module">` should support top-level-await HOT 1
- How to ignore `<script>` without specified type? HOT 2
- Flat config support HOT 4
- Including `eslint-plugin-html` in a config for eslint 9 prevents non-html files from being processed HOT 3
- Importing the plugin in a flat config breaks @eslint/config-inspector HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from eslint-plugin-html.