Skip to content

Commit

Permalink
馃摝 NEW: angular 13 support with ivy (#74)
Browse files Browse the repository at this point in the history
* 馃摝 NEW: angular 13 support with ivy

* 馃摝 NEW: migrate to eslint
  • Loading branch information
antoantonyk committed Apr 23, 2022
1 parent 2d04827 commit e0282e6
Show file tree
Hide file tree
Showing 24 changed files with 7,414 additions and 8,608 deletions.
51 changes: 51 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,51 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-selector": [
"error",
{
"prefix": "app",
"style": "kebab-case",
"type": "element"
}
],
"@angular-eslint/directive-selector": [
"error",
{
"prefix": "app",
"style": "camelCase",
"type": "attribute"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,7 @@ speed-measure-plugin*.json
.history/*

# misc
/.angular/cache
/.sass-cache
/connect.lock
/coverage
Expand Down
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
[![npm version](https://badge.fury.io/js/angular-password-strength-meter.svg)](https://badge.fury.io/js/angular-password-strength-meter)
[![Coverage Status](https://coveralls.io/repos/github/antoantonyk/password-strength-meter/badge.svg?branch=master)](https://coveralls.io/github/antoantonyk/password-strength-meter?branch=master)

# Password Strength Meter For angular 12
# Password Strength Meter For angular 13

To display the strength of the password with a visual feedback.

Expand Down
38 changes: 17 additions & 21 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -98,19 +98,6 @@
"scripts": []
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"options": {
"tsConfig": [
"projects/password-strength-meter-showcase/tsconfig.app.json",
"projects/password-strength-meter-showcase/tsconfig.spec.json",
"projects/password-strength-meter-showcase/e2e/tsconfig.json"
],
"exclude": [
"**/node_modules/**"
]
}
},
"e2e": {
"builder": "@angular-devkit/build-angular:protractor",
"options": {
Expand All @@ -122,6 +109,15 @@
"devServerTarget": "password-strength-meter-showcase:serve:production"
}
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/password-strength-meter-showcase/**/*.ts",
"projects/password-strength-meter-showcase/**/*.html"
]
}
}
}
},
Expand Down Expand Up @@ -153,14 +149,11 @@
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"projects/password-strength-meter/tsconfig.lib.json",
"projects/password-strength-meter/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
"lintFilePatterns": [
"projects/password-strength-meter/**/*.ts",
"projects/password-strength-meter/**/*.html"
]
}
}
Expand All @@ -172,5 +165,8 @@
"@schematics/angular:component": {
"style": "scss"
}
},
"cli": {
"defaultCollection": "@angular-eslint/schematics"
}
}
}

0 comments on commit e0282e6

Please sign in to comment.