Skip to content

Commit

Permalink
Update deps and bump to 1.3.0
Browse files Browse the repository at this point in the history
  • Loading branch information
TheJaredWilcurt authored Sep 1, 2021
1 parent 1e16eae commit 99d1881
Show file tree
Hide file tree
Showing 9 changed files with 11,948 additions and 10,380 deletions.
62 changes: 62 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,62 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "app",
"style": "kebab-case"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
],
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"@typescript-eslint/no-use-before-define": "error",
"arrow-parens": ["off", "always"],
"import/order": "off",
"space-before-function-paren": ["error", "always"]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# NW.js and Angular CLI example

This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.8. Though dependencies have been updated since then. You'll likely want to clone from `master` rather than use the latest release. Here is the [diff between latest release and master](https://github.com/nwutils/nw-angular-cli-example/compare/v1.2.0...master).
This project was generated with [Angular CLI](https://github.com/angular/angular-cli) version 8.3.8. Though dependencies have been updated since then. You'll likely want to clone from `main` rather than use the latest release. Here is the [diff between the latest release and main](https://github.com/nwutils/nw-angular-cli-example/compare/v1.3.0...main).


![A Screenshot of the default app running on Windows](screenshot.png)
Expand Down
22 changes: 11 additions & 11 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"aot": false,
"aot": true,
"assets": [
"src/favicon.ico",
"src/assets"
Expand Down Expand Up @@ -90,15 +90,11 @@
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"tsconfig.app.json",
"tsconfig.spec.json",
"e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
},
Expand All @@ -115,6 +111,10 @@
}
}
}
}},
"defaultProject": "nw-angular"
}
},
"defaultProject": "nw-angular",
"cli": {
"defaultCollection": "@angular-eslint/schematics"
}
}
Loading

0 comments on commit 99d1881

Please sign in to comment.