Skip to content

Commit

Permalink
Merge pull request #1 from codingsamuel/feat/initial
Browse files Browse the repository at this point in the history
feat/initial
  • Loading branch information
codingsamuel authored May 9, 2024
2 parents 3118a4c + a7981d2 commit 6ea7161
Show file tree
Hide file tree
Showing 29 changed files with 17,368 additions and 13,680 deletions.
65 changes: 65 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,65 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json"
],
"createDefaultProgram": true
},
"plugins": [
"@typescript-eslint"
],
"extends": [
"plugin:@angular-eslint/recommended",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/component-class-suffix": [
"error",
{
"suffixes": [
"Page",
"Component",
"Dialog",
"Widget"
]
}
],
"@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/no-explicit-any": "error"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
7 changes: 5 additions & 2 deletions .github/workflows/build.yaml → .github/workflows/build.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,8 @@ jobs:
- name: Lint code
run: npm run lint

- name: Build
run: npm run build
- name: Build Core
run: npm run build core

- name: Build Material
run: npm run build material
Binary file added .nx/cache/18.3.4-nx.win32-x64-msvc.node
Binary file not shown.
Binary file added .nx/cache/nx_files.nxt
Binary file not shown.
21 changes: 21 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,15 @@
},
"defaultConfiguration": "production"
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/core/**/*.ts",
"projects/core/**/*.html"
]
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand Down Expand Up @@ -57,6 +66,15 @@
},
"defaultConfiguration": "production"
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"projects/material/**/*.ts",
"projects/material/**/*.html"
]
}
},
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
Expand All @@ -69,5 +87,8 @@
}
}
}
},
"cli": {
"analytics": false
}
}
Loading

0 comments on commit 6ea7161

Please sign in to comment.