Skip to content

Commit 1028930

Browse files
authored
package upgrade and eslint bug fix and wcag change complete (#3)
* package upgrade and eslint bug fix and wcag change complete * new change complete with prettier formate and build
1 parent 6d4d403 commit 1028930

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

49 files changed

+3134
-1726
lines changed

.eslintrc.json

Lines changed: 46 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,46 @@
1+
{
2+
"root": true,
3+
"ignorePatterns": [
4+
"projects/**/*"
5+
],
6+
"overrides": [
7+
{
8+
"files": [
9+
"*.ts"
10+
],
11+
"extends": [
12+
"eslint:recommended",
13+
"plugin:@typescript-eslint/recommended",
14+
"plugin:@angular-eslint/recommended",
15+
"plugin:@angular-eslint/template/process-inline-templates"
16+
],
17+
"rules": {
18+
"@angular-eslint/directive-selector": [
19+
"error",
20+
{
21+
"type": "attribute",
22+
"prefix": "app",
23+
"style": "camelCase"
24+
}
25+
],
26+
"@angular-eslint/component-selector": [
27+
"error",
28+
{
29+
"type": "element",
30+
"prefix": "app",
31+
"style": "kebab-case"
32+
}
33+
]
34+
}
35+
},
36+
{
37+
"files": [
38+
"*.html"
39+
],
40+
"extends": [
41+
"plugin:@angular-eslint/template/recommended"
42+
],
43+
"rules": {}
44+
}
45+
]
46+
}

.gitignore

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -40,6 +40,8 @@ build/Release
4040
# Dependency directories
4141
node_modules/
4242
jspm_packages/
43+
.angular
44+
4345

4446
# TypeScript v1 declaration files
4547
typings/

.gitignore copy

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

angular.json

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,10 @@
1717
"build": {
1818
"builder": "@angular-devkit/build-angular:browser",
1919
"options": {
20+
"allowedCommonJsDependencies": [
21+
"bezier-easing",
22+
"apexcharts"
23+
],
2024
"outputPath": "dist",
2125
"index": "src/index.html",
2226
"main": "src/main.ts",
@@ -37,7 +41,7 @@
3741
"budgets": [
3842
{
3943
"type": "initial",
40-
"maximumWarning": "500kb",
44+
"maximumWarning": "1mb",
4145
"maximumError": "1mb"
4246
},
4347
{
@@ -100,11 +104,23 @@
100104
],
101105
"scripts": []
102106
}
107+
},
108+
"lint": {
109+
"builder": "@angular-eslint/builder:lint",
110+
"options": {
111+
"lintFilePatterns": [
112+
"src/**/*.ts",
113+
"src/**/*.html"
114+
]
115+
}
103116
}
104117
}
105118
}
106119
},
107120
"cli": {
108-
"analytics": "78098098-d354-45f7-8651-2271a72fc826"
121+
"analytics": "78098098-d354-45f7-8651-2271a72fc826",
122+
"schematicCollections": [
123+
"@angular-eslint/schematics"
124+
]
109125
}
110126
}

0 commit comments

Comments
 (0)