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

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

There is a newer version: 10.20.0.29356
Show newest version
[
  {
    "key": "angular/avoid-scope-typos",
    "type": "BUG",
    "name": "Avoid mistakes when naming methods defined on the scope object",
    "description": "See description of ESLint rule angular/avoid-scope-typos at the eslint-plugin-angular website."
  },
  {
    "key": "angular/module-getter",
    "type": "BUG",
    "name": "Disallow to reference modules with variables and require to use the getter syntax instead angular.module('myModule')",
    "description": "See description of ESLint rule angular/module-getter at the eslint-plugin-angular website."
  },
  {
    "key": "angular/module-setter",
    "type": "BUG",
    "name": "Disallow to assign modules to variables (linked to module-getter)",
    "description": "See description of ESLint rule angular/module-setter at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-private-call",
    "type": "BUG",
    "name": "Disallow use of internal angular properties prefixed with $$",
    "description": "See description of ESLint rule angular/no-private-call at the eslint-plugin-angular website."
  },
  {
    "key": "angular/component-limit",
    "name": "Limit the number of angular components per file",
    "description": "See description of ESLint rule angular/component-limit at the eslint-plugin-angular website."
  },
  {
    "key": "angular/controller-as-route",
    "name": "Require the use of controllerAs in routes or states",
    "description": "See description of ESLint rule angular/controller-as-route at the eslint-plugin-angular website."
  },
  {
    "key": "angular/controller-as-vm",
    "name": "Require and specify a capture variable for this in controllers",
    "description": "See description of ESLint rule angular/controller-as-vm at the eslint-plugin-angular website."
  },
  {
    "key": "angular/controller-as",
    "name": "Disallow assignments to $scope in controllers",
    "description": "See description of ESLint rule angular/controller-as at the eslint-plugin-angular website."
  },
  {
    "key": "angular/deferred",
    "name": "Use $q(function(resolve, reject){}) instead of $q.deferred",
    "description": "See description of ESLint rule angular/deferred at the eslint-plugin-angular website."
  },
  {
    "key": "angular/di-unused",
    "name": "Disallow unused DI parameters",
    "description": "See description of ESLint rule angular/di-unused at the eslint-plugin-angular website."
  },
  {
    "key": "angular/directive-restrict",
    "name": "Disallow any other directive restrict than 'A' or 'E'",
    "description": "See description of ESLint rule angular/directive-restrict at the eslint-plugin-angular website."
  },
  {
    "key": "angular/empty-controller",
    "name": "Disallow empty controllers",
    "description": "See description of ESLint rule angular/empty-controller at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-controller",
    "name": "Disallow use of controllers (according to the component first pattern)",
    "description": "See description of ESLint rule angular/no-controller at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-inline-template",
    "name": "Disallow the use of inline templates",
    "description": "See description of ESLint rule angular/no-inline-template at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-run-logic",
    "name": "Keep run functions clean and simple",
    "description": "See description of ESLint rule angular/no-run-logic at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-services",
    "name": "Disallow DI of specified services for other angular components ($http for controllers, filters and directives)",
    "description": "See description of ESLint rule angular/no-services at the eslint-plugin-angular website."
  },
  {
    "key": "angular/on-watch",
    "name": "Require $on and $watch deregistration callbacks to be saved in a variable",
    "description": "See description of ESLint rule angular/on-watch at the eslint-plugin-angular website."
  },
  {
    "key": "angular/prefer-component",
    "name": "Directive should be implemented with the component method",
    "description": "See description of ESLint rule angular/prefer-component at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-cookiestore",
    "name": "Use $cookies instead of $cookieStore",
    "description": "See description of ESLint rule angular/no-cookiestore at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-directive-replace",
    "name": "Disallow the deprecated directive replace property",
    "description": "See description of ESLint rule angular/no-directive-replace at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-http-callback",
    "name": "Disallow the $http methods success() and error()",
    "description": "See description of ESLint rule angular/no-http-callback at the eslint-plugin-angular website."
  },
  {
    "key": "angular/component-name",
    "name": "Require and specify a prefix for all component names",
    "description": "See description of ESLint rule angular/component-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/constant-name",
    "name": "Require and specify a prefix for all constant names",
    "description": "See description of ESLint rule angular/constant-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/controller-name",
    "name": "Require and specify a prefix for all controller names ",
    "description": "See description of ESLint rule angular/controller-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/directive-name",
    "name": "Require and specify a prefix for all directive names ",
    "description": "See description of ESLint rule angular/directive-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/factory-name",
    "name": "Require and specify a prefix for all factory names",
    "description": "See description of ESLint rule angular/factory-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/file-name",
    "name": "Require and specify a consistent component name pattern ",
    "description": "See description of ESLint rule angular/file-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/filter-name",
    "name": "Require and specify a prefix for all filter names",
    "description": "See description of ESLint rule angular/filter-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/module-name",
    "name": "Require and specify a prefix for all module names",
    "description": "See description of ESLint rule angular/module-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/provider-name",
    "name": "Require and specify a prefix for all provider names",
    "description": "See description of ESLint rule angular/provider-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/service-name",
    "name": "Require and specify a prefix for all service names",
    "description": "See description of ESLint rule angular/service-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/value-name",
    "name": "Require and specify a prefix for all value names",
    "description": "See description of ESLint rule angular/value-name at the eslint-plugin-angular website."
  },
  {
    "key": "angular/di-order",
    "name": "Require DI parameters to be sorted alphabetically",
    "description": "See description of ESLint rule angular/di-order at the eslint-plugin-angular website."
  },
  {
    "key": "angular/di",
    "name": "Require a consistent DI syntax",
    "description": "See description of ESLint rule angular/di at the eslint-plugin-angular website."
  },
  {
    "key": "angular/dumb-inject",
    "name": "Unittest inject functions should only consist of assignments from injected values to describe block variables",
    "description": "See description of ESLint rule angular/dumb-inject at the eslint-plugin-angular website."
  },
  {
    "key": "angular/function-type",
    "name": "Require and specify a consistent function style for components ('named' or 'anonymous')",
    "description": "See description of ESLint rule angular/function-type at the eslint-plugin-angular website."
  },
  {
    "key": "angular/module-dependency-order",
    "name": "Require a consistent order of module dependencies",
    "description": "See description of ESLint rule angular/module-dependency-order at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-service-method",
    "name": "Use factory() instead of service()",
    "description": "See description of ESLint rule angular/no-service-method at the eslint-plugin-angular website."
  },
  {
    "key": "angular/one-dependency-per-line",
    "name": "Require all DI parameters to be located in their own line",
    "description": "See description of ESLint rule angular/one-dependency-per-line at the eslint-plugin-angular website."
  },
  {
    "key": "angular/rest-service",
    "name": "Disallow different rest service and specify one of '$http', '$resource', 'Restangular'",
    "description": "See description of ESLint rule angular/rest-service at the eslint-plugin-angular website."
  },
  {
    "key": "angular/watchers-execution",
    "name": "Require and specify consistent use $scope.digest() or $scope.apply()",
    "description": "See description of ESLint rule angular/watchers-execution at the eslint-plugin-angular website."
  },
  {
    "key": "angular/angularelement",
    "name": "Use angular.element instead of $ or jQuery",
    "description": "See description of ESLint rule angular/angularelement at the eslint-plugin-angular website."
  },
  {
    "key": "angular/definedundefined",
    "name": "Use angular.isDefined and angular.isUndefined instead of other undefined checks",
    "description": "See description of ESLint rule angular/definedundefined at the eslint-plugin-angular website."
  },
  {
    "key": "angular/document-service",
    "name": "Use $document instead of document",
    "description": "See description of ESLint rule angular/document-service at the eslint-plugin-angular website."
  },
  {
    "key": "angular/foreach",
    "name": "Use angular.forEach instead of native Array.prototype.forEach",
    "description": "See description of ESLint rule angular/foreach at the eslint-plugin-angular website."
  },
  {
    "key": "angular/interval-service",
    "name": "Use $interval instead of setInterval",
    "description": "See description of ESLint rule angular/interval-service at the eslint-plugin-angular website."
  },
  {
    "key": "angular/json-functions",
    "name": "Use angular.fromJson and 'angular.toJson' instead of JSON.parse and JSON.stringify",
    "description": "See description of ESLint rule angular/json-functions at the eslint-plugin-angular website."
  },
  {
    "key": "angular/log",
    "name": "Use the $log service instead of the console methods",
    "description": "See description of ESLint rule angular/log at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-angular-mock",
    "name": "Require to use angular.mock methods directly",
    "description": "See description of ESLint rule angular/no-angular-mock at the eslint-plugin-angular website."
  },
  {
    "key": "angular/no-jquery-angularelement",
    "name": "Disallow to wrap angular.element objects with jQuery or $",
    "description": "See description of ESLint rule angular/no-jquery-angularelement at the eslint-plugin-angular website."
  },
  {
    "key": "angular/timeout-service",
    "name": "Use $timeout instead of setTimeout",
    "description": "See description of ESLint rule angular/timeout-service at the eslint-plugin-angular website."
  },
  {
    "key": "angular/typecheck-array",
    "name": "Use angular.isArray instead of typeof comparisons",
    "description": "See description of ESLint rule angular/typecheck-array at the eslint-plugin-angular website."
  },
  {
    "key": "angular/typecheck-date",
    "name": "Use angular.isDate instead of typeof comparisons",
    "description": "See description of ESLint rule angular/typecheck-date at the eslint-plugin-angular website."
  },
  {
    "key": "angular/typecheck-function",
    "name": "Use angular.isFunction instead of typeof comparisons",
    "description": "See description of ESLint rule angular/typecheck-function at the eslint-plugin-angular website."
  },
  {
    "key": "angular/typecheck-number",
    "name": "Use angular.isNumber instead of typeof comparisons",
    "description": "See description of ESLint rule angular/typecheck-number at the eslint-plugin-angular website."
  },
  {
    "key": "angular/typecheck-object",
    "name": "Use angular.isObject instead of typeof comparisons",
    "description": "See description of ESLint rule angular/typecheck-object at the eslint-plugin-angular website."
  },
  {
    "key": "angular/typecheck-string",
    "name": "Use angular.isString instead of typeof comparisons",
    "description": "See description of ESLint rule angular/typecheck-string at the eslint-plugin-angular website."
  },
  {
    "key": "angular/window-service",
    "name": "Use $window instead of window",
    "description": "See description of ESLint rule angular/window-service at the eslint-plugin-angular website."
  },
  {
    "key": "angular/on-destroy",
    "name": "Check for common misspelling $on('destroy', ...).",
    "description": "See description of ESLint rule angular/on-destroy at the eslint-plugin-angular website."
  }
]




© 2015 - 2024 Weber Informatics LLC | Privacy Policy