Skip to content

Commit

Permalink
package upgrade and eslint bug fix and wcag change complete (#3)
Browse files Browse the repository at this point in the history
* package upgrade and eslint bug fix and wcag change complete

* new change complete with prettier formate and build
  • Loading branch information
ct-dixit committed Mar 7, 2023
1 parent 6d4d403 commit 1028930
Show file tree
Hide file tree
Showing 49 changed files with 3,134 additions and 1,726 deletions.
46 changes: 46 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,46 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "app",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "app",
"style": "kebab-case"
}
]
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
2 changes: 2 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -40,6 +40,8 @@ build/Release
# Dependency directories
node_modules/
jspm_packages/
.angular


# TypeScript v1 declaration files
typings/
Expand Down
106 changes: 0 additions & 106 deletions .gitignore copy

This file was deleted.

20 changes: 18 additions & 2 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,10 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"bezier-easing",
"apexcharts"
],
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
Expand All @@ -37,7 +41,7 @@
"budgets": [
{
"type": "initial",
"maximumWarning": "500kb",
"maximumWarning": "1mb",
"maximumError": "1mb"
},
{
Expand Down Expand Up @@ -100,11 +104,23 @@
],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
}
}
},
"cli": {
"analytics": "78098098-d354-45f7-8651-2271a72fc826"
"analytics": "78098098-d354-45f7-8651-2271a72fc826",
"schematicCollections": [
"@angular-eslint/schematics"
]
}
}
Loading

0 comments on commit 1028930

Please sign in to comment.