Skip to content

Commit

Permalink
code improvement compete
Browse files Browse the repository at this point in the history
  • Loading branch information
ct-dixit committed Jan 29, 2024
1 parent a80a73b commit 7b6b0cb
Show file tree
Hide file tree
Showing 62 changed files with 1,233 additions and 1,059 deletions.
16 changes: 4 additions & 12 deletions angular/.eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,9 @@
{
"root": true,
"ignorePatterns": [
"projects/**/*"
],
"ignorePatterns": ["projects/**/*"],
"overrides": [
{
"files": [
"*.ts"
],
"files": ["*.ts"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/recommended",
Expand All @@ -34,12 +30,8 @@
}
},
{
"files": [
"*.html"
],
"extends": [
"plugin:@angular-eslint/template/recommended"
],
"files": ["*.html"],
"extends": ["plugin:@angular-eslint/template/recommended"],
"rules": {}
}
]
Expand Down
37 changes: 8 additions & 29 deletions angular/angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,27 +17,16 @@
"build": {
"builder": "@angular-devkit/build-angular:browser",
"options": {
"allowedCommonJsDependencies": [
"bezier-easing",
"mousetrap",
"apexcharts"
],
"allowedCommonJsDependencies": ["bezier-easing", "mousetrap", "apexcharts"],
"outputPath": "dist",
"index": "src/index.html",
"main": "src/main.ts",
"polyfills": "src/polyfills.ts",
"tsConfig": "tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"scripts": [
"node_modules/apexcharts/dist/apexcharts.min.js"
]
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": ["node_modules/apexcharts/dist/apexcharts.min.js"]
},
"configurations": {
"production": {
Expand Down Expand Up @@ -98,32 +87,22 @@
"tsConfig": "tsconfig.spec.json",
"karmaConfig": "karma.conf.js",
"inlineStyleLanguage": "scss",
"assets": [
"src/favicon.ico",
"src/assets"
],
"styles": [
"src/styles.scss"
],
"assets": ["src/favicon.ico", "src/assets"],
"styles": ["src/styles.scss"],
"scripts": []
}
},
"lint": {
"builder": "@angular-eslint/builder:lint",
"options": {
"lintFilePatterns": [
"src/**/*.ts",
"src/**/*.html"
]
"lintFilePatterns": ["src/**/*.ts", "src/**/*.html"]
}
}
}
}
},
"cli": {
"analytics": "add15f09-9029-4c0f-82d1-1471de99ba6f",
"schematicCollections": [
"@angular-eslint/schematics"
]
"schematicCollections": ["@angular-eslint/schematics"]
}
}
5 changes: 1 addition & 4 deletions angular/karma.conf.js
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@ module.exports = function (config) {
coverageReporter: {
dir: require('path').join(__dirname, './coverage/skeleton'),
subdir: '.',
reporters: [
{ type: 'html' },
{ type: 'text-summary' }
]
reporters: [{ type: 'html' }, { type: 'text-summary' }]
},
reporters: ['progress', 'kjhtml'],
port: 9876,
Expand Down
Loading

0 comments on commit 7b6b0cb

Please sign in to comment.