Skip to content

Releases: salesforce/eslint-plugin-lwc

v1.1.1

15 Nov 10:12
11bd0c5
Compare
Choose a tag to compare

Features

  • Add support for eslint 8 (#79).

Chores

  • Deprecate no-dupe-class-member rule (#81).
  • Update dependencies (#77).

v1.1.0

30 Sep 18:04
Compare
Choose a tag to compare

Features

  • Add a rule to check for patterns like this.template.firstChild which will not work in native shadow DOM in certain browsers. this.template.querySelector is encouraged as an alternative (#76).

v1.0.1

19 May 13:22
8dfee92
Compare
Choose a tag to compare

Bugs

  • Remove eslint 6 from the supported version of ESLint because @babel/eslint-parser only supports eslint >=7.5.0. (#63)
  • Fix rules doc URL by removing the trailing .git extension (#67).

v0.12.2-232.0

13 Apr 05:36
Compare
Choose a tag to compare

Features

  • The no-unknown-wire-adapters rule now reports errors on the decorator usage instead of the decorator import (#66).

v1.0.0

30 Mar 18:43
Compare
Choose a tag to compare

Breaking changes

  • The babel-eslint peer dependency has been updated to its successor @babel/eslint-parser (#65)

Features

  • The no-unknown-wire-adapters rule now reports errors on the decorator usage instead of the decorator import (#66).

v0.12.2

29 Mar 14:07
Compare
Choose a tag to compare

Bugs

  • Fix issue in no-attributes-during-construction. Add extra guard to handle the case where assignment expression isn't member expression. (#63)

v0.12.1

15 Mar 13:28
Compare
Choose a tag to compare

Bugs

  • Fixes a bug in our component class detection logic incorrectly picking up classes not extending LightningElement. (#62)

v0.12.0

12 Mar 14:06
Compare
Choose a tag to compare

Features

  • Add no-attribute-during-construction linting rule. (#61)

v0.11.0

06 Jan 22:31
92515ef
Compare
Choose a tag to compare

Features

  • Adds a new set of Lightning Locker linting rules. (#41)
  • Add lwc/prefer-custom-event rule. (#48)
  • Enhances lwc/valid-api rule by verifying that fields and methods annotated with @api don't contain both uppercase and underscore characters when disallowUnderscoreUppercaseMix is true. (#54)

Bugs

  • Fixes issues in rules no-leaky-event-listeners, no-document-location, and no-window-top when the browser env flag is set. (#47)

v0.10.0

06 May 18:41
f64b375
Compare
Choose a tag to compare

Features

  • Add no-leaky-event-listeners rule. (#34 )
  • no-unknown-wire-adapters allows module and identifier as a glob pattern. (#40 )