Skip to content
This repository has been archived by the owner on Sep 26, 2023. It is now read-only.

Releases: nbcnews/brslint

Try/throw/catch

29 Mar 21:58
dc6c311
Compare
Choose a tag to compare

Add support for new error handling syntax (try/throw/catch) introduced in OS 9.4

0.2.1 Update Nearley to 2.16.0

26 Nov 23:15
c535cc4
Compare
Choose a tag to compare

Update Nearley to 2.16.0 to fix npm warning about deprecated dependency
Some minor syntax parsing fixes

Components validation

25 Nov 02:28
0a88835
Compare
Choose a tag to compare
  • Validate component's xml files
    • Warn about absent required attributes
    • Warn about attributes referencing undefined functions
  • Fix syntax parsing issues
    • Float constants recognized with uppercase exponent: 1.2E10, 2D-2
    • Hexadecimal constants can contain lowercase letters: &habcd
    • Allow function as return type
    • Resolve ambiguity in print statement followed by spaces and :
    • Attribute name following @ operator can be reserved word: xml@for, xml@true
  • Additional validations
    • Detect calls to undefined functions
    • Detect name collisions between functions and local variables

0.1.10

11 Sep 22:28
1c17e18
Compare
Choose a tag to compare

New rules

yoda_condition
object_formatting

0.1.8

13 Nov 06:12
Compare
Choose a tag to compare

Customizable rules
Keyword formatting rule

0.1.7

11 Nov 23:02
Compare
Choose a tag to compare
  • Support for brslint.config
  • Refactoring of rules implementation
  • Additional rules