diff --git a/lib/rules/alias-model-in-controller.js b/lib/rules/alias-model-in-controller.js index 2bfca79423..43a08881c9 100644 --- a/lib/rules/alias-model-in-controller.js +++ b/lib/rules/alias-model-in-controller.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: 'Enforces aliasing model in controller', category: 'Best Practices', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/alias-model-in-controller.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/avoid-leaking-state-in-components.js b/lib/rules/avoid-leaking-state-in-components.js index 49138f3d6d..86024d97f1 100644 --- a/lib/rules/avoid-leaking-state-in-components.js +++ b/lib/rules/avoid-leaking-state-in-components.js @@ -14,6 +14,7 @@ module.exports = { category: 'Possible Errors', recommended: false, replacedBy: ['avoid-leaking-state-in-ember-objects'], + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/avoid-leaking-state-in-components.md' }, fixable: null, // or "code" or "whitespace" deprecated: true, diff --git a/lib/rules/avoid-leaking-state-in-ember-objects.js b/lib/rules/avoid-leaking-state-in-ember-objects.js index dde58b9099..2e186967c1 100644 --- a/lib/rules/avoid-leaking-state-in-ember-objects.js +++ b/lib/rules/avoid-leaking-state-in-ember-objects.js @@ -39,7 +39,8 @@ module.exports = { docs: { description: 'Avoids state leakage', category: 'Ember Object', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/avoid-leaking-state-in-ember-objects.md' }, fixable: null, // or "code" or "whitespace" schema: [{ diff --git a/lib/rules/closure-actions.js b/lib/rules/closure-actions.js index 28fcdd965a..8606124250 100644 --- a/lib/rules/closure-actions.js +++ b/lib/rules/closure-actions.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Enforces usage of closure actions', category: 'Best Practices', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/closure-actions.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/jquery-ember-run.js b/lib/rules/jquery-ember-run.js index 5a342cc37b..c3174b781a 100644 --- a/lib/rules/jquery-ember-run.js +++ b/lib/rules/jquery-ember-run.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: 'Prevents usage of jQuery without Ember Run Loop', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/jquery-ember-run.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/local-modules.js b/lib/rules/local-modules.js index 77a8845955..6e6200d1ef 100644 --- a/lib/rules/local-modules.js +++ b/lib/rules/local-modules.js @@ -13,6 +13,7 @@ module.exports = { category: 'Best Practices', recommended: false, replacedBy: ['new-module-imports'], + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/local-modules.md' }, deprecated: true, fixable: null, // or "code" or "whitespace" diff --git a/lib/rules/named-functions-in-promises.js b/lib/rules/named-functions-in-promises.js index 37bad47892..8ee578437b 100644 --- a/lib/rules/named-functions-in-promises.js +++ b/lib/rules/named-functions-in-promises.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Enforces usage of named functions in promises', category: 'Best Practices', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/named-functions-in-promises.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/new-module-imports.js b/lib/rules/new-module-imports.js index c650f564e6..7187d0c3ca 100644 --- a/lib/rules/new-module-imports.js +++ b/lib/rules/new-module-imports.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: ' Use "New Module Imports" from Ember RFC #176', category: 'Best Practices', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/new-module-imports.md' }, }, diff --git a/lib/rules/no-attrs-in-components.js b/lib/rules/no-attrs-in-components.js index 79cfc26f36..151d377e01 100644 --- a/lib/rules/no-attrs-in-components.js +++ b/lib/rules/no-attrs-in-components.js @@ -13,7 +13,8 @@ module.exports = { docs: { description: 'Disallow usage of this.attrs in components', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-attrs-in-components.md' }, fixable: null, }, diff --git a/lib/rules/no-attrs-snapshot.js b/lib/rules/no-attrs-snapshot.js index 8c66fe14de..20bd2f3716 100644 --- a/lib/rules/no-attrs-snapshot.js +++ b/lib/rules/no-attrs-snapshot.js @@ -14,7 +14,8 @@ module.exports = { docs: { description: 'Disallow use of attrs snapshot in `didReceiveAttrs` and `didUpdateAttrs`', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-attrs-snapshot.md' }, fixable: null, // or "code" or "whitespace" message diff --git a/lib/rules/no-capital-letters-in-routes.js b/lib/rules/no-capital-letters-in-routes.js index d6df81fe2f..1f1111e140 100644 --- a/lib/rules/no-capital-letters-in-routes.js +++ b/lib/rules/no-capital-letters-in-routes.js @@ -11,6 +11,7 @@ module.exports = { description: 'Raise an error when there is a route with uppercased letters in router.js', category: 'Possible Errors', recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-capital-letters-in-routes.md' }, fixable: null, // or "code" or "whitespace" schema: [], diff --git a/lib/rules/no-duplicate-dependent-keys.js b/lib/rules/no-duplicate-dependent-keys.js index d77556c4ce..07f77dafd7 100644 --- a/lib/rules/no-duplicate-dependent-keys.js +++ b/lib/rules/no-duplicate-dependent-keys.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: 'Disallow repeating dependent keys', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-duplicate-dependent-keys.md' }, fixable: null, message: MESSAGE, diff --git a/lib/rules/no-empty-attrs.js b/lib/rules/no-empty-attrs.js index a177bddf82..993fb2a0e2 100644 --- a/lib/rules/no-empty-attrs.js +++ b/lib/rules/no-empty-attrs.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Prevents usage of empty attributes in ember data models', category: 'Best Practices', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-empty-attrs.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/no-function-prototype-extensions.js b/lib/rules/no-function-prototype-extensions.js index aeb0e9c840..af62629784 100644 --- a/lib/rules/no-function-prototype-extensions.js +++ b/lib/rules/no-function-prototype-extensions.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Prevents usage of Ember\'s `function` prototype extensions', category: 'Best Practices', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-function-prototype-extensions.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/no-global-jquery.js b/lib/rules/no-global-jquery.js index 1ab6c85e65..93643dcc69 100644 --- a/lib/rules/no-global-jquery.js +++ b/lib/rules/no-global-jquery.js @@ -16,6 +16,7 @@ module.exports = { description: 'Prevents usage of global jQuery object', category: 'Best Practices', recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-global-jquery.md' }, fixable: null, // or "code" or "whitespace" message: MESSAGE, diff --git a/lib/rules/no-jquery.js b/lib/rules/no-jquery.js index 41ec7f956f..3eabb68adc 100644 --- a/lib/rules/no-jquery.js +++ b/lib/rules/no-jquery.js @@ -15,7 +15,8 @@ module.exports = { docs: { description: 'Disallow any usage of jQuery', category: 'Best Practices', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-jquery.md' }, fixable: null, // or "code" or "whitespace" message diff --git a/lib/rules/no-observers.js b/lib/rules/no-observers.js index 56c2b73ca9..fc8fec72fe 100644 --- a/lib/rules/no-observers.js +++ b/lib/rules/no-observers.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Prevents usage of observers', category: 'Best Practices', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-observers.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/no-old-shims.js b/lib/rules/no-old-shims.js index 87237df1d3..6398db4268 100644 --- a/lib/rules/no-old-shims.js +++ b/lib/rules/no-old-shims.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Prevents usage of old shims for modules', category: 'Best Practices', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-old-shims.md' }, fixable: 'code', }, diff --git a/lib/rules/no-on-calls-in-components.js b/lib/rules/no-on-calls-in-components.js index eaf25a9bab..a2be6b9529 100644 --- a/lib/rules/no-on-calls-in-components.js +++ b/lib/rules/no-on-calls-in-components.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: 'Prevents usage of `on` calls in components', category: 'Best Practices', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-on-calls-in-components.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/no-side-effects.js b/lib/rules/no-side-effects.js index a58f0e84ce..3415d11e3a 100644 --- a/lib/rules/no-side-effects.js +++ b/lib/rules/no-side-effects.js @@ -11,7 +11,8 @@ module.exports = { docs: { description: 'Warns about unexpected side effects in computed properties', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/no-side-effects.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/order-in-components.js b/lib/rules/order-in-components.js index fa7482328b..a7fc7d2dfb 100644 --- a/lib/rules/order-in-components.js +++ b/lib/rules/order-in-components.js @@ -37,7 +37,8 @@ module.exports = { docs: { description: 'Enforces proper order of properties in components', category: 'Stylistic Issues', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/order-in-components.md' }, fixable: null // or "code" or "whitespace" }, diff --git a/lib/rules/order-in-controllers.js b/lib/rules/order-in-controllers.js index b253c05f75..25bba9a8f9 100644 --- a/lib/rules/order-in-controllers.js +++ b/lib/rules/order-in-controllers.js @@ -28,7 +28,8 @@ module.exports = { docs: { description: 'Enforces proper order of properties in controllers', category: 'Stylistic Issues', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/order-in-controllers.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/order-in-models.js b/lib/rules/order-in-models.js index bc68861179..b53992c303 100644 --- a/lib/rules/order-in-models.js +++ b/lib/rules/order-in-models.js @@ -23,7 +23,8 @@ module.exports = { docs: { description: 'Enforces proper order of properties in models', category: 'Stylistic Issues', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/order-in-models.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/order-in-routes.js b/lib/rules/order-in-routes.js index 1be004f966..58df48b7fb 100644 --- a/lib/rules/order-in-routes.js +++ b/lib/rules/order-in-routes.js @@ -35,7 +35,8 @@ module.exports = { docs: { description: 'Enforces proper order of properties in routes', category: 'Stylistic Issues', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/order-in-routes.md' }, fixable: null // or "code" or "whitespace" }, diff --git a/lib/rules/require-super-in-init.js b/lib/rules/require-super-in-init.js index 8b0f6670d2..773e5a68b2 100644 --- a/lib/rules/require-super-in-init.js +++ b/lib/rules/require-super-in-init.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: 'Enforces super calls in init hooks', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/require-super-in-init.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/routes-segments-snake-case.js b/lib/rules/routes-segments-snake-case.js index 383c6f777c..9249777465 100644 --- a/lib/rules/routes-segments-snake-case.js +++ b/lib/rules/routes-segments-snake-case.js @@ -13,7 +13,8 @@ module.exports = { docs: { description: 'Enforces usage of snake_cased dynamic segments in routes', category: 'Possible Errors', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/routes-segments-snake-case.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/use-brace-expansion.js b/lib/rules/use-brace-expansion.js index 5bce3b3a18..c98898b51e 100644 --- a/lib/rules/use-brace-expansion.js +++ b/lib/rules/use-brace-expansion.js @@ -12,7 +12,8 @@ module.exports = { docs: { description: 'Enforces usage of brace expansion', category: 'Stylistic Issues', - recommended: true + recommended: true, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/use-brace-expansion.md' }, fixable: null, // or "code" or "whitespace" }, diff --git a/lib/rules/use-ember-get-and-set.js b/lib/rules/use-ember-get-and-set.js index 1e0446c2ec..b78f2fb81e 100644 --- a/lib/rules/use-ember-get-and-set.js +++ b/lib/rules/use-ember-get-and-set.js @@ -17,7 +17,8 @@ module.exports = { docs: { description: 'Enforces usage of Ember.get and Ember.set', category: 'Best Practices', - recommended: false + recommended: false, + url: 'https://github.com/ember-cli/eslint-plugin-ember/tree/master/docs/rules/use-ember-get-and-set.md' }, fixable: 'code', },