Releases: wikimedia/eslint-plugin-no-jquery
Releases · wikimedia/eslint-plugin-no-jquery
v2.3.2
- Rule fix: Add fixer for
no-is-function(Ed Sanders) - Rule fix: Follow-up #186: Actually merge
no-undelegateintono-delegate(Ed Sanders)
—
- Docs: Soften and make clearer the language for
no-class-state(James D. Forrester) - Docs: Explain
no-global-selectorrestriction more clearly (James D. Forrester)
—
- Release: Update devDependencies (Ed Sanders)
—
- Code: Remove non-existent $.fn.parse from tests (Ed Sanders)
v2.3.1
- New feature: Show deprecation message in linting errors (Ed Sanders)
—
- Deprecated rule:
no-die; useno-live(Ed Sanders) - Deprecated rule:
no-unbind; useno-bind(Ed Sanders) - Deprecated rule:
no-undelegate; useno-delegate(Ed Sanders)
—
- Rule fix: Remove
loadfromno-event-shorthand(Ed Sanders)
—
- Docs: Build generic "Prefer" messages for docs when node===true (Ed Sanders)
- Docs: Escape all code snippets (Ed Sanders)
- Docs: Monospace rule names (Ed Sanders)
—
- Release: Add icons to readme section headings (Ed Sanders)
- Release: Fix Changelog markdown list spacing (Ed Sanders)
- Release: Use a limited ruleset for lint-fixing documentation snippets (Ed Sanders)
—
- Code: Add
triggerHandlertononCollectionReturningMethods(Ed Sanders) - Code: Check documentation in CI (Ed Sanders)
- Code: Check rules are listed in README.md & index.js (Ed Sanders)
- Code: Migrate from Travis to GitHub Actions (James D. Forrester)
- Code: Remove incorrect TODO comment (Ed Sanders)
v2.3.0
- New rule:
variable-pattern(Ed Sanders) - New rule:
no-parse-xml(Ed Sanders) - New rule:
no-visibilityas a group alias forno-show,no-hide, &no-toggle(Ed Sanders)
—
- New config:
slimas a profile for users of the jQuery slim build (Ed Sanders)
—
- Deprecated rule:
no-show(Ed Sanders) - Deprecated rule:
no-hide(Ed Sanders) - Deprecated rule:
no-toggle(Ed Sanders)
—
- Rule fix: Add
allowDeepoptions tono-extend(Ed Sanders) - Rule fix: Add
hasDatamethod tono-datarule (Ed Sanders) - Rule fix: Enforce single tag style in
no-parse-html-literal(Ed Sanders)
—
- New fixer: Add fixer for
no-event-shorthandand similar (Ed Sanders) - New fixer: Add fixer for
no-noop(Ed Sanders) - New fixer: Add fixer for
no-now(Ed Sanders) - New fixer: Add fixer for
no-size(Ed Sanders)
—
- Docs: Link to each rule's definition (Ed Sanders)
- Docs: Switch
constructorAliases/variablePatternin README (Ed Sanders) - Docs: Pad fixer examples so they align (Ed Sanders)
- Docs: Output example fixes in documentation (Ed Sanders)
—
- Release: Update LICENSE authors (Ed Sanders)
—
- Code: Add
npm run testpathfor running a single test (Ed Sanders) - Code: Add a test that automatically captures all rules (Ed Sanders)
- Code: Avoid
key in objectlookup (Ed Sanders) - Code: Improvements to collection return detection (Ed Sanders)
- Code: More fixes to jQuery method return types (Ed Sanders)
- Code: Rename .eslintrc to .eslintrc.json (Ed Sanders)
- Code: Update eslint-config-wikimedia (Ed Sanders)
v2.2.1
v2.2.0
- New rule:
no-camel-case(Christophe Coevoet) - New rule:
no-constructor-attributes(Ed Sanders) - New rule:
no-contains(Christophe Coevoet) - New rule:
no-error(Ed Sanders) - New rule:
no-is-empty-object(Ed Sanders) - New rule:
no-is-plain-object(Ed Sanders) - New rule:
no-node-name(Ed Sanders)
—
- Rule fix: Add
removeAttrtono-attrrule (Ed Sanders) - Rule fix: Add
removeProptono-remove-proprule (Ed Sanders) - Rule fix: Add ajax method shorthands to
no-ajax-eventsandno-event-shorthand(Ed Sanders) - Rule fix: Detect concatenated selectors in
no-sizzle(Ed Sanders) - Rule fix: Handle concatenated strings and other methods in
no-parse-html-literal(Ed Sanders) - Rule fix: Include the
$.cloneutility in theno-clonerule (Ed Sanders) - Rule fix: Include the
$.cssutility in theno-cssrule (Ed Sanders) - Rule fix: Make error message in
no-parse-html-literalless specific (Ed Sanders) - Rule fix: Separate out positional sizzle selectors and add to
deprecated-3.4(Ed Sanders)
—
- New fixer: Add fixer for
no-and-self(Ed Sanders) - New fixer: Add fixer for
no-is-array(Ed Sanders) - New fixer: Add fixer for
no-parse-json(Ed Sanders) - New fixer: Add fixer for
no-unique(Ed Sanders)
—
- Docs: Build documentation from tests (Ed Sanders)
- Docs: Comment in documentation when rules are fixable (Ed Sanders)
- Docs: Document
npm run doc(Ed Sanders) - Docs: Document when rules are included in a deprecation set (Ed Sanders)
—
- Bug: Fix the detection of jQuery collection calls for non-fluent APIs (e.g.
.toArray()) (Christophe Coevoet) - Bug: Support arrow functions (Ed Sanders)
—
- Code: Add an EditorConfig config file (Christophe Coevoet)
- Code: Introduce and use createCollectionOrUtilMethodRule (Ed Sanders)
- Code: Update development dependencies (Ed Sanders)
—
- Release: Add
fileslist to package.json (Ed Sanders) - Release: Add global settings for configuring jQuery constructor/variable names (Ed Sanders)
- Release: Update deprecation rulesets (Ed Sanders)
—
- Improve messages' references to methods vs. static methods (Christophe Coevoet)
v2.1.0
- New rule:
no-class-state(Ed Sanders) - README: Fix plugin name (Maurício Meneghini Fauth)
- build: Upgrade eslint-config-wikimedia to 0.12.0 (James D. Forrester)
v2.0.0
v1.3.2-wmf.6
- New rule:
no-box-model(Ed Sanders) - New rule:
no-browser(Ed Sanders) - New rule:
no-context-prop(Ed Sanders) - New rule:
no-error-shorthand(Ed Sanders) - New rule:
no-fx-interval(Ed Sanders) - New rule:
no-hold-ready(Ed Sanders) - New rule:
no-is-numeric(Ed Sanders) - New rule:
no-load-shorthand(Ed Sanders) - New rule:
no-now(Ed Sanders) - New rule:
no-on-ready(Ed Sanders) - New rule:
no-ready-shorthand(Ed Sanders) - New rule:
no-selector-prop(Ed Sanders) - New rule:
no-sub(Ed Sanders) - New rule:
no-support(Ed Sanders) - New rule:
no-unload-shorthand(Ed Sanders)
—
- Bug: Fix
isjQueryutil to match$-prefixed properties (Ed Sanders) - Bug: Fix
isjQueryto not match methods of jQuery properties (Ed Sanders) - Bug: Only catch
toggle(arg)ifargis definitely not a boolean (Ed Sanders)
—
- Code: De-deduplicate rule generation (Ed Sanders)
- Code: Remove useless export of traverse method (Ed Sanders)