Skip to content

Commit

Permalink
2.0 (#162)
Browse files Browse the repository at this point in the history
  • Loading branch information
klassare authored Sep 16, 2021
1 parent 10c9cf6 commit 654ff52
Show file tree
Hide file tree
Showing 470 changed files with 30,359 additions and 18,078 deletions.
74 changes: 74 additions & 0 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,74 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"overrides": [
{
"files": [
"*.ts"
],
"parserOptions": {
"project": [
"tsconfig.json",
"e2e/tsconfig.json"
],
"createDefaultProgram": true
},
"extends": [
"plugin:@angular-eslint/ng-cli-compat",
"plugin:@angular-eslint/ng-cli-compat--formatting-add-on",
"plugin:@angular-eslint/template/process-inline-templates"
],
"rules": {
"@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/consistent-type-definitions": "error",
"@typescript-eslint/dot-notation": "off",
"@typescript-eslint/explicit-member-accessibility": [
"off",
{
"accessibility": "explicit"
}
],
"brace-style": [
"error",
"1tbs"
],
"id-blacklist": "off",
"id-match": "off",
"max-len": [
"off",
{
"code": 180
}
],
"no-bitwise": "off",
"no-underscore-dangle": "off"
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"rules": {}
}
]
}
31 changes: 9 additions & 22 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,19 +24,14 @@
"src/serviceworker"
],
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"./node_modules/font-awesome/css/font-awesome.css",
"./node_modules/simple-line-icons/css/simple-line-icons.css",
"src/scss/style.scss"
"src/scss/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
"./node_modules"
]
},
"scripts": [
"node_modules/jquery/dist/jquery.min.js"
]
"scripts": []
},
"configurations": {
"production": {
Expand Down Expand Up @@ -104,14 +99,9 @@
"karmaConfig": "./karma.conf.js",
"polyfills": "src/polyfills.ts",
"tsConfig": "src/tsconfig.spec.json",
"scripts": [
"node_modules/jquery/dist/jquery.min.js"
],
"scripts": [],
"styles": [
"./node_modules/bootstrap/dist/css/bootstrap.min.css",
"node_modules/font-awesome/css/font-awesome.css",
"node_modules/simple-line-icons/css/simple-line-icons.css",
"src/scss/style.scss"
"src/scss/styles.scss"
],
"stylePreprocessorOptions": {
"includePaths": [
Expand All @@ -127,14 +117,11 @@
}
},
"lint": {
"builder": "@angular-devkit/build-angular:tslint",
"builder": "@angular-eslint/builder:lint",
"options": {
"tsConfig": [
"src/tsconfig.app.json",
"src/tsconfig.spec.json"
],
"exclude": [
"**/node_modules/**"
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
}
}
Expand Down Expand Up @@ -176,4 +163,4 @@
"prefix": "app"
}
}
}
}
2 changes: 1 addition & 1 deletion karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -30,4 +30,4 @@ module.exports = function (config) {
browsers: ['ChromeHeadless'],
singleRun: false
});
};
};
Loading

0 comments on commit 654ff52

Please sign in to comment.