Comments (2)
I don't know the best solution for this behavior
from eslint-plugin-react-pug.
The best way in my opinion is checking the possibility of parsing template. If it is not possible, we report an issue for only pug template. So Error won't bubble up and break other rules in eslint.
from eslint-plugin-react-pug.
Related Issues (20)
- Prohibit empty lines for indents HOT 1
- Requires double-quotes in code within attributes HOT 1
- Wrong requirement for indentation when only attributes on multi lines HOT 1
- Check amount of spaces
- Indentation does not work for attributes
- An in-range update of babel7 is breaking the build 🚨
- Increase react-pug/empty-lines HOT 1
- Destructuring of nested object doesn't work properly HOT 1
- It stops working when we define variable within template HOT 1
- Moving to pug-lint HOT 1
- Make sure that closing braces are on the same column as tag
- Avoid interpolation when it's possible to output with `=`
- Lint JavaScript inside pug template HOT 2
- repost : pug is undefined no-undef (already tried existing issues related to this) HOT 2
- Handle prop types definitions HOT 3
- Get prop reference in anonymous functions
- Lint that the ending ` is on the right column
- Variables used in `if else` condition are not marked as used
- I'm not using propTypes i don't want liniting for props
- Fails to compile with [email protected] HOT 3
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-react-pug.