diff --git a/.eslintignore b/.eslintignore index fd582d2..e099041 100644 --- a/.eslintignore +++ b/.eslintignore @@ -8,7 +8,6 @@ # Node /node_modules -/**/node_modules/* npm-debug.log yarn-error.log @@ -42,3 +41,8 @@ testem.log # System files .DS_Store Thumbs.db + + +# Other + +src/index.html diff --git a/.eslintrc.confiks.json b/.eslintrc.confiks.json index 9b8702a..49572a8 100644 --- a/.eslintrc.confiks.json +++ b/.eslintrc.confiks.json @@ -1,5 +1,4 @@ { - "ignorePatterns": ["**/*"], "plugins": ["unused-imports", "simple-import-sort", "prettier", "unicorn"], "overrides": [ { diff --git a/package.json b/package.json index 194bf7e..99a6f2f 100644 --- a/package.json +++ b/package.json @@ -5,16 +5,17 @@ "ng": "ng", "start": "ng serve", "build": "ng build", - "watch": "ng build --watch --configuration development", + "build:watch": "ng build --watch --configuration development", "test": "ng test", "test:watch": "ng test --watch", "lint": "ng lint", - "prepare": "husky", + "lint:fix": "ng lint --fix", "format": "prettier --ignore-unknown **/*", "format:write": "prettier --write --ignore-unknown **/*", "stylelint": "stylelint **/*.{css,scss}", + "stylelint:fix": "stylelint **/*.{css,scss} --fix", "performance": "npx oxlint -D correctness -D perf --deny-warnings", - "stylelint:fix": "stylelint **/*.{css,scss} --fix" + "prepare": "husky" }, "private": true, "dependencies": { diff --git a/src/app/app.component.spec.ts b/src/app/app.component.spec.ts index c7df438..2f17b9f 100644 --- a/src/app/app.component.spec.ts +++ b/src/app/app.component.spec.ts @@ -1,4 +1,5 @@ import { TestBed } from '@angular/core/testing'; + import { AppComponent } from './app.component'; describe('AppComponent', () => { diff --git a/src/main.ts b/src/main.ts index 7180ec1..15883c5 100644 --- a/src/main.ts +++ b/src/main.ts @@ -1,5 +1,6 @@ import { bootstrapApplication } from '@angular/platform-browser'; -import { appConfig } from './app/app.config'; + import { AppComponent } from './app/app.component'; +import { appConfig } from './app/app.config'; bootstrapApplication(AppComponent, appConfig).catch(err => console.error(err));