Skip to content

Commit 06e5d6a

Browse files
authored
chore: update linting configurations (#32)
1 parent dd1a2d0 commit 06e5d6a

File tree

6 files changed

+7
-19
lines changed

6 files changed

+7
-19
lines changed

app/app.module.ngfactory.d.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
/*
22
* A dynamically generated module when compiled with AoT.
33
*/
4-
export const AppModuleNgFactory: any;
4+
// tslint:disable-next-line
5+
export const AppModuleNgFactory: any;

app/vendor-platform.ios.ts

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,2 @@
1-
// There is a bug in angular: https://github.com/angular/angular-cli/pull/8589/files
2-
// Legendary stuff, its webpack plugin pretty much doesn't work with empty TypeScript files in v1.8.3
1+
// tslint:disable-next-line
32
void 0;

package.json

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -35,15 +35,14 @@
3535
"babel-traverse": "6.24.1",
3636
"babel-types": "6.24.1",
3737
"babylon": "6.17.0",
38-
"codelyzer": "^3.0.1",
38+
"codelyzer": "^4.0.0",
3939
"copy-webpack-plugin": "~4.0.1",
4040
"css-loader": "~0.28.7",
4141
"extract-text-webpack-plugin": "~3.0.0",
4242
"filewalker": "^0.1.3",
4343
"lazy": "1.0.11",
44-
"nativescript-css-loader": "~0.26.0",
45-
"nativescript-dev-typescript": "^0.6.0-2017-12-14-01",
46-
"nativescript-dev-webpack": "^0.10.0-2017-12-19-02",
44+
"nativescript-dev-typescript": "next",
45+
"nativescript-dev-webpack": "next",
4746
"nativescript-worker-loader": "~0.8.1",
4847
"raw-loader": "~0.5.1",
4948
"resolve-url-loader": "~2.1.0",

tsconfig.aot.json

Lines changed: 0 additions & 7 deletions
This file was deleted.

tslint.json

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,6 @@
33
"node_modules/codelyzer"
44
],
55
"rules":{
6-
76
"use-input-property-decorator": true,
87
"use-output-property-decorator": true,
98
"use-host-property-decorator": true,
@@ -16,9 +15,6 @@
1615
"component-class-suffix": true,
1716
"directive-class-suffix": true,
1817
"import-destructuring-spacing": true,
19-
"templates-use-public": true,
20-
"no-access-missing-member": true,
21-
"invoke-injectable": true,
2218
"member-access": false,
2319
"no-any": false,
2420
"no-inferrable-types": false,

webpack.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ module.exports = env => {
1515
}
1616
const platforms = ["ios", "android"];
1717
const { snapshot, uglify, report, aot } = env;
18-
const ngToolsWebpackOptions = { tsConfigPath: aot ? "tsconfig.aot.json" : "tsconfig.json"};
18+
const ngToolsWebpackOptions = { tsConfigPath: "tsconfig.json"};
1919

2020
const config = {
2121
context: resolve("./app"),

0 commit comments

Comments
 (0)