eslint-plugin-react-pug
eslint-plugin-react-pug copied to clipboard
Add supporting of pugjs with react
Bumps [lodash](https://github.com/lodash/lodash) from 4.17.15 to 4.17.21. Commits f299b52 Bump to v4.17.21 c4847eb Improve performance of toNumber, trim and trimEnd on large input strings 3469357 Prevent command injection through _.template's variable...
Bumps [hosted-git-info](https://github.com/npm/hosted-git-info) from 2.8.4 to 2.8.9. Changelog Sourced from hosted-git-info's changelog. 2.8.9 (2021-04-07) Bug Fixes backport regex fix from #76 (29adfe5), closes #84 2.8.8 (2020-02-29) Bug Fixes #61 & #65...
Bumps [path-parse](https://github.com/jbgutierrez/path-parse) from 1.0.6 to 1.0.7. Commits See full diff in compare view [](https://docs.github.com/en/github/managing-security-vulnerabilities/about-dependabot-security-updates#about-compatibility-scores) Dependabot will resolve any conflicts with this PR as long as you don't alter...
Bumps [ajv](https://github.com/ajv-validator/ajv) from 6.10.2 to 6.12.6. Release notes Sourced from ajv's releases. v6.12.6 Fix performance issue of "url" format. v6.12.5 Fix uri scheme validation (@ChALkeR). Fix boolean schemas with strictKeywords...
Throws compiling error: utils.getReturnPropertyAndNode is not a function occurred while linting getReturnPropertyAndNode was removed from eslint-plugin-react/lib/util/Components.js in v7.25 Forcing [email protected] fixes this.
'title' is missing in props validation react-pug/prop-types 'items' is missing in props validation react-pug/prop-types i'm getting error in this file collectionpreview jsx ``` const CollectionPreview = ({ title, items })...
In the following snippet `b` variable is marked as unused. ```jsx const {a, b} = variables() pug` if a p Hello else if b p Bye ` ```
Good: ```js function Component() { return pug` span Text ` } ``` Bad: ```js function Component() { return pug` span Text ` } ```
This is an POC about how we can get real parameter for both anonymous and named functions. ```js const isParameter = variable => variable.defs.some(def => def.type === 'Parameter') const propsRefDeclarationIndex...