Releases: ezhlobo/eslint-plugin-react-pug
Releases · ezhlobo/eslint-plugin-react-pug
v0.5.5
v0.5.4
v0.5.3
v0.5.2
v0.5.1
v0.5.0
Added
-
Rule
empty-lines
(Manage empty lines in Pug)- Require empty line in the beginning
- Require empty line in the end
- Require empty line before we go out from nesting
- Require empty line between siblings (if there are more than 2 siblings)
- Prohibit more than 1 empty line
Request #36
-
Rule
indent
(This helps to be consistent with using indentation across the codebase. Basically it requires 2 spaces always)Request #35
v0.4.0
Added
- Rule
quotes
(requires single quotes in code, double quotes in templates) - Rule
no-interpolation
(prohibit using JavaScript interpolation in templates)
Fixed
- One-line templates now have correct location in reports (#31)
- Moved docs to separate directory and make eslint point to them in case of any issue
Development
- Make repository more attractive and easier to read (make README shorter, add badges, clean
package.json
, update dependencies)
v0.3.2
v0.3.1
v0.3.0
Breaking Changes
- Now we show exactly where we use variable which is not defined.
- If template is broken eslint continues working.
Added
- Rule
no-broken-template