Skip to content

Commit

Permalink
chore(Build): Resolve tslint errors
Browse files Browse the repository at this point in the history
  • Loading branch information
hypery2k committed Nov 19, 2019
1 parent 5c035af commit 33bd71e
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 15 deletions.
4 changes: 2 additions & 2 deletions ngx-vis.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { CommonModule } from '@angular/common';
import { CUSTOM_ELEMENTS_SCHEMA, NgModule, NO_ERRORS_SCHEMA } from '@angular/core';
import { Data, Edge, DataSet, Node, Options } from 'vis-network';
import { DataItem, DataGroupCollectionType, DataItemCollectionType, TimelineOptions } from 'vis-timeline';
import { Data, DataSet, Edge, Node, Options } from 'vis-network';
import { DataGroupCollectionType, DataItem, DataItemCollectionType, TimelineOptions } from 'vis-timeline';

import { VisNetworkDirective } from './components/network/vis-network.directive';
import { VisNetworkService } from './components/network/vis-network.service';
Expand Down
14 changes: 7 additions & 7 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@
"flow.clean": "rimraf bundles coverage dist demo-build \"components/**/*.+(metadata.json|js|d.ts|js.map)\" dist \"ngx-vis.+(js|d.ts|js.map)\"",
"flow.eslint": "eslint --ignore-path .gitignore --ext js --fix . .config",
"flow.extract-metadata": "ng-packagr -p package.json",
"flow.tslint": "tslint --project tsconfig.json --exclude **/*.d.ts",
"flow.tslint": "tslint --project tsconfig.json --fix",
"flow.lint": "npm run flow.eslint && npm run flow.tslint",
"flow.build:demo": "cross-env NODE_ENV=production webpack --config .config/webpack.prod.js --progress --color",
"flow.build:github-pages": "cross-env NODE_ENV=production webpack --config .config/webpack.github.js --progress --color",
Expand Down Expand Up @@ -121,7 +121,7 @@
"to-string-loader": "^1.1.5",
"ts-helpers": "^1.1.2",
"tsickle": "^0.37.1",
"tslint": "^5.8.0",
"tslint": "^5.20.1",
"tslint-loader": "^3.4.3",
"typescript": "^3.5.3",
"webpack": "^4.32.2",
Expand Down
7 changes: 3 additions & 4 deletions tsconfig.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,5 @@
{
"compilerOptions": {
"baseUrl": ".",
"target": "es5",
"module": "commonjs",
"moduleResolution": "node",
Expand All @@ -14,9 +13,9 @@
"stripInternal": true,
"baseUrl": ".",
"paths": {
"ngx-vis": [
"./ngx-vis.ts"
]
"ngx-vis": [
"./ngx-vis.ts"
]
},
"lib": [
"dom",
Expand Down
3 changes: 3 additions & 0 deletions tslint.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,8 @@
{
"extends": "tslint:latest",
"linterOptions": {
"exclude": [".config", ".github", "dist", "node_modules"]
},
"rules": {
"max-line-length": [true, 180],
"quotemark": false,
Expand Down

0 comments on commit 33bd71e

Please sign in to comment.