eslint-plugin-react-pug icon indicating copy to clipboard operation
eslint-plugin-react-pug copied to clipboard

Add supporting of pugjs with react

Results 18 eslint-plugin-react-pug issues
Sort by recently updated
recently updated
newest added

Bad: ```pug div( attribute ) ``` Good: ```pug div( attribute ) ``` ![2019-01-15 14-51-39](https://user-images.githubusercontent.com/974552/51178955-44083500-18d5-11e9-8de7-d197bd520408.png)

rule request

Basically: ```pug div= variable ``` Instead of: ```pug div #{variable} ```

rule request

When we use multiline attributes this plugin does not check indentation correctly

We need to control amount of spaces when we start code, loops, attributes, use js.

### Bad ```pug div(attr after) ``` ### Good ```pug div(attr after) ```

rule request

We should either require or prohibit commas. No need to use both approaches

rule request

Sometimes I see that people use this way to render strings: ```pug div= 'Hello World' ``` It will be great to have a rule that forces people to use Pug...

rule request

It's a common practice over all plugins. Not sure why did I miss that in the beginning. Need to turn recommended settings via `plugin:react-pug/recommended`.