Skip to content

Commit

Permalink
ab tests
Browse files Browse the repository at this point in the history
  • Loading branch information
Romanchuk committed Sep 12, 2021
1 parent 31e7d55 commit eb8126b
Show file tree
Hide file tree
Showing 34 changed files with 53,001 additions and 51,592 deletions.
30 changes: 30 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,36 @@
"files": ["*.js", "*.jsx"],
"extends": ["plugin:@nrwl/nx/javascript"],
"rules": {}
},
{
"files": ["*.ts"],
"extends": [
"plugin:@nrwl/nx/angular",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@angular-eslint/directive-selector": [
"error",
{
"type": "attribute",
"prefix": "prt",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "prt",
"style": "kebab-case"
}
]
}
},
{
"files": ["*.html"],
"extends": ["plugin:@nrwl/nx/angular-template"],
"rules": {}
}
]
}
22 changes: 22 additions & 0 deletions angular.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,28 @@
{
"version": 1,
"projects": {
"ab": {
"projectType": "library",
"root": "libs/ab",
"sourceRoot": "libs/ab/src",
"prefix": "protoarch",
"architect": {
"test": {
"builder": "@nrwl/jest:jest",
"outputs": ["coverage/libs/ab"],
"options": {
"jestConfig": "libs/ab/jest.config.js",
"passWithNoTests": true
}
},
"lint": {
"builder": "@nrwl/linter:eslint",
"options": {
"lintFilePatterns": ["libs/ab/src/**/*.ts", "libs/ab/src/**/*.html"]
}
}
}
},
"api": {
"projectType": "library",
"root": "libs/api",
Expand Down
4 changes: 2 additions & 2 deletions apps/protoarch-app-demo/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,15 +13,15 @@
"error",
{
"type": "attribute",
"prefix": "protoarch",
"prefix": "proto",
"style": "camelCase"
}
],
"@angular-eslint/component-selector": [
"error",
{
"type": "element",
"prefix": "protoarch",
"prefix": "proto",
"style": "kebab-case"
}
]
Expand Down
4 changes: 4 additions & 0 deletions libs/ab/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"extends": ["../../.eslintrc.json"],
"ignorePatterns": ["!**/*"]
}
Loading

0 comments on commit eb8126b

Please sign in to comment.