Releases: wikimedia/eslint-plugin-no-jquery
Releases · wikimedia/eslint-plugin-no-jquery
v3.1.1
v3.1.0
- New rule:
no-fx(Ed Sanders) - New rule:
no-done-fail(Ed Sanders) - Rule fix: Add
stopandfinishmethods tono-animate(Ed Sanders) - Rule fix:
no-extend: Only fix if first arg is object literal (Ed Sanders)
—
- Code: Fix some indentation in utils (Ed Sanders)
- Code: Migrate GitHub Actions from v1 to v4 to avoid warnings (James D. Forrester)
- Code: Code cleanup in tests (Ed Sanders)
- Code: Fix typos in utils documentation (Ed Sanders)
- Code: Upgrade eslint-config-wikimedia from 0.28.0 to 0.28.2 (James D. Forrester)
- Release: Provide a .mailmap for consistency in git logs (James D. Forrester)
v3.0.2
- Rule fix:
no-append-html: Allow passing selectors to some methods (Ed Sanders)
—
- code: Move joinLiterals to utils and share between two rules (Ed Sanders)
- code: Make isHtmlString a util (Ed Sanders)
v3.0.1
- Rule fix: Fix fixer for
no-extendto ignore single argument mode (Ed Sanders)
v3.0.0
- [BREAKING CHANGE] Drop Node 10, 12, 14, & 16 support (Ed Sanders, James D. Forrester)
- [BREAKING CHANGE] Raise eslint requirement to 8+ (James D. Forrester)
—
- New config:
deprecated-3.7for new jQuery release (Ed Sanders)
—
- Rule fix:
no-append-html; check appendTo/prependTo (Ed Sanders) - Rule fix:
no-append-html; catch .add(html) (Anders Kaseorg) - Rule fix:
no-sizzle; allow 'nth-child' selector (Ed Sanders) - Rule fix: Add fixer for
no-extend(Ed Sanders)
—
- Code: Use object shorthand for properties (Ed Sanders)
- Code: Fix comment syntax in build-all-methods.js (Ed Sanders)
- Release: Update devDependencies (Ed Sanders, James D. Forrester)
v2.7.0
- New rule:
no-append-html(#284) (Ed Sanders) - New config: Allow rules to disable get/set separately, starting with no-html (Ed Sanders)
- Deprecated rule:
no-submit; useno-event-shorthand(Ed Sanders)
—
- Code: Sort ajax events consistently and alphabetically. (Ed Sanders)
- Code: utils.isjQuery: Improve
Identifierdetection (#283) (Ed Sanders)
—
- Docs: Update eslint-docgen to 0.5.1 (#290) (Ed Sanders)
- Docs: Show which rules have options, and which are fixable in README (#289) (Ed Sanders)
- Docs: Fix test links (#280) (Ed Sanders)
—
- Release: Update devDependencies (#278) (Ed Sanders)
v2.6.0
- New rule:
no-escape-selectorfor$.escapeSelectorutil (Ed Sanders) - New config:
deprecated-3.6for new jQuery release (Ed Sanders)
—
- Rule fix: Add fixer for
no-on-ready(Ed Sanders) - Rule fix: Add fixer for
no-ready-shorthand(Ed Sanders) - Rule fix: Add fixer for
no-error(Ed Sanders) - Rule fix: Add fixer for
no-parse-xml(Ed Sanders) - Rule fix: Add fixer for
no-parse-html-literaltag style (Ed Sanders) - Rule fix:
no-now; recommendDate.nowrather than(new Date).getTime()(Ed Sanders)
—
- Code: Add real arguments to
no-parse-htmltests (Ed Sanders) - Code: codecov.yaml: Remove extra linebreak (Ed Sanders)
- Release: Update devDependencies (Ed Sanders)
v2.5.0
- New config:
recommendedjust includesvariable-patternrule (Ed Sanders) - New config:
allcovers all usages of jQuery methods and utils (Ed Sanders) - New config: Create a
deprecated-X.Xconfig for every minor release (Ed Sanders) - Configs: Use 'warn' instead of 'error' in
deprecated-Xandallconfigs (Ed Sanders) - New rule:
no-jquery-constructor(Ed Sanders)
—
- Code: Add
reporthtmlcoverage script (Ed Sanders) - Code: Remove unnecessary constants (Ed Sanders)
- Code: Replace
Array#indexOfwithArray#includes(Ed Sanders) - Code: Only assert error message strings (Ed Sanders)
- Code: Introduce eslint-plugin-eslint-plugin (Ed Sanders)
- Code: Add ESLint 7.0.0 support (Ed Sanders)
- Code: Prefer
$("div")in test cases (Ed Sanders) - Code: Fix ESLint 2.3.0 support (Ed Sanders)
—
- Docs: Document and test the
slimconfig (Ed Sanders) - Docs: Move docs to docs/rules (Ed Sanders)
- Docs: Suppress more examples with noDoc (no-parse-html-literal) (Ed Sanders)
- Docs: Update to eslint-docgen 0.3.1 (Ed Sanders)
- Docs: Suppress some examples with noDoc in long documentation files (Ed Sanders)
- Docs: Use eslint-docgen (Ed Sanders)
- Docs: Remove noDoc arg from RuleTesterAndDocs, just use RuleTester (Ed Sanders)
- Docs: Fetch 'main' path from package.json (Ed Sanders)
- Docs: Remove extra linebreak from no-parse-html-literal.md (Ed Sanders)
- Docs: Add missing linebreak before rule source section (Ed Sanders)
- Docs: Improvements to doc builder (Ed Sanders)
v2.4.1
v2.4.0
- New feature: Add specification of plugin return types to settings (Ed Sanders)
—
- New profile: Add new
deprecated-3.5config (Ed Sanders)
—
- New rule:
no-find-collection, split out ofno-find(Ed Sanders) - New rule:
no-find-util, split out ofno-find(Ed Sanders)
—
- Rule fix: Set all rules to type:
suggestion(Ed Sanders) - Rule fix:
no-global-selector; addallowIdsoption to allow global selector by ID (Adam Roses Wight) - Rule fix:
no-event-shorthand; addallowAjaxEventsoption and use indeprecated-3.3(Ed Sanders)
—
- Docs: Avoid duplicating name in "Prefer..." sentence (Ed Sanders)
- Docs: Build lists in README.md automatically (Ed Sanders)
- Docs: Consistently use
.methodOrPropwith collections, not$.methodOrProp(Ed Sanders) - Docs: Link to jQuery documentation for each method/util/property (Ed Sanders)
- Docs: Show ruleset information in README (Ed Sanders)
—
- Release: State "MIT license" in LICENSE header (Ed Sanders)
- Release: Update devDependencies (Ed Sanders)
—
- Code: Add
#oddand#evento all methods lists, new in jQuery 3.5 (Ed Sanders) - Code: Add code coverage checks using Istanbul (Ed Sanders)
- Code: Move index.js to src/ (Ed Sanders)
- Code: Restructure files and folders (Ed Sanders)
- Code: Setup codecov GitHub Action integration (Ed Sanders)