We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Babel plugin babel-plugin-transform-react-pug becomes more popular and I want to set up linting of its templates as well.
We need to allow custom parsers for this linter or something else. So we can parse .js files, extract pug templates from there and lint only pug.
.js
Example of javascript file:
import React from 'react' const MyComponent = props => pug` div p= props.text ` export default MyComponent
What should be linted in that file:
div p= props.text
The text was updated successfully, but these errors were encountered:
No branches or pull requests
Babel plugin babel-plugin-transform-react-pug becomes more popular and I want to set up linting of its templates as well.
We need to allow custom parsers for this linter or something else. So we can parse
.js
files, extract pug templates from there and lint only pug.Example of javascript file:
What should be linted in that file:
div p= props.text
The text was updated successfully, but these errors were encountered: