Compare commits

...

4 Commits

  1. 0
      .browserslistrc
  2. 1
      .gitignore
  3. 15
      angular.json
  4. 2
      e2e/tsconfig.json
  5. 168
      package.json
  6. 2
      src/app/app-routing.module.ts
  7. 12
      src/app/babylon/tool/myArcRotateCameraPointersInput.ts
  8. 4
      src/app/pages/equipment-info/equipment-info.component.ts
  9. 2
      src/app/pages/login/login.component.ts
  10. 2
      src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts
  11. 4
      src/app/system-management/analysis-of-the-host/analysis-of-the-host.component.ts
  12. 2
      src/app/system-management/file-of-license/file-of-license.component.ts
  13. 4
      src/app/system-management/menu/addmenu/addmenu.component.spec.ts
  14. 4
      src/app/system-management/menu/menu.component.ts
  15. 2
      src/app/system-management/organization/organization.component.ts
  16. 2
      src/app/system-management/role/role.component.ts
  17. 2
      src/app/system-management/update-of-license/update-of-license.component.ts
  18. 6
      src/app/system-management/user/user.component.ts
  19. 2
      src/environments/environment.ts
  20. 2
      src/polyfills.ts
  21. 2
      src/test.ts
  22. 2
      tsconfig.json
  23. 66
      tslint.json
  24. 19447
      yarn.lock

0
browserslist → .browserslistrc

1
.gitignore vendored

@ -44,3 +44,4 @@ testem.log
# System Files # System Files
.DS_Store .DS_Store
Thumbs.db Thumbs.db
/.angular/cache

15
angular.json

@ -8,7 +8,7 @@
"schematics": { "schematics": {
"@schematics/angular:component": { "@schematics/angular:component": {
"style": "scss", "style": "scss",
"spec": false "skipTests": true
} }
}, },
"root": "", "root": "",
@ -23,7 +23,6 @@
"main": "src/main.ts", "main": "src/main.ts",
"polyfills": "src/polyfills.ts", "polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json", "tsConfig": "tsconfig.app.json",
"aot": true,
"assets": [ "assets": [
"src/favicon.ico", "src/favicon.ico",
"src/assets", "src/assets",
@ -53,7 +52,13 @@
"./node_modules/swiper/js/swiper.min.js", "./node_modules/swiper/js/swiper.min.js",
"node_modules/@aspnet/signalr/dist/browser/signalr.min.js", "node_modules/@aspnet/signalr/dist/browser/signalr.min.js",
"node_modules/abp-web-resources/Abp/Framework/scripts/abp.js" "node_modules/abp-web-resources/Abp/Framework/scripts/abp.js"
] ],
"vendorChunk": true,
"extractLicenses": false,
"buildOptimizer": false,
"sourceMap": true,
"optimization": false,
"namedChunks": true
}, },
"configurations": { "configurations": {
"production": { "production": {
@ -66,7 +71,6 @@
"optimization": true, "optimization": true,
"outputHashing": "all", "outputHashing": "all",
"sourceMap": false, "sourceMap": false,
"extractCss": true,
"namedChunks": false, "namedChunks": false,
"extractLicenses": true, "extractLicenses": true,
"vendorChunk": false, "vendorChunk": false,
@ -84,7 +88,8 @@
} }
] ]
} }
} },
"defaultConfiguration": ""
}, },
"serve": { "serve": {
"builder": "@angular-devkit/build-angular:dev-server", "builder": "@angular-devkit/build-angular:dev-server",

2
e2e/tsconfig.json

@ -3,7 +3,7 @@
"compilerOptions": { "compilerOptions": {
"outDir": "../out-tsc/e2e", "outDir": "../out-tsc/e2e",
"module": "commonjs", "module": "commonjs",
"target": "es5", "target": "es2018",
"types": [ "types": [
"jasmine", "jasmine",
"jasminewd2", "jasminewd2",

168
package.json

@ -1,84 +1,88 @@
{ {
"name": "anxin119", "name": "anxin119",
"version": "0.0.0", "version": "0.0.0",
"scripts": { "scripts": {
"ng": "ng", "ng": "ng",
"start": "ng serve --proxy-config proxy.config.json --open --port 4200 ", "start": "ng serve --proxy-config proxy.config.json --open --port 4200 ",
"build": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --prod", "build": "node --max_old_space_size=5048 ./node_modules/@angular/cli/bin/ng build --configuration production",
"test": "ng test", "test": "ng test",
"lint": "ng lint", "lint": "ng lint",
"e2e": "ng e2e" "e2e": "ng e2e"
}, },
"private": true, "private": true,
"dependencies": { "dependencies": {
"@angular/animations": "^9.0.0", "@angular/animations": "^13.3.11",
"@angular/cdk": "^9.2.4", "@angular/cdk": "~13.3.9",
"@angular/common": "~9.0.0", "@angular/common": "~13.3.11",
"@angular/compiler": "~9.0.0", "@angular/compiler": "~13.3.11",
"@angular/core": "~9.0.0", "@angular/core": "~13.3.11",
"@angular/fire": "^5.3.0", "@angular/fire": "^5.3.0",
"@angular/forms": "~9.0.0", "@angular/forms": "~13.3.11",
"@angular/material": "^9.0.0", "@angular/material": "9",
"@angular/platform-browser": "~9.0.0", "@angular/platform-browser": "~13.3.11",
"@angular/platform-browser-dynamic": "~9.0.0", "@angular/platform-browser-dynamic": "~13.3.11",
"@angular/router": "~9.0.0", "@angular/router": "~13.3.11",
"@aspnet/signalr": "^1.1.4", "@aspnet/signalr": "^1.1.4",
"@babylonjs/core": "4.2.1", "@babylonjs/core": "5.27.0",
"@babylonjs/gui": "4.2.1", "@babylonjs/gui": "^5.27.0",
"@babylonjs/inspector": "4.2.1", "@babylonjs/gui-editor": "^5.27.0",
"@babylonjs/loaders": "4.2.1", "@babylonjs/inspector": "^5.27.0",
"@babylonjs/materials": "4.2.1", "@babylonjs/loaders": "^5.27.0",
"@types/cesium": "^1.59.5", "@babylonjs/materials": "^5.27.0",
"@types/earcut": "^2.1.1", "@babylonjs/serializers": "^5.28.0",
"@types/react-dom": "^17.0.10", "@types/cesium": "^1.59.5",
"@types/swiper": "^5.2.1", "@types/earcut": "^2.1.1",
"abp-ng2-module": "^6.4.0", "@types/react": "^18.0.21",
"abp-web-resources": "^5.4.0", "@types/react-dom": "^17.0.10",
"angular-calendar": "^0.28.2", "@types/swiper": "^5.2.1",
"babylonjs": "4.2.1", "abp-ng2-module": "^6.4.0",
"bson-objectid": "^1.3.1", "abp-web-resources": "^5.4.0",
"cesium": "^1.64.0", "angular-calendar": "^0.28.2",
"class-transformer": "^0.4.0", "babylonjs": "4.2.1",
"e-ngx-cesium": "^6.3.2", "babylonjs-gltf2interface": "^5.28.0",
"earcut": "^2.2.3", "bson-objectid": "^1.3.1",
"echarts": "^4.9.0", "cesium": "^1.64.0",
"firebase": "^7.6.2", "class-transformer": "^0.4.0",
"grpc": "^1.24.2", "e-ngx-cesium": "^6.3.2",
"install": "^0.13.0", "earcut": "^2.2.3",
"js-base64": "^3.7.2", "echarts": "^4.9.0",
"linqjs": "^1.0.2", "firebase": "^7.6.2",
"moment": "^2.29.1", "grpc": "^1.24.2",
"ng-zorro-antd": "^9.3.0", "install": "^0.13.0",
"ngx-cookie-service": "^3.0.2", "js-base64": "^3.7.2",
"ngx-countdown": "^11.0.0", "linqjs": "^1.0.2",
"ngx-echarts": "^4.2.2", "moment": "^2.29.1",
"ngx-perfect-scrollbar": "^8.0.0", "ng-zorro-antd": "13",
"reflect-metadata": "^0.1.13", "ngx-cookie-service": "^3.0.2",
"rxjs": "~6.5.4", "ngx-countdown": "^11.0.0",
"swiper": "^5.3.6", "ngx-echarts": "^4.2.2",
"tslib": "^1.10.0", "ngx-perfect-scrollbar": "^8.0.0",
"viewerjs": "^1.6.2", "reflect-metadata": "^0.1.13",
"zone.js": "~0.10.2" "rxjs": "~6.5.4",
}, "swiper": "^5.3.6",
"devDependencies": { "tslib": "^2.0.0",
"@angular-devkit/build-angular": "~0.900.1", "viewerjs": "^1.6.2",
"@angular/cli": "~9.0.1", "zone.js": "~0.11.4"
"@angular/compiler-cli": "~9.0.0", },
"@angular/language-service": "~9.0.0", "devDependencies": {
"@types/jasmine": "~3.3.8", "@angular-devkit/build-angular": "~13.3.9",
"@types/jasminewd2": "~2.0.3", "@angular/cli": "~13.3.9",
"@types/node": "^12.11.1", "@angular/compiler-cli": "~13.3.11",
"codelyzer": "^5.1.2", "@angular/language-service": "~13.3.11",
"jasmine-core": "~3.4.0", "@types/jasmine": "~3.6.0",
"jasmine-spec-reporter": "~4.2.1", "@types/jasminewd2": "~2.0.3",
"karma": "~4.1.0", "@types/node": "^12.11.1",
"karma-chrome-launcher": "~2.2.0", "codelyzer": "^6.0.0",
"karma-coverage-istanbul-reporter": "~2.0.1", "jasmine-core": "~3.6.0",
"karma-jasmine": "~2.0.1", "jasmine-spec-reporter": "~5.0.0",
"karma-jasmine-html-reporter": "^1.4.0", "karma": "~6.4.1",
"protractor": "~5.4.0", "karma-chrome-launcher": "~3.1.0",
"ts-node": "~7.0.0", "karma-coverage-istanbul-reporter": "~3.0.2",
"tslint": "~5.15.0", "karma-jasmine": "~4.0.0",
"typescript": "~3.7.5" "karma-jasmine-html-reporter": "^1.5.0",
} "protractor": "~7.0.0",
"ts-node": "~7.0.0",
"tslint": "~6.1.0",
"typescript": "~4.5.2"
}
} }

2
src/app/app-routing.module.ts

@ -27,7 +27,7 @@ const routes: Routes = [
]; ];
@NgModule({ @NgModule({
imports: [RouterModule.forRoot(routes)], imports: [RouterModule.forRoot(routes, { relativeLinkResolution: 'legacy' })],
exports: [RouterModule] exports: [RouterModule]
}) })
export class AppRoutingModule { } export class AppRoutingModule { }

12
src/app/babylon/tool/myArcRotateCameraPointersInput.ts

@ -146,7 +146,7 @@ export class MyArcRotateCameraPointersInput extends BaseCameraPointersInput {
/** /**
* Called on pointer POINTERMOVE event if only a single touch is active. * Called on pointer POINTERMOVE event if only a single touch is active.
*/ */
protected onTouch(point: Nullable<PointerTouch>, public onTouch(point: Nullable<PointerTouch>,
offsetX: number, offsetX: number,
offsetY: number): void { offsetY: number): void {
if (this.panningSensibility !== 0 && if (this.panningSensibility !== 0 &&
@ -172,7 +172,7 @@ export class MyArcRotateCameraPointersInput extends BaseCameraPointersInput {
/** /**
* Called on pointer POINTERDOUBLETAP event. * Called on pointer POINTERDOUBLETAP event.
*/ */
protected onDoubleTap(type: string) { public onDoubleTap(type: string) {
if (this.camera.useInputToRestoreState) { if (this.camera.useInputToRestoreState) {
this.camera.restoreState(); this.camera.restoreState();
} }
@ -181,7 +181,7 @@ export class MyArcRotateCameraPointersInput extends BaseCameraPointersInput {
/** /**
* Called on pointer POINTERMOVE event if multiple touches are active. * Called on pointer POINTERMOVE event if multiple touches are active.
*/ */
protected onMultiTouch(pointA: Nullable<PointerTouch>, public onMultiTouch(pointA: Nullable<PointerTouch>,
pointB: Nullable<PointerTouch>, pointB: Nullable<PointerTouch>,
previousPinchSquaredDistance: number, previousPinchSquaredDistance: number,
pinchSquaredDistance: number, pinchSquaredDistance: number,
@ -234,7 +234,7 @@ export class MyArcRotateCameraPointersInput extends BaseCameraPointersInput {
* Called each time a new POINTERDOWN event occurs. Ie, for each button * Called each time a new POINTERDOWN event occurs. Ie, for each button
* press. * press.
*/ */
protected onButtonDown(evt: PointerEvent): void { public onButtonDown(evt: PointerEvent): void {
this._isPanClick = evt.button === this.camera._panningMouseButton; this._isPanClick = evt.button === this.camera._panningMouseButton;
} }
@ -242,7 +242,7 @@ export class MyArcRotateCameraPointersInput extends BaseCameraPointersInput {
* Called each time a new POINTERUP event occurs. Ie, for each button * Called each time a new POINTERUP event occurs. Ie, for each button
* release. * release.
*/ */
protected onButtonUp(evt: PointerEvent): void { public onButtonUp(evt: PointerEvent): void {
this._twoFingerActivityCount = 0; this._twoFingerActivityCount = 0;
this._isPinching = false; this._isPinching = false;
} }
@ -250,7 +250,7 @@ export class MyArcRotateCameraPointersInput extends BaseCameraPointersInput {
/** /**
* Called when window becomes inactive. * Called when window becomes inactive.
*/ */
protected onLostFocus(): void { public onLostFocus(): void {
// console.trace("失去焦点") // console.trace("失去焦点")
this._isPanClick = false; this._isPanClick = false;

4
src/app/pages/equipment-info/equipment-info.component.ts

@ -95,7 +95,7 @@ export class EquipmentInfoComponent implements OnInit {
const instance = modal.getContentComponent(); const instance = modal.getContentComponent();
} }
edit(item) { edit(item) {
console.log('xxxxx',item) console.log('xxxxx', item)
const modal = this.modal.create({ const modal = this.modal.create({
nzContent: EditequipmentComponent, nzContent: EditequipmentComponent,
nzViewContainerRef: this.viewContainerRef, nzViewContainerRef: this.viewContainerRef,
@ -143,7 +143,7 @@ export class EquipmentInfoComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.name}这个器材吗?`, nzTitle: `确定要删除${item.name}这个器材吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/FireEquipment/Delete', { this.http.delete('/api/services/app/FireEquipment/Delete', {
params: { params: {

2
src/app/pages/login/login.component.ts

@ -8,7 +8,7 @@ import { Base64 } from 'js-base64';
import { NzNotificationService } from 'ng-zorro-antd/notification'; import { NzNotificationService } from 'ng-zorro-antd/notification';
import { NzSafeAny } from 'ng-zorro-antd/core/types'; import { NzSafeAny } from 'ng-zorro-antd/core/types';
import { SelectedMenu } from 'src/app/service/selectedMenu.service'; import { SelectedMenu } from 'src/app/service/selectedMenu.service';
import { THIS_EXPR } from '@angular/compiler/src/output/output_ast'; // import { THIS_EXPR } from '@angular/compiler/src/output/output_ast';
declare var abp: any declare var abp: any
@Component({ @Component({

2
src/app/pages/today-warning/get-out-of-line-details/get-out-of-line-details.component.ts

@ -229,7 +229,7 @@ export class GetOutOfLineDetailsComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: '判定该预警为误报吗?', nzTitle: '判定该预警为误报吗?',
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
let body = { let body = {
id: this.data.id, id: this.data.id,

4
src/app/system-management/analysis-of-the-host/analysis-of-the-host.component.ts

@ -174,7 +174,7 @@ export class AnalysisOfTheHostComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.name}这个主机吗?`, nzTitle: `确定要删除${item.name}这个主机吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/EdgeDevice/Delete', { this.http.delete('/api/services/app/EdgeDevice/Delete', {
params: { params: {
@ -267,7 +267,7 @@ export class AnalysisOfTheHostComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.name}这个摄像头吗?`, nzTitle: `确定要删除${item.name}这个摄像头吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/Camera/Delete', { this.http.delete('/api/services/app/Camera/Delete', {
params: { params: {

2
src/app/system-management/file-of-license/file-of-license.component.ts

@ -113,7 +113,7 @@ export class FileOfLicenseComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.licenseName}这个证照吗?`, nzTitle: `确定要删除${item.licenseName}这个证照吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/FileLicenseType/Delete', { this.http.delete('/api/services/app/FileLicenseType/Delete', {
params: { params: {

4
src/app/system-management/menu/addmenu/addmenu.component.spec.ts

@ -1,4 +1,4 @@
import { async, ComponentFixture, TestBed } from '@angular/core/testing'; import { ComponentFixture, TestBed, waitForAsync } from '@angular/core/testing';
import { AddmenuComponent } from './addmenu.component'; import { AddmenuComponent } from './addmenu.component';
@ -6,7 +6,7 @@ describe('AddmenuComponent', () => {
let component: AddmenuComponent; let component: AddmenuComponent;
let fixture: ComponentFixture<AddmenuComponent>; let fixture: ComponentFixture<AddmenuComponent>;
beforeEach(async(() => { beforeEach(waitForAsync(() => {
TestBed.configureTestingModule({ TestBed.configureTestingModule({
declarations: [ AddmenuComponent ] declarations: [ AddmenuComponent ]
}) })

4
src/app/system-management/menu/menu.component.ts

@ -46,7 +46,7 @@ export class MenuComponent implements OnInit {
let params = { let params = {
OrganizationUnitId: OrganizationUnitId, OrganizationUnitId: OrganizationUnitId,
IsContainsChildren: "true", IsContainsChildren: "true",
MaxResultCount:"999" MaxResultCount: "999"
} }
this.http.get('/api/services/app/Menu/GetAll', { this.http.get('/api/services/app/Menu/GetAll', {
params: params params: params
@ -162,7 +162,7 @@ export class MenuComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.title}这个菜单吗?`, nzTitle: `确定要删除${item.title}这个菜单吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/Menu/Delete', { this.http.delete('/api/services/app/Menu/Delete', {
params: { params: {

2
src/app/system-management/organization/organization.component.ts

@ -208,7 +208,7 @@ export class OrganizationComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.title}这个机构吗?`, nzTitle: `确定要删除${item.title}这个机构吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/Organization/Delete', { this.http.delete('/api/services/app/Organization/Delete', {
params: { params: {

2
src/app/system-management/role/role.component.ts

@ -234,7 +234,7 @@ export class RoleComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.name}这个角色吗?`, nzTitle: `确定要删除${item.name}这个角色吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/Role/Delete', { this.http.delete('/api/services/app/Role/Delete', {
params: { params: {

2
src/app/system-management/update-of-license/update-of-license.component.ts

@ -125,7 +125,7 @@ export class UpdateOfLicenseComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要删除${item.licenseName}这个证照吗?`, nzTitle: `确定要删除${item.licenseName}这个证照吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete('/api/services/app/ValidityLicenseType/Delete', { this.http.delete('/api/services/app/ValidityLicenseType/Delete', {
params: { params: {

6
src/app/system-management/user/user.component.ts

@ -248,11 +248,11 @@ export class UserComponent implements OnInit {
listOfData: this.listOfData, listOfData: this.listOfData,
listOfData2: this.listOfData2, listOfData2: this.listOfData2,
nodes: this.nodes, nodes: this.nodes,
editUrl:this.editUrl editUrl: this.editUrl
} }
}); });
const instance = modal.getContentComponent(); const instance = modal.getContentComponent();
modal.afterClose.subscribe(result => this.getAllUsers()); modal.afterClose.subscribe(result => this.getAllUsers());
} }
//重置密码 //重置密码
@ -323,7 +323,7 @@ export class UserComponent implements OnInit {
this.modal.confirm({ this.modal.confirm({
nzTitle: `确定要注销${item.userName}这个账户吗?`, nzTitle: `确定要注销${item.userName}这个账户吗?`,
nzOkText: '确定', nzOkText: '确定',
nzOkType: 'danger', nzOkType: 'primary',
nzOnOk: () => { nzOnOk: () => {
this.http.delete(this.deleteUrl, { this.http.delete(this.deleteUrl, {
params: { params: {

2
src/environments/environment.ts

@ -13,4 +13,4 @@ export const environment = {
* This import should be commented out in production mode because it will have a negative impact * This import should be commented out in production mode because it will have a negative impact
* on performance if an error is thrown. * on performance if an error is thrown.
*/ */
// import 'zone.js/dist/zone-error'; // Included with Angular CLI. // import 'zone.js/plugins/zone-error'; // Included with Angular CLI.

2
src/polyfills.ts

@ -55,7 +55,7 @@
/*************************************************************************************************** /***************************************************************************************************
* Zone JS is required by default for Angular itself. * Zone JS is required by default for Angular itself.
*/ */
import 'zone.js/dist/zone'; // Included with Angular CLI. import 'zone.js'; // Included with Angular CLI.
/*************************************************************************************************** /***************************************************************************************************

2
src/test.ts

@ -1,6 +1,6 @@
// This file is required by karma.conf.js and loads recursively all the .spec and framework files // This file is required by karma.conf.js and loads recursively all the .spec and framework files
import 'zone.js/dist/zone-testing'; import 'zone.js/testing';
import { getTestBed } from '@angular/core/testing'; import { getTestBed } from '@angular/core/testing';
import { import {
BrowserDynamicTestingModule, BrowserDynamicTestingModule,

2
tsconfig.json

@ -8,7 +8,7 @@
"declaration": false, "declaration": false,
"downlevelIteration": true, "downlevelIteration": true,
"experimentalDecorators": true, "experimentalDecorators": true,
"module": "esnext", "module": "es2020",
"moduleResolution": "node", "moduleResolution": "node",
"importHelpers": true, "importHelpers": true,
"target": "es2015", "target": "es2015",

66
tslint.json

@ -1,13 +1,21 @@
{ {
"extends": "tslint:recommended", "extends": "tslint:recommended",
"rules": { "rules": {
"align": {
"options": [
"parameters",
"statements"
]
},
"array-type": false, "array-type": false,
"arrow-parens": false, "arrow-parens": false,
"arrow-return-shorthand": true,
"deprecation": { "deprecation": {
"severity": "warning" "severity": "warning"
}, },
"component-class-suffix": true, "component-class-suffix": true,
"contextual-lifecycle": true, "contextual-lifecycle": true,
"curly": true,
"directive-class-suffix": true, "directive-class-suffix": true,
"directive-selector": [ "directive-selector": [
true, true,
@ -21,10 +29,17 @@
"app", "app",
"kebab-case" "kebab-case"
], ],
"eofline": true,
"import-blacklist": [ "import-blacklist": [
true, true,
"rxjs/Rx" "rxjs/Rx"
], ],
"import-spacing": true,
"indent": {
"options": [
"spaces"
]
},
"interface-name": false, "interface-name": false,
"max-classes-per-file": false, "max-classes-per-file": false,
"max-line-length": [ "max-line-length": [
@ -79,11 +94,60 @@
"no-output-native": true, "no-output-native": true,
"no-output-on-prefix": true, "no-output-on-prefix": true,
"no-output-rename": true, "no-output-rename": true,
"semicolon": {
"options": [
"always"
]
},
"space-before-function-paren": {
"options": {
"anonymous": "never",
"asyncArrow": "always",
"constructor": "never",
"method": "never",
"named": "never"
}
},
"no-outputs-metadata-property": true, "no-outputs-metadata-property": true,
"template-banana-in-box": true, "template-banana-in-box": true,
"template-no-negated-async": true, "template-no-negated-async": true,
"typedef-whitespace": {
"options": [
{
"call-signature": "nospace",
"index-signature": "nospace",
"parameter": "nospace",
"property-declaration": "nospace",
"variable-declaration": "nospace"
},
{
"call-signature": "onespace",
"index-signature": "onespace",
"parameter": "onespace",
"property-declaration": "onespace",
"variable-declaration": "onespace"
}
]
},
"use-lifecycle-interface": true, "use-lifecycle-interface": true,
"use-pipe-transform-interface": true "use-pipe-transform-interface": true,
"variable-name": {
"options": [
"ban-keywords",
"check-format",
"allow-pascal-case"
]
},
"whitespace": {
"options": [
"check-branch",
"check-decl",
"check-operator",
"check-separator",
"check-type",
"check-typecast"
]
}
}, },
"rulesDirectory": [ "rulesDirectory": [
"codelyzer" "codelyzer"

19447
yarn.lock

File diff suppressed because it is too large Load Diff
Loading…
Cancel
Save