Skip to content

Releases: peggyjs/peggyjs-eslint-plugin

Don't report lint errors in boilerplate code

05 Mar 07:18
v2.1.2
8af799c
Compare
Choose a tag to compare

Old-style configs were broken

01 Mar 18:12
v2.1.1
a92fa86
Compare
Choose a tag to compare

Update to Peggy 4.0.1

24 Feb 23:37
v2.0.1
6f8f01d
Compare
Choose a tag to compare

Update dependencies

Update to Peggy 4.0.0

21 Feb 17:20
v2.0.0
81124fa
Compare
Choose a tag to compare
  • Updated to Peggy4, including support for importing rules from external libraries
  • Added valid-imports rule

Minor bug fixes

17 Aug 21:11
v1.0.1
ef6b193
Compare
Choose a tag to compare
  • Take the indentation of code blocks from the first non-blank line of code in the block. Once we have an indent rule, we can be much more opinionated than this, but too many of the example grammars have hard-to-predict block indentation at the moment.
  • Make sure that when looking for return in semantic action bodies, it is at least a whole, single word. The current approach is not good, since we're not parsing the JS inside the block to ensure that the word "return" isn't in a comment or something, but it's better than nothing to catch a common mistake.

First release

15 Aug 22:56
v1.0.0
af26600
Compare
Choose a tag to compare

First set of rules.

Please suggest more rules, or other potential configurations for the existing rules.