Skip to content

Latest commit

 

History

History
2178 lines (1526 loc) · 146 KB

CHANGELOG.md

File metadata and controls

2178 lines (1526 loc) · 146 KB

v11.2.0 (2022-10-27)

🚀 Enhancement

🐛 Bug Fix

  • #1640 Avoid in-place sorting in sortBy autofixer in no-array-prototype-extensions rule (@tgvrssanthosh)

📝 Documentation

  • #1646 Automate docs with eslint-doc-generator (@bmish)

Committers: 3

v11.1.0 (2022-10-18)

🚀 Enhancement

🐛 Bug Fix

  • #1635 Simpler autofix for sortBy with single arg for no-array-prototype-extension rule (@bmish)

📝 Documentation

  • #1639 Explain what the autofixer covers in no-array-prototype-extensions rule doc (@bmish)
  • #1618 Add codemod links for jQuery-related rules (@bmish)
  • #1601 Switch to dash for markdown lists (@bmish)
  • #1582 Add link to deprecation RFC in no-array-prototype-extensions rule doc (@bmish)

Committers: 2

v11.0.6 (2022-08-18)

🐛 Bug Fix

  • #1562 Remove no-array-prototype-extensions rule from recommended config (@ef4)
  • #1555 Ignore super in no-array-prototype-extensions rule (@bmish)

📝 Documentation

  • #1569 Add link to Ember function prototype extension deprecation RFC (@bmish)
  • #1554 Mention no-array-prototype-extensions ember-template-lint rule (@bmish)

Committers: 2

v11.0.5 (2022-08-02)

🐛 Bug Fix

  • #1552 Fix false positive with reject() on instance of RSVP.defer() in no-array-prototype-extensions rule (@bmish)
  • #1547 Improve false positive detection, especially for variable names containing Set/Map, in no-array-prototype-extensions rule (@bmish)

Committers: 1

v11.0.4 (2022-07-29)

🐛 Bug Fix

  • #1546 Fix false positives with RSVP.Promise.reject() in no-array-prototype-extensions rule (@bmish)

📝 Documentation

  • #1545 Improve documentation for no-*-prototype-extensions rules (@bmish)

Committers: 1

v11.0.3 (2022-07-26)

🐛 Bug Fix

  • #1544 Fix false positive with Set/Map-initialized private class properties in no-array-prototype-extensions rule (@bmish)
  • #1543 Fix false positive with Set/Map-initialized public class properties in no-array-prototype-extensions rule (@bmish)

Committers: 1

v11.0.2 (2022-07-23)

🐛 Bug Fix

  • #1538 Fix false positive with simple Set/Map-initialized objects in no-array-prototype-extensions rule (@bmish)
  • #1539 Fix false positive with RSVP.reject() in no-array-prototype-extensions (@gilest)

Committers: 2

v11.0.1 (2022-07-21)

🐛 Bug Fix

  • #1536 Ignore some commonly-known non-array functions/objects to reduce false positives in no-array-prototype-extensions rule (@bmish)

Committers: 1

v11.0.0 (2022-07-20)

💥 Breaking Change

  • #1517 Add no-array-prototype-extensions as recommended rule (NOTE: removed as recommended in v11.0.6) (@bmish)
  • #1515 Drop support for ESLint v6 (@bmish)
  • #1318 Drop support for Node 10, 12, 15, 17 (@aggmoulik)
  • #1519 Enable useOptionalChaining option by default for no-get rule (@bmish)
  • #1518 Remove base config (@bmish)
  • #1516 Set config ecmaVersion to 2020 (@bmish)
  • #1513 Stop exporting non-Ember utils (@bmish)
  • #1514 Strictly define Node API (@bmish)
  • #1512 Update avoid-leaking-state-in-ember-objects rule to augment instead of replace default config (@bmish)

🚀 Enhancement

  • #1529 Better support native class property definitions (and update to ESLint v8 internally) (@bmish)

📝 Documentation

  • #1484 Improve links in no-array-prototype-extensions rule doc (@bmish)
  • #1480 Update optional rule example to use actual optional rule (@bmish)

🏠 Internal

  • #1481 Add Node 18 to CI (@ddzz)
  • #1352 Upgrade ESLint dependencies and fix new linting issues (@ddzz)

Committers: 3

v10.6.1 (2022-05-04)

🐛 Bug Fix

  • #1476 Catch replace in no-array-prototype-extensions rule (@smilland)

Committers: 1

v10.6.0 (2022-04-08)

🚀 Enhancement

Committers: 1

v10.5.9 (2022-02-14)

🐛 Bug Fix

  • #1431 Fix crash in jquery-ember-run rule (@ef4)

📝 Documentation

🏠 Internal

  • #1402 Add GitHub Actions to Dependabot config (@ddzz)

Committers: 3

v10.5.8 (2021-11-23)

🐛 Bug Fix

  • #1374 Allow empty-but-decorated classes in no-empty-glimmer-component-classes rule (@adrigzr)

📝 Documentation

  • #1364 Fix typos in violation message for classic-decorator-hooks rule (@nlfurniss)

Committers: 4

v10.5.7 (2021-10-13)

🐛 Bug Fix

  • #1336 Avoid crash when estraverse does not recognize node type during traversal (@bmish)

Committers: 1

v10.5.6 (2021-10-12)

🐛 Bug Fix

  • #1333 Support ESLint v8 by switching from ESLint's internal traverser to estraverse (@bmish)

Committers: 1

v10.5.5 (2021-09-20)

🐛 Bug Fix

  • #1297 Support if/else route definitions in no-shadow-route-definition rule (@raido)

📝 Documentation

🏠 Internal

  • #1301 Add jsdoc type annotation to rules (@bmish)
  • #1299 Cache dependencies on GitHub Actions to speed up CI (@ddzz)

Committers: 4

v10.5.4 (2021-08-24)

🐛 Bug Fix

  • #1286 Avoid unnecessary optional chaining in autofix for no-get rule when using useOptionalChaining option (@raycohen)

Committers: 1

v10.5.3 (2021-08-17)

🐛 Bug Fix

  • #1283 Fix crash with let foo in no-controller-access-in-routes (@bmish)

Committers: 1

v10.5.2 (2021-08-17)

🐛 Bug Fix

📝 Documentation

  • #1275 Fix typo in no-controller-access-in-routes rule doc (@locks)
  • #1245 Explain how to fix violations in no-empty-glimmer-component-classes rule doc (@hxqlin)

🏠 Internal

Committers: 4

v10.5.1 (2021-06-20)

🐛 Bug Fix

  • #1237 Stop using deprecated ESLint report API (@bmish)
  • #1230 Use meta.hasSuggestions for suggestable rules to prepare for ESLint 8 (@bmish)

📝 Documentation

  • #1241 Indicate which rules provide automated suggestions in README rules table (@bmish)

🏠 Internal

  • #1222 Use ecmaVersion of 2020 internally for tests/linting (@bmish)

Committers: 1

v10.5.0 (2021-05-30)

🚀 Enhancement

🐛 Bug Fix

  • #1212 Improve detection of property names (check string literals in addition to identifiers) in several rules (@bmish)
  • #1211 Fix false positive with non-components in require-tagless-components rule (@bmish)
  • #1210 Avoid some false positives with lodash usage when recognizing extended Ember objects (@bmish)
  • #1197 Check import when detecting controller usage in order-in-* rules (@lin-ll)
  • #1196 Check import when detecting observer usage in order-in-* rules (@lin-ll)

📝 Documentation

  • #1213 Explain why some rules are not in the recommended config (@bmish)
  • #1204 Improve columns in README rules table (@bmish)

Committers: 2

v10.4.2 (2021-05-13)

🐛 Bug Fix

  • #1195 Fix false positives with service/controller/observer detection in some rules (@lin-ll)
  • #1187 Fix optional chaining support to handle newer ChainExpression implementation (@bmish)
  • #1179 Handle spread syntax with both babel-eslint and @babel/eslint-parser parsers in order-in-* rules (@bmish)

🏠 Internal

  • #1191 Use requireindex to export rules and configs (@bmish)
  • #1180 Switch from babel-eslint to @babel/eslint-parser (@bmish)

Committers: 2

v10.4.1 (2021-04-21)

🐛 Bug Fix

  • #1160 Account for observer dependent keys in no-unused-services rule (@lin-ll)
  • #1164 Account for observes decorator in no-unused-services rule (@lin-ll)
  • #1162 Update several rules to check imports when checking for Ember service injections (@lin-ll)
  • #1167 Update route rules to handle route path option passed as object variable (@bmish)
  • #1165 Improve robustness of classic class body detection in several rules using getModuleProperties util (@bmish)
  • #1159 Improve robustness of classic class component body detection in require-tagless-components rule (@bmish)
  • #1158 Improve robustness of classic class controller body detection in no-controllers rule (@bmish)
  • #1168 Avoid some false positives with jQuery usage when recognizing extended objects (@bmish)

📝 Documentation

  • #1161 Tweak messaging around false positives in no-unused-services rule (@bmish)

Committers: 2

v10.4.0 (2021-04-20)

🚀 Enhancement

  • #1143 Add new rule no-unused-services (@lin-ll)
  • #1127 Add automated suggestion to route-path-style rule for converting route path to kebab case (@bmish)

🐛 Bug Fix

  • #1150 no-get rule should ignore proxy classes that look like ObjectProxy.extend(SomeMixin) (@bmish)
  • #1149 Detect classic classes which have object variables passed to them in no-classic-classes rule (@bmish)
  • #1135 Fix false positive in same level routes but nested paths in no-shadow-route-definition rule (@raido)
  • #1132 Fix crash with dynamic/variable route name in no-shadow-route-definition rule (again) (@raido)

Committers: 3

v10.3.0 (2021-03-22)

🚀 Enhancement

  • #1113 Add additionalClassImports option to no-classic-classes rule (@scalvert)

🐛 Bug Fix

  • #1115 Fix crash with dynamic/variable route name in no-shadow-route-definition rule (@bmish)
  • #1102 Fix crash with this.extend() in no-classic-classes rule (@bmish)
  • #1114 Ensure rules validate arrays in options to have at least one item and unique items (@bmish)
  • #1103 Only calculate source module name once in import util function for slight optimization (@bmish)
  • #1081 Update avoid-leaking-state-in-ember-objects rule to apply to mixins (@jaydgruber)

Committers: 3

v10.2.0 (2021-01-31)

🚀 Enhancement

🐛 Bug Fix

  • #1072 Improve jquery detection in jquery-ember-run rule (@bmish)

Committers: 2

v10.1.2 (2021-01-11)

🐛 Bug Fix

  • #1063 Improve detection of globals and catch additional jQuery function calls in no-jquery rule (@BarryThePenguin)
  • #1066 Improve detection of globals in no-global-jquery rule (@bmish)

🏠 Internal

  • #1069 Improve tests for jquery-ember-run rule (@bmish)

Committers: 2

v10.1.1 (2020-12-29)

🐛 Bug Fix

  • #1059 Do not warn about Glimmer lifecycle hooks on classic components in no-component-lifecycle-hooks rule (@Turbo87)

🏠 Internal

  • #1060 Automate release process with release-it-lerna-changelog (@bmish)

Committers: 2

v10.1.0 (2020-12-28)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 4

v10.0.2 (2020-12-04)

🐛 Bug Fix

📝 Documentation

  • #1028 Mention Ember 3.13 minimum version to use tracked properties and Glimmer components in some rule docs (@bmish)

Committers: 1

v10.0.1 (2020-12-02)

🐛 Bug Fix

Committers: 1

v10.0.0 (2020-12-01)

💥 Breaking Change

📝 Documentation

Committers: 3

v9.6.0 (2020-11-09)

🚀 Enhancement

🐛 Bug Fix

  • #1001 Fix issues with no-get rule autofix with array access in nested path (@bmish)

Committers: 1

v9.5.0 (2020-11-05)

🚀 Enhancement

🐛 Bug Fix

  • #998 Fix autofix for array element access at beginning of path string in no-get rule (@bmish)

Committers: 2

v9.4.0 (2020-10-28)

🚀 Enhancement

🏠 Internal

  • #991 Add test to ensure rule test files have correct test suite name (@bmish)

Committers: 4

v9.3.0 (2020-10-08)

🚀 Enhancement

🐛 Bug Fix

Committers: 2

v9.2.0 (2020-10-02)

🚀 Enhancement

🐛 Bug Fix

Committers: 2

v9.1.1 (2020-09-27)

🐛 Bug Fix

Committers: 1

v9.1.0 (2020-09-27)

🚀 Enhancement

📝 Documentation

🏠 Internal

  • #945 Add sort-package-json (@bmish)
  • #944 Ensure rule doc notices are present in the correct order (@bmish)

Committers: 1

v9.0.0 (2020-09-07)

💥 Breaking Change

Committers: 1

v8.14.0 (2020-09-07)

🚀 Enhancement

🐛 Bug Fix

🏠 Internal

Committers: 1

v8.13.0 (2020-08-26)

🚀 Enhancement

🐛 Bug Fix

Committers: 2

v8.12.0 (2020-08-18)

🚀 Enhancement

🐛 Bug Fix

Committers: 1

v8.11.0 (2020-08-14)

🚀 Enhancement

  • #912 Add catchSafeObjects option (default false) to no-get rule to catch get(foo, 'bar') (@bmish)
  • #913 Add catchUnsafeObjects option (default false) to no-get rule to catch foo.get('bar') (@bmish)

🐛 Bug Fix

  • #911 Update no-test-import-export rule to allow importing from anything under tests/helpers path (when using relative path) (@bmish)
  • #909 Check imports when detecting computed properties in many rules (@bmish)

Committers: 1

v8.10.1 (2020-08-07)

🐛 Bug Fix

Committers: 1

v8.10.0 (2020-08-05)

🚀 Enhancement

Committers: 2

v8.9.2 (2020-07-23)

🐛 Bug Fix

🏠 Internal

Committers: 1

v8.9.1 (2020-07-05)

🐛 Bug Fix

Committers: 1

v8.9.0 (2020-06-28)

🚀 Enhancement

🐛 Bug Fix

Committers: 1

v8.8.0 (2020-06-24)

🚀 Enhancement

🐛 Bug Fix

Committers: 2

v8.7.0 (2020-06-15)

🚀 Enhancement

📝 Documentation

Committers: 1

v8.6.0 (2020-06-02)

🚀 Enhancement

📝 Documentation

🏠 Internal

  • #828 Ensure rule docs mention all rule configuration options (@bmish)

Committers: 2

v8.5.2 (2020-05-21)

🐛 Bug Fix

  • #821 Avoid some false positives when detecting if a file is an Ember component, controller, etc (@bmish)

📝 Documentation

Committers: 2

v8.5.1 (2020-05-10)

🐛 Bug Fix

🏠 Internal

Committers: 1

v8.5.0 (2020-05-06)

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 5

v8.4.0 (2020-04-15)

🚀 Enhancement

🐛 Bug Fix

Committers: 3

v8.3.0 (2020-04-14)

🚀 Enhancement

🐛 Bug Fix

Committers: 1

v8.2.0 (2020-04-10)

🚀 Enhancement

📝 Documentation

🏠 Internal

Committers: 2

v8.1.1 (2020-04-01)

🐛 Bug Fix

📝 Documentation

Committers: 1

v8.1.0 (2020-03-29)

🚀 Enhancement

🐛 Bug Fix

  • #746 Do not disable non-recommended rules in the recommended config (@bmish)

📝 Documentation

  • #749 Add missing init hook super calls in rule examples (@bmish)
  • #748 Switch to new module imports in rule examples (@bmish)
  • #745 Replace this.get('property') with this.property in rule examples (@bmish)

Committers: 1

v8.0.0 (2020-03-28)

💥 Breaking Change

Committers: 1

v7.13.0 (2020-03-28)

🚀 Enhancement

🏠 Internal

  • #741 Switch from Travis to GitHub Actions for CI (@bmish)

Committers: 1

v7.12.0 (2020-03-27)

🚀 Enhancement

📝 Documentation

🏠 Internal

Committers: 2

v7.11.1 (2020-03-25)

🐛 Bug Fix

📝 Documentation

  • #724 Recategorize rules in README (@bmish)
  • #723 Sort rule categories alphabetically in README (@bmish)

Committers: 1

v7.11.0 (2020-03-20)

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

  • #716 Revamp the guide for contributing a new rule (@bmish)
  • #715 Mention if a rule is auto-fixable in its documentation (@bmish)
  • #713 Add tests to ensure each rule documentation file has the right title and an examples section (@bmish)
  • #711 Improve contribution guide for adding new rules (@TheMBTH)

🏠 Internal

  • #720 Add tests to ensure some computed property rules handle the @computed decorator (@bmish)

Committers: 3

v7.10.1 (2020-03-07)

🐛 Bug Fix

  • #697 Handle service injections with no arguments in no-private-routing-service rule (@nlfurniss)

Committers: 1

v7.10.0 (2020-03-06)

🚀 Enhancement

Committers: 1

v7.9.0 (2020-03-01)

🚀 Enhancement

  • #595 Add new rule no-component-lifecycle-hooks (included in octane config) (@jbandura)
  • #681 Add new rule no-legacy-test-waiters (@scalvert)

📝 Documentation

  • #688 Lint code samples with eslint-plugin-markdown (@bmish)

Committers: 3

v7.8.1 (2020-02-14)

🐛 Bug Fix

  • #674 Update require-computed-property-dependencies rule to handle basic string concatenation in dependent keys (@bmish)

📝 Documentation

  • #669 Add "Help Wanted" section to documentation for rules that are missing native JavaScript class support (@bmish)

Committers: 1

v7.8.0 (2020-02-12)

🚀 Enhancement

  • #661 Add new rule no-controllers (@bmish)
  • #665 Update order-in-* rules to support custom ordering of properties (@cdtinney)
  • #639 Update no-observers rule to catch addObserver and observer imports (@kategengler)

🐛 Bug Fix

  • #670 Update order-in-* rules to consider template literals as properties (@cdtinney)
  • #664 Update no-classic-components rule to only disallow the specific component import (@bmish)
  • #640 Update no-computed-properties-in-native-classes rule to catch aliasing of computed import (@kategengler)

📝 Documentation

  • #663 Update rule docs to use consistent headers and fix markdownlint violations (@bmish)
  • #655 Update no-new-mixins rule documentation (@efx)
  • #648 Fix various spelling mistakes (@bmish)
  • #647 Fix typo in no-classic-components rule documentation (@rwwagner90)
  • #626 Simplify and clarify rules and configuration sections in README (@bmish)

🏠 Internal

  • #643 Add missing test case output assertions (@bmish)

Committers: 5

v7.7.2 (2019-12-12)

🐛 Bug Fix

  • #621 Fix false positive with ignoreNonThisExpressions option in use-ember-get-and-set rule (@Exelord)

📝 Documentation

  • #620 Use consistent prefixes for rule descriptions (@bmish)

🏠 Internal

  • #625 Add eslint-plugin-jest internally and enable rules (@bmish)
  • #624 Add eslint-plugin-unicorn internally and enable recommended rules (@bmish)

Committers: 2

v7.7.1 (2019-11-29)

🐛 Bug Fix

  • #615 Fix issue causing assert to fire in getSourceModuleName util function (@patocallaghan)

Committers: 1

v7.7.0 (2019-11-29)

🚀 Enhancement

  • #592 Update no-classic-classes rule to catch classic Ember Data model classes (@patocallaghan)

🐛 Bug Fix

  • #610 Fix invalid no-get rule autofix caused by invalid JS variable name (@bmish)
  • #607 Fix spread property bug in require-super-in-init rule (@bmish)
  • #600 Add missing schema validation for options on many rules (@bmish)

🏠 Internal

  • #611 Add many missing tests for lines without test coverage (@bmish)

Committers: 2

v7.6.0 (2019-11-19)

🚀 Enhancement

Committers: 1

v7.5.0 (2019-11-11)

🚀 Enhancement

  • #583 Update no-observers rule to handle decorators (@bmish)
  • #577 Add autofixer to no-get rule (@bmish)

🐛 Bug Fix

  • #586 Update use-brace-expansion rule to only report the string arguments of a computed property as the violation (and not the entire function body) (@bmish)
  • #581 Update no-get rule to ignore get() usages inside objects implementing unknownProperty() (@bmish)
  • #580 Update no-get rule to ignore get() usages inside proxy objects (@bmish)
  • #579 Fix handling of multi-line property keys by require-computed-property-dependencies rule (@bmish)

📝 Documentation

  • #588 Add type meta property to each rule (@bmish)
  • #587 And missing rule documentation URLs (@bmish)

🏠 Internal

  • #582 Add CI check to ensure yarn update is run to update docs/autogenerated files (@bmish)
  • #574 Update reportUnorderedProperties util function to also work with native classes (@laurmurclar)

Committers: 2

v7.4.1 (2019-11-07)

🐛 Bug Fix

  • #575 Update avoid-leaking-state-in-ember-objects rule to handle logical expressions (@alexlafroscia)
  • #571 Update avoid-leaking-state-in-ember-objects rule to handle ternary expressions (@alexlafroscia)
  • #573 Update require-computed-macros rule to handle this.get('property') (in addition to this.property) (@bmish)

Committers: 2

v7.4.0 (2019-11-06)

🚀 Enhancement

🏠 Internal

  • #570 Simplify some tests by setting parserOptions globally instead of in each individual test case (@bmish)
  • #568 Add tests to ensure plugin exports correct configurations (@bmish)
  • #563 Lint against unnecessary template literals internally (@bmish)

Committers: 3

v7.3.0 (2019-10-30)

🚀 Enhancement

🐛 Bug Fix

  • #553 Avoid crash from missing function check in require-super-in-init rule (@bmish)

📝 Documentation

🏠 Internal

  • #558 Update isEmberCoreModule util function to also handle native classes (in addition to classic classes) (@laurmurclar)

Committers: 5

v7.2.0 (2019-10-20)

🚀 Enhancement

  • #545 Add ignoreNonThisExpressions option to use-ember-get-and-set rule (@nlfurniss)
  • #534 Add onlyThisContexts option to no-arrow-function-computed-properties rule (@NullVoxPopuli)
  • #537 Add ignoreGetProperties option for no-get rule (@EvgenyOrekhov)

🏠 Internal

  • #462 Refactor null checks for new-module-imports and use-ember-data-rfc-395-imports rules (@dcyriller)
  • #528 Add eslint-plugin-node and enable recommended rules internally (@bmish)
  • #524 Add eslint-plugin-filenames to enforce kebab-case filenames (@bmish)
  • #523 Add eslint-plugin-eslint-comments and fix violations (@bmish)

Committers: 5

v7.1.0 (2019-09-18)

🚀 Enhancement

🐛 Bug Fix

  • #511 Avoid crash from empty return statement in require-computed-macros rule (@bmish)
  • #512 Avoid crash when missing arguments to this.route() in route-path-style rule (@bmish)
  • #498 Fix decorator handling and improve error messages for computed-property-getters rule (@Exelord)
  • #504 Update require-computed-property-dependencies rule to ignore injected service names by default (@bmish)

📝 Documentation

  • #514 Hide the deprecated rules section from the README if empty (@bmish)
  • #510 Cleanup code samples in some of the new V7 recommended rules (@bmish)
  • #496 Suggest using the eslint consistent-return rule alongside require-return-from-computed rule to help avoid false positives (@bmish)
  • #506 Add example of a getter with an if statement for require-return-from-computed rule (@bradleypriest)

🏠 Internal

  • #519 Add CI check to ensure yarn.lock is up-to-date (@bmish)
  • #516 Test plugin under both eslint 5 and eslint 6 (@bmish)
  • #515 Add eslint-plugin-eslint-plugin and enable/autofix most rules (@bmish)
  • #505 Enforce minimum test coverage (@bmish)
  • #503 Refactor utils to move type checking utils to a separate file and alphabetize (@bmish)

Committers: 4

v7.0.0 (2019-08-23)

💥 Breaking Change

  • #491 Drop eslint 4 support (@bmish)
  • #486 Enable additional recommended rules (no-arrow-function-computed-properties, no-deeply-nested-dependent-keys-with-each, no-ember-super-in-es-classes, no-incorrect-calls-with-inline-anonymous-functions, no-invalid-debug-function-arguments, no-new-mixins, no-unnecessary-route-path-option, no-volatile-computed-properties, require-return-from-computed) (@bmish)
  • #487 Remove deprecated rules (avoid-leaking-state-in-components, local-modules, no-get-properties) (@bmish)
  • #485 Drop Node 6 support (@bmish)

Committers: 1

v6.10.1 (2019-08-23)

🐛 Bug Fix

  • #488 Update require-computed-property-dependencies rule to support eslint 3 and 4 (@bmish)

📝 Documentation

  • #489 Document eslint 4 as the minimum supported version (@bmish)

🏠 Internal

  • #482 Start testing plugin under Node 12 (@bmish)

Committers: 1

v6.10.0 (2019-08-19)

🚀 Enhancement

  • #473 Add new no-incorrect-calls-with-inline-anonymous-functions rule (@raycohen)

🐛 Bug Fix

  • #476 Add allowDynamicKeys option (default true) to require-computed-property-dependencies rule (@bmish)

Committers: 2

v6.9.1 (2019-08-14)

🐛 Bug Fix

  • #472 Improve handling of nested keys inside braces for require-computed-property-dependencies rule (@bmish)
  • #471 Improve detection of missing dependencies in require-computed-property-dependencies rule (@bmish)

Committers: 1

v6.9.0 (2019-08-12)

🚀 Enhancement

  • #458 Add new rule require-computed-property-dependencies (@bmish)

🐛 Bug Fix

  • #463 Fix false positives for import statements with use-ember-data-rfc-395-imports rule (@fusion2004)

🏠 Internal

  • #465 Add tests that rules are setup correctly (not missing tests, docs, exports, etc) (@bmish)
  • #466 Fix eslint 6 rule test parser error (@bmish)

Committers: 2

v6.8.2 (2019-08-08)

🐛 Bug Fix

  • #461 Add null check in new-module-imports rule (again) (@bmish)

Committers: 1

v6.8.1 (2019-08-08)

🐛 Bug Fix

Committers: 1

v6.8.0 (2019-08-08)

🚀 Enhancement

📝 Documentation

  • #454 Improve justification for no-observers rule (@efx)

🏠 Internal

Committers: 3

v6.7.1 (2019-07-02)

🐛 Bug Fix

  • #440 Add missing rules classic-decorator-hooks and classic-decorator-no-classic-methods to index.js (@bmish)

Committers: 1

v6.7.0 (2019-06-22)

🚀 Enhancement

  • #436 Adds decorator rules to aid migration to Octane (@pzuraq)
  • #434 Add new no-volatile-computed-properties rule (@bmish)

🐛 Bug Fix

  • #432 Update require-computed-macros rule to suggest the reads macro instead of readOnly for computed properties with return this.x (@bmish)

🏠 Internal

Committers: 4

v6.6.0 (2019-06-16)

🚀 Enhancement

  • #429 Add new require-computed-macros rule (@bmish)

🐛 Bug Fix

  • #428 Fix spread operator bug in no-on-calls-in-components rule (@rajasegar)

📝 Documentation

  • #431 Add link to sendAction deprecation RFC for closure-actions rule (@bmish)

Committers: 2

v6.5.1 (2019-05-27)

🐛 Bug Fix

  • #427 Fix typo in error message for no-get rule (@bmish)

Committers: 1

v6.5.0 (2019-05-26)

🚀 Enhancement

  • #421 Update the no-get rule to also handle the getProperties function, and mark the no-get-properties rule as deprecated (@bmish)
  • #397 Add new computed-property-getters rule (@jrjohnson)

📝 Documentation

Committers: 2

v6.4.1 (2019-04-21)

🐛 Bug Fix

  • #413 Ignore template literals in no-get and no-get-properties rules (@bmish)

Committers: 1

v6.4.0 (2019-04-21)

🚀 Enhancement

🐛 Bug Fix

  • #398 no-unnecessary-route-path-option: fix error when path is undefined (@bmish)

📝 Documentation

Committers: 2

v6.3.0 (2019-03-19)

🚀 Enhancement

  • #369 Add new 'route-path-style' rule (@bmish)
  • #372 Add new 'no-unnecessary-index-route' rule (@bmish)
  • #262 Add new 'require-return-from-computed' rule (@gmurphey)
  • #378 Add new no-unnecessary-service-injection-argument rule (@bmish)

📝 Documentation

  • #395 docs: improve closure-action rule examples (@Caltor)
  • #383 no-deeply-nested-dependent-keys-with-each: Fix documentation examples (@Alonski)

🏠 Internal

  • #386 test: add null output assertions for lint rules / test cases with no autofixer. (@bmish)

Committers: 4

v6.2.0 (2019-01-28)

🚀 Enhancement

  • #375 no-test-and-then: slight optimization (@bmish)
  • #373 no-unnecessary-route-path-option: Add support for --fix (@bmish)
  • #370 Add no-unnecessary-route-path-option rule (@bmish)
  • #365 no-invalid-debug-function-arguments: Use dynamic error message (@bmish)
  • #364 assert-arg-order: Rename to no-invalid-debug-function-arguments and detect invalid usages of deprecate and warn too (@bmish)
  • #358 Add assert-arg-order rule (@bmish)
  • #359 Add no-deeply-nested-dependent-keys-with-each rule (@bmish)
  • #357 Add no-test-and-then rule (@bmish)

🐛 Bug Fix

  • #371 no-test-and-then: Run only on test files (@bmish)
  • #367 no-deeply-nested-dependent-keys-with-each: Fix false positives (@bmish)
  • #366 no-invalid-debug-function-arguments: Fix false positives (@bmish)
  • #362 assert-arg-order: Fix rule for Ember.assert() case (@bmish)

📝 Documentation

  • #380 no-test-and-then: Add migration path docs (@bmish)
  • #368 no-test-and-then: Fix code sample in docs (@bmish)
  • #361 no-deeply-nested-dependent-keys-with-each: Fix docs typo (@bmish)
  • #360 Use more specific array types in util jsdoc comments (@bmish)
  • #355 avoid-leaking-state-in-ember-objects: Show usage example of DEFAULT_IGNORED_PROPERTIES (@yoavfranco)
  • #354 avoid-needs-in-controllers: Add documentation (@quajo)

🏠 Internal

  • #363 no-deeply-nested-dependent-keys-with-each: Add more tests (@bmish)

Committers: 3

v6.1.0 (2018-12-15)

🚀 Enhancement

  • #350 Introduce no-ember-super-in-es-classes rule (@dfreeman)
  • #298 no-jquery: Check for aliased imports from 'jquery' module (@initram)

🐛 Bug Fix

  • #353 Fix error with avoid-leaking-state-in-ember-objects and spread (@nlfurniss)
  • #348 Fix no-restricted-resolver-tests to narrow scope of rule (@scalvert)
  • #332 use-brace-expansion: Limit lint rule to only trigger for computed() but no other macros (@gmurphey)

📝 Documentation

  • #349 Update avoid-leaking-state-in-ember-objects documentation. (@samselikoff)
  • #345 Fix typo on getNoPOJOWithoutIntegrationTrueMessage. (@esbanarango)
  • #341 Clarify no-ember-testing-in-module-scope documentation. (@cibernox)

🏠 Internal

  • #347 TravisCI: Remove deprecated sudo: false option (@Turbo87)

Committers: 9

v6.0.1 (2018-11-16)

🚀 Enhancement

  • #331 Updating no-side-effects to also report on setProperties. (@gmurphey)

🐛 Bug Fix

🏠 Internal

  • #335 Remove outdated .nvmrc file (@Turbo87)
  • #334 package.json: Limit published files to the lib folder (@Turbo87)
  • #336 CI: Use --runInBand option of Jest to speed up tests (@Turbo87)

Committers: 2

v6.0.0 (2018-11-14)

This release includes several changes to the ember/recommended configuration, and drops support for Node.js 4 and ESLint 3.

💥 Breaking Change

🚀 Enhancement

  • #311 Add avoid-using-needs-in-controllers to recommended set. (@rwjblue)
  • #310 Add no-restricted-resolver-tests to recommended. (@rwjblue)
  • #309 Make no-observers rule recommended (@Gaurav0)

Committers: 4

v5.4.0 (2018-11-09)

🚀 Enhancement

🐛 Bug Fix

Committers: 2

v5.3.0 (2018-11-08)

🚀 Enhancement

🐛 Bug Fix

  • #299 Fix issue with no-duplicate-dependent-keys to avoid errors on non-string dependent keys. (@initram)
  • #260 Updating no-side-effects rule to better detect sets inside of blocks. (@gmurphey)
  • #246 Updating no-on-calls-in-components to only fail components using on with lifecylcle hooks. (@patience-tema-baron)

📝 Documentation

  • #276 Add reason for rule no-on-calls-in-components. (@cbou)
  • #277 docs: remove get from closure action example. (@knownasilya)
  • #266 Update no-empty-attrs description. (@locks)

🏠 Internal

  • #280 Clean up a couple of test definitions to unblock update script. (@tmquinn)

Committers: 12

v5.2.0 (2018-05-15)

🚀 Enhancement

  • #142 Port code to ember-rfc176-data new format. (@Serabe)
  • #245 [avoid-leaking-state-in-ember-objects] Expose default ignored properties. (@Kerrick)

📝 Documentation

🏠 Internal

  • #142 Port code to ember-rfc176-data new format. (@Serabe)

Committers: 3

v5.1.1 (2018-05-14)

🐛 Bug Fix

  • #229 Fix no-capital-letters-in-routes so it deals with MemberExpressions. (@nlfurniss)

📝 Documentation

🏠 Internal

Committers: 4

v5.1.0 (2018-03-11)

🚀 Enhancement

🐛 Bug Fix

  • #233 Fix init order in controllers and routes. (@ro0gr)
  • #198 Add new scenarios for require-super-in-init rule. (@clcuevas)
  • #205 add willInsertElement component lifecycle hook. (@hakubo)

Committers: 8

v5.0.3 (2017-12-21)

🐛 Bug Fix

  • #197 Don't fail 'no-global-jquery' if module has both jquery and ember imports. (@danwenzel)

Committers: 1

v5.0.2 (2017-12-18)

🐛 Bug Fix

  • #186 Update no-global-jquery rule to account for new modules import. (@clcuevas)

📝 Documentation

Committers: 2

v5.0.1 (2017-11-20)

🚀 Enhancement

🐛 Bug Fix

  • #184 Prevent error when destructured path is not in known globals.. (@rwjblue)

📝 Documentation

Committers: 6

v5.0.0 (2017-11-20)

  • 📦 - Change recommended rule set to match eslint pattern of only including rules that prevent errors (and specifically excluding stylistic rules).
    • ❌ - Remove alias-model-in-controller from ember/recommended rule set.
    • ❌ - Remove avoid-leaking-state-in-components from ember/recommended rule set.
    • ❌ - Remove named-functions-in-promises from ember/recommended rule set.
    • ❌ - Remove no-empty-attrs from ember/recommended rule set.
    • ❌ - Remove no-observers from ember/recommended rule set.
    • ❌ - Remove use-ember-get-and-set from ember/recommended rule set.
    • ❌ - Remove order-in-components from ember/recommended rule set.
    • ❌ - Remove order-in-controllers from ember/recommended rule set.
    • ❌ - Remove order-in-models from ember/recommended rule set.
    • ❌ - Remove order-in-routes from ember/recommended rule set.
    • ✅ - Add avoid-leaking-state-in-ember-objects to ember/recommended rule set.
    • ✅ - Add new-module-imports to ember/recommended rule set.
    • ✅ - Add no-attrs-in-components to ember/recommended rule set.
    • ✅ - Add no-duplicate-dependent-keys from ember/recommended rule set.
    • ✅ - Add no-global-jquery to ember/recommended rule set.
    • ✅ - Add no-old-shims to ember/recommended rule set.
    • ✅ - Add require-super-in-init to ember/recommended rule set.

💥 Breaking Change

🚀 Enhancement

📝 Documentation

Committers: 9

v4.6.2 (2017-11-15)

🚀 Enhancement

🐛 Bug Fix

📝 Documentation

🏠 Internal

Committers: 9

v4.6.1 (2017-11-06)

🐛 Bug Fix

  • #160 ignore tagged templates for avoid-leaking-state-in-ember-objects rule. (@amk221)

Committers: 1

v4.6.0 (2017-11-03)

🚀 Enhancement

📝 Documentation

Committers: 3

v4.5.0 (2017-09-02)

🚀 Enhancement

  • #121 Add rule to disallow this.$ to prepare apps to remove jQuery. (@cibernox)

Committers: 1

v4.4.0 (2017-09-02)

🚀 Enhancement

🐛 Bug Fix

  • #132 Don't report on Ember method calls in use-ember-get-and-set. (@sudowork)

🏠 Internal

Committers: 4

v4.3.0 (2017-08-15)

🚀 Enhancement

🐛 Bug Fix

  • #107 Don't suggest nested property brace expansion. (@Kerrick)

📝 Documentation

🏠 Internal

Committers: 6

v4.2.0 (2017-08-03)

🚀 Enhancement

🏠 Internal

Committers: 2

v4.1.3 (2017-08-01)

🐛 Bug Fix

Committers: 1

v4.1.1 (2017-08-01)

🚀 Enhancement

🐛 Bug Fix

  • #111 Add solution for service ordering when new module imports used. (@jbandura)
  • #98 Detecting computed properties with MemberExpressions. (@jbandura)

📝 Documentation

Committers: 4

v3.6.2 (2017-07-13)

🐛 Bug Fix

  • #93 Make sure negative values are treated as properties. (@jbandura)

Committers: 1

v3.6.1 (2017-07-11)

🐛 Bug Fix

  • #94 Fix method of detecting whether route segment present. (@jbandura)

Committers: 1

v3.6.0 (2017-07-10)

🚀 Enhancement

🏠 Internal

Committers: 1

v3.5.0 (2017-06-26)

🚀 Enhancement

Committers: 2

v3.4.1 (2017-05-30)

🐛 Bug Fix

  • #74 Revert "Make it available on emberobserver.com". (@Turbo87)

Committers: 1

v3.4.0 (2017-05-27)

🚀 Enhancement

Committers: 1

v3.3.0 (2017-05-24)

🚀 Enhancement

  • #64 Allow concise ArrowFunctionExpression (named-functions-in-promises). (@sudowork)
  • #66 Support tagged templates expressions. (@michalsnik)

📝 Documentation

Committers: 3

v3.2.0 (2017-05-23)

🚀 Enhancement

  • #60 alias-model-in-controller should support readOnly and reads. (@michalsnik)
  • #46 Fix typo in documentation: rename 'no-side-effect' to 'no-side-effects'. (@RusPosevkin)

📝 Documentation

🏠 Internal

Committers: 4

v3.1.2 (2017-03-24)

🚀 Enhancement

📝 Documentation

Committers: 2

v3.1.1 (2017-03-16)

🚀 Enhancement

Committers: 1

v3.1.0 (2017-03-16)

🚀 Enhancement

  • #37 27 / Detect module types based on their files' path. (@michalsnik)

Committers: 1

v3.0.2 (2017-03-08)

🚀 Enhancement

📝 Documentation

  • #35 Typo in docs / closure-actions.md. (@nfc036)
  • #36 Remove remaining references to "query-params-on-top" rule. (@Turbo87)

Committers: 3

v3.0.0 (2017-02-20)

🚀 Enhancement

🏠 Internal

Committers: 1

v2.2.2 (2017-02-15)

🚀 Enhancement

  • #31 Treat conditional expressions as custom properties. (@michalsnik)

Committers: 1

v2.2.1 (2017-02-15)

🐛 Bug Fix

  • #30 Check only model's properties against no-empty-attrs rule. (@michalsnik)

Committers: 1

v2.2.0 (2017-02-14)

🚀 Enhancement

  • #23 Improved error messages for order-in rules. (@Turbo87)

Committers: 1

v2.1.1 (2017-02-07)

🐛 Bug Fix

📝 Documentation

Committers: 2

v2.1.0 (2017-02-05)

🚀 Enhancement

  • #15 Report correct positions for "order-in-*" rules. (@Turbo87)

📝 Documentation

🏠 Internal

Committers: 4

v2.0.1 (2017-01-16)

🐛 Bug Fix

  • #3 Fix error in 'use-brace-expansion' rule. (@dwickern)

Committers: 1

v2.0.0 (2016-12-30)

🚀 Enhancement

🐛 Bug Fix

  • False positive for no-empty-attrs. (@bdmac)
  • order-in-controllers vs query-params-on-top. (@michalsnik)
  • #16 Fix named-functions-in-promises rule. (@michalsnik)

📝 Documentation

🏠 Internal

Committers: 9