All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.sonar.l10n.javascript.rules.eslint.ember.json Maven / Gradle / Ivy

There is a newer version: 10.17.0.28100
Show newest version
[
  {
    "key": "ember/alias-model-in-controller",
    "name": "enforce aliasing model in controllers",
    "description": "See description of ESLint rule ember/alias-model-in-controller at the eslint-plugin-ember website"
  },
  {
    "key": "ember/avoid-leaking-state-in-ember-objects",
    "name": "disallow state leakage",
    "type": "BUG",
    "description": "See description of ESLint rule ember/avoid-leaking-state-in-ember-objects at the eslint-plugin-ember website"
  },
  {
    "key": "ember/avoid-using-needs-in-controllers",
    "name": "disallow using `needs` in controllers",
    "description": "See description of ESLint rule ember/avoid-using-needs-in-controllers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/classic-decorator-hooks",
    "name": "enforce using correct hooks for both classic and non-classic classes",
    "type": "BUG",
    "description": "See description of ESLint rule ember/classic-decorator-hooks at the eslint-plugin-ember website"
  },
  {
    "key": "ember/classic-decorator-no-classic-methods",
    "name": "disallow usage of classic APIs such as `get`/`set` in classes that aren't explicitly decorated with `@classic`",
    "type": "BUG",
    "description": "See description of ESLint rule ember/classic-decorator-no-classic-methods at the eslint-plugin-ember website"
  },
  {
    "key": "ember/closure-actions",
    "name": "enforce usage of closure actions",
    "description": "See description of ESLint rule ember/closure-actions at the eslint-plugin-ember website"
  },
  {
    "key": "ember/computed-property-getters",
    "name": "enforce the consistent use of getters in computed properties",
    "description": "See description of ESLint rule ember/computed-property-getters at the eslint-plugin-ember website"
  },
  {
    "key": "ember/jquery-ember-run",
    "name": "disallow usage of jQuery without an Ember run loop",
    "type": "BUG",
    "description": "See description of ESLint rule ember/jquery-ember-run at the eslint-plugin-ember website"
  },
  {
    "key": "ember/named-functions-in-promises",
    "name": "enforce usage of named functions in promises",
    "description": "See description of ESLint rule ember/named-functions-in-promises at the eslint-plugin-ember website"
  },
  {
    "key": "ember/new-module-imports",
    "name": "enforce using \"New Module Imports\" from Ember RFC #176",
    "type": "BUG",
    "description": "See description of ESLint rule ember/new-module-imports at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-actions-hash",
    "name": "disallow the actions hash in components, controllers, and routes",
    "description": "See description of ESLint rule ember/no-actions-hash at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-array-prototype-extensions",
    "name": "disallow usage of Ember's `Array` prototype extensions",
    "description": "See description of ESLint rule ember/no-array-prototype-extensions at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-arrow-function-computed-properties",
    "name": "disallow arrow functions in computed properties",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-arrow-function-computed-properties at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-assignment-of-untracked-properties-used-in-tracking-contexts",
    "name": "disallow assignment of untracked properties that are used as computed property dependencies",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-assignment-of-untracked-properties-used-in-tracking-contexts at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-at-ember-render-modifiers",
    "name": "disallow importing from @ember/render-modifiers",
    "description": "See description of ESLint rule ember/no-at-ember-render-modifiers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-attrs-in-components",
    "name": "disallow usage of `this.attrs` in components",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-attrs-in-components at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-attrs-snapshot",
    "name": "disallow use of attrs snapshot in the `didReceiveAttrs` and `didUpdateAttrs` component hooks",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-attrs-snapshot at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-capital-letters-in-routes",
    "name": "disallow routes with uppercased letters in router.js",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-capital-letters-in-routes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-classic-classes",
    "name": "disallow \"classic\" classes in favor of native JS classes",
    "description": "See description of ESLint rule ember/no-classic-classes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-classic-components",
    "name": "enforce using Glimmer components",
    "description": "See description of ESLint rule ember/no-classic-components at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-component-lifecycle-hooks",
    "name": "disallow usage of \"classic\" ember component lifecycle hooks. Render modifiers or custom functional modifiers should be used instead.",
    "description": "See description of ESLint rule ember/no-component-lifecycle-hooks at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-computed-properties-in-native-classes",
    "name": "disallow using computed properties in native classes",
    "description": "See description of ESLint rule ember/no-computed-properties-in-native-classes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-controller-access-in-routes",
    "name": "disallow routes from accessing the controller outside of setupController/resetController",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-controller-access-in-routes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-controllers",
    "name": "disallow non-essential controllers",
    "description": "See description of ESLint rule ember/no-controllers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-current-route-name",
    "name": "disallow usage of the `currentRouteName()` test helper",
    "description": "See description of ESLint rule ember/no-current-route-name at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-deeply-nested-dependent-keys-with-each",
    "name": "disallow usage of deeply-nested computed property dependent keys with `@each`",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-deeply-nested-dependent-keys-with-each at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-deprecated-router-transition-methods",
    "name": "enforce usage of router service transition methods",
    "description": "See description of ESLint rule ember/no-deprecated-router-transition-methods at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-duplicate-dependent-keys",
    "name": "disallow repeating computed property dependent keys",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-duplicate-dependent-keys at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-ember-super-in-es-classes",
    "name": "disallow use of `this._super` in ES class methods",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-ember-super-in-es-classes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-ember-testing-in-module-scope",
    "name": "disallow use of `Ember.testing` in module scope",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-ember-testing-in-module-scope at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-empty-attrs",
    "name": "disallow usage of empty attributes in Ember Data models",
    "description": "See description of ESLint rule ember/no-empty-attrs at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-empty-glimmer-component-classes",
    "name": "disallow empty backing classes for Glimmer components",
    "description": "See description of ESLint rule ember/no-empty-glimmer-component-classes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-function-prototype-extensions",
    "name": "disallow usage of Ember's `function` prototype extensions",
    "description": "See description of ESLint rule ember/no-function-prototype-extensions at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-get-with-default",
    "name": "disallow usage of the Ember's `getWithDefault` function",
    "description": "See description of ESLint rule ember/no-get-with-default at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-get",
    "name": "require using ES5 getters instead of Ember's `get` / `getProperties` functions",
    "description": "See description of ESLint rule ember/no-get at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-global-jquery",
    "name": "disallow usage of global jQuery object",
    "description": "See description of ESLint rule ember/no-global-jquery at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-html-safe",
    "name": "disallow the use of `htmlSafe`",
    "description": "See description of ESLint rule ember/no-html-safe at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-implicit-injections",
    "name": "enforce usage of implicit service injections",
    "description": "See description of ESLint rule ember/no-implicit-injections at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-implicit-service-injection-argument",
    "name": "disallow omitting the injected service name argument",
    "description": "See description of ESLint rule ember/no-implicit-service-injection-argument at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-incorrect-calls-with-inline-anonymous-functions",
    "name": "disallow inline anonymous functions as arguments to `debounce`, `once`, and `scheduleOnce`",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-incorrect-calls-with-inline-anonymous-functions at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-incorrect-computed-macros",
    "name": "disallow incorrect usage of computed property macros",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-incorrect-computed-macros at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-invalid-debug-function-arguments",
    "name": "disallow usages of Ember's `assert()` / `warn()` / `deprecate()` functions that have the arguments passed in the wrong order.",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-invalid-debug-function-arguments at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-invalid-dependent-keys",
    "name": "disallow invalid dependent keys in computed properties",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-invalid-dependent-keys at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-invalid-test-waiters",
    "name": "disallow incorrect usage of test waiter APIs",
    "description": "See description of ESLint rule ember/no-invalid-test-waiters at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-jquery",
    "name": "disallow any usage of jQuery",
    "description": "See description of ESLint rule ember/no-jquery at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-legacy-test-waiters",
    "name": "disallow the use of the legacy test waiter APIs",
    "description": "See description of ESLint rule ember/no-legacy-test-waiters at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-mixins",
    "name": "disallow the usage of mixins",
    "description": "See description of ESLint rule ember/no-mixins at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-new-mixins",
    "name": "disallow the creation of new mixins",
    "description": "See description of ESLint rule ember/no-new-mixins at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-noop-setup-on-error-in-before",
    "name": "disallows using no-op setupOnerror in `before` or `beforeEach`",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-noop-setup-on-error-in-before at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-observers",
    "name": "disallow usage of observers",
    "description": "See description of ESLint rule ember/no-observers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-old-shims",
    "name": "disallow usage of old shims for modules",
    "description": "See description of ESLint rule ember/no-old-shims at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-on-calls-in-components",
    "name": "disallow usage of `on` to call lifecycle hooks in components",
    "description": "See description of ESLint rule ember/no-on-calls-in-components at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-pause-test",
    "name": "disallow usage of the `pauseTest` helper in tests",
    "description": "See description of ESLint rule ember/no-pause-test at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-private-routing-service",
    "name": "disallow injecting the private routing service",
    "description": "See description of ESLint rule ember/no-private-routing-service at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-proxies",
    "name": "disallow using array or object proxies",
    "description": "See description of ESLint rule ember/no-proxies at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-replace-test-comments",
    "name": "disallow 'Replace this with your real tests' comments in test files",
    "description": "See description of ESLint rule ember/no-replace-test-comments at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-restricted-property-modifications",
    "name": "disallow modifying the specified properties",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-restricted-property-modifications at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-restricted-resolver-tests",
    "name": "disallow the use of patterns that use the restricted resolver in tests",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-restricted-resolver-tests at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-restricted-service-injections",
    "name": "disallow injecting certain services under certain paths",
    "description": "See description of ESLint rule ember/no-restricted-service-injections at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-runloop",
    "name": "disallow usage of `@ember/runloop` functions",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-runloop at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-settled-after-test-helper",
    "name": "disallow usage of `await settled()` right after test helper that calls it internally",
    "description": "See description of ESLint rule ember/no-settled-after-test-helper at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-shadow-route-definition",
    "name": "enforce no route path definition shadowing",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-shadow-route-definition at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-side-effects",
    "name": "disallow unexpected side effects in computed properties",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-side-effects at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-string-prototype-extensions",
    "name": "disallow usage of `String` prototype extensions",
    "description": "See description of ESLint rule ember/no-string-prototype-extensions at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-test-and-then",
    "name": "disallow usage of the `andThen` test wait helper",
    "description": "See description of ESLint rule ember/no-test-and-then at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-test-import-export",
    "name": "disallow importing of \"-test.js\" in a test file and exporting from a test file",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-test-import-export at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-test-module-for",
    "name": "disallow usage of `moduleFor`, `moduleForComponent`, etc",
    "description": "See description of ESLint rule ember/no-test-module-for at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-test-support-import",
    "name": "disallow importing of \"test-support\" files in production code.",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-test-support-import at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-test-this-render",
    "name": "disallow usage of the `this.render` in tests, recommending to use @ember/test-helpers' `render` instead.",
    "description": "See description of ESLint rule ember/no-test-this-render at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-tracked-properties-from-args",
    "name": "disallow creating @tracked properties from this.args",
    "type": "BUG",
    "description": "See description of ESLint rule ember/no-tracked-properties-from-args at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-try-invoke",
    "name": "disallow usage of the Ember's `tryInvoke` util",
    "description": "See description of ESLint rule ember/no-try-invoke at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-unnecessary-index-route",
    "name": "disallow unnecessary `index` route definition",
    "description": "See description of ESLint rule ember/no-unnecessary-index-route at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-unnecessary-route-path-option",
    "name": "disallow unnecessary usage of the route `path` option",
    "description": "See description of ESLint rule ember/no-unnecessary-route-path-option at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-unnecessary-service-injection-argument",
    "name": "disallow unnecessary argument when injecting services",
    "description": "See description of ESLint rule ember/no-unnecessary-service-injection-argument at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-unused-services",
    "name": "disallow unused service injections (see rule doc for limitations)",
    "description": "See description of ESLint rule ember/no-unused-services at the eslint-plugin-ember website"
  },
  {
    "key": "ember/no-volatile-computed-properties",
    "name": "disallow volatile computed properties",
    "description": "See description of ESLint rule ember/no-volatile-computed-properties at the eslint-plugin-ember website"
  },
  {
    "key": "ember/order-in-components",
    "name": "enforce proper order of properties in components",
    "description": "See description of ESLint rule ember/order-in-components at the eslint-plugin-ember website"
  },
  {
    "key": "ember/order-in-controllers",
    "name": "enforce proper order of properties in controllers",
    "description": "See description of ESLint rule ember/order-in-controllers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/order-in-models",
    "name": "enforce proper order of properties in models",
    "description": "See description of ESLint rule ember/order-in-models at the eslint-plugin-ember website"
  },
  {
    "key": "ember/order-in-routes",
    "name": "enforce proper order of properties in routes",
    "description": "See description of ESLint rule ember/order-in-routes at the eslint-plugin-ember website"
  },
  {
    "key": "ember/prefer-ember-test-helpers",
    "name": "enforce usage of `@ember/test-helpers` methods over native window methods",
    "description": "See description of ESLint rule ember/prefer-ember-test-helpers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-computed-macros",
    "name": "require using computed property macros when possible",
    "description": "See description of ESLint rule ember/require-computed-macros at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-computed-property-dependencies",
    "name": "require dependencies to be declared statically in computed properties",
    "type": "BUG",
    "description": "See description of ESLint rule ember/require-computed-property-dependencies at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-fetch-import",
    "name": "enforce explicit import for `fetch()`",
    "description": "See description of ESLint rule ember/require-fetch-import at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-return-from-computed",
    "name": "disallow missing return statements in computed properties",
    "type": "BUG",
    "description": "See description of ESLint rule ember/require-return-from-computed at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-super-in-lifecycle-hooks",
    "name": "require super to be called in lifecycle hooks",
    "type": "BUG",
    "description": "See description of ESLint rule ember/require-super-in-lifecycle-hooks at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-tagless-components",
    "name": "disallow using the wrapper element of a component",
    "description": "See description of ESLint rule ember/require-tagless-components at the eslint-plugin-ember website"
  },
  {
    "key": "ember/require-valid-css-selector-in-test-helpers",
    "name": "disallow using invalid CSS selectors in test helpers",
    "type": "BUG",
    "description": "See description of ESLint rule ember/require-valid-css-selector-in-test-helpers at the eslint-plugin-ember website"
  },
  {
    "key": "ember/route-path-style",
    "name": "enforce usage of kebab-case (instead of snake_case or camelCase) in route paths",
    "description": "See description of ESLint rule ember/route-path-style at the eslint-plugin-ember website"
  },
  {
    "key": "ember/routes-segments-snake-case",
    "name": "enforce usage of snake_cased dynamic segments in routes",
    "description": "See description of ESLint rule ember/routes-segments-snake-case at the eslint-plugin-ember website"
  },
  {
    "key": "ember/use-brace-expansion",
    "name": "enforce usage of brace expansion in computed property dependent keys",
    "description": "See description of ESLint rule ember/use-brace-expansion at the eslint-plugin-ember website"
  },
  {
    "key": "ember/use-ember-data-rfc-395-imports",
    "name": "enforce usage of `@ember-data/` package imports instead `ember-data`",
    "description": "See description of ESLint rule ember/use-ember-data-rfc-395-imports at the eslint-plugin-ember website"
  },
  {
    "key": "ember/use-ember-get-and-set",
    "name": "enforce usage of `Ember.get` and `Ember.set`",
    "description": "See description of ESLint rule ember/use-ember-get-and-set at the eslint-plugin-ember website"
  }
]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy