tslint: added 2 more rules and removed unused component, #12918

pull/13088/head
Torkel Ödegaard 7 years ago
parent 272c09513f
commit 0bb249096f
  1. 2
      public/app/core/angular_wrappers.ts
  2. 1240
      public/app/core/components/Login/LoginBackground.tsx
  3. 4
      tslint.json

@ -2,7 +2,6 @@ import { react2AngularDirective } from 'app/core/utils/react2angular';
import { PasswordStrength } from './components/PasswordStrength';
import PageHeader from './components/PageHeader/PageHeader';
import EmptyListCTA from './components/EmptyListCTA/EmptyListCTA';
import LoginBackground from './components/Login/LoginBackground';
import { SearchResult } from './components/search/SearchResult';
import { TagFilter } from './components/TagFilter/TagFilter';
import DashboardPermissions from './components/Permissions/DashboardPermissions';
@ -11,7 +10,6 @@ export function registerAngularDirectives() {
react2AngularDirective('passwordStrength', PasswordStrength, ['password']);
react2AngularDirective('pageHeader', PageHeader, ['model', 'noTabs']);
react2AngularDirective('emptyListCta', EmptyListCTA, ['model']);
react2AngularDirective('loginBackground', LoginBackground, []);
react2AngularDirective('searchResult', SearchResult, []);
react2AngularDirective('tagFilter', TagFilter, [
'tags',

File diff suppressed because it is too large Load Diff

@ -1,6 +1,10 @@
{
"rules": {
"array-type": [true, "array-simple"],
"arrow-return-shorthand": true,
"ban": [true,
{"name": "Array", "message": "tsstyle#array-constructor"}
],
"interface-name": [true, "never-prefix"],
"no-string-throw": true,
"no-unused-expression": true,

Loading…
Cancel
Save