Releases: salesforce/eslint-plugin-lwc
Releases · salesforce/eslint-plugin-lwc
v1.1.1
Features
- Add support for eslint 8 (#79).
Chores
- Deprecate
no-dupe-class-member
rule (#81).
- Update dependencies (#77).
v1.1.0
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
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
Features
- The
no-unknown-wire-adapters
rule now reports errors on the decorator usage instead of the decorator import (#66).
v1.0.0
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
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
Bugs
- Fixes a bug in our component class detection logic incorrectly picking up classes not extending
LightningElement
. (#62)
v0.12.0
Features
- Add
no-attribute-during-construction
linting rule. (#61)
v0.11.0
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
Features
- Add no-leaky-event-listeners rule. (#34 )
- no-unknown-wire-adapters allows
module
and identifier
as a glob pattern. (#40 )