Skip to content

Commit

Permalink
ci(eslint): fix linter
Browse files Browse the repository at this point in the history
  • Loading branch information
Kordrad committed Apr 23, 2024
1 parent ca9de3f commit 04215d6
Show file tree
Hide file tree
Showing 5 changed files with 12 additions and 6 deletions.
6 changes: 5 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,6 @@

# Node
/node_modules
/**/node_modules/*
npm-debug.log
yarn-error.log

Expand Down Expand Up @@ -42,3 +41,8 @@ testem.log
# System files
.DS_Store
Thumbs.db


# Other

src/index.html
1 change: 0 additions & 1 deletion .eslintrc.confiks.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
"ignorePatterns": ["**/*"],
"plugins": ["unused-imports", "simple-import-sort", "prettier", "unicorn"],
"overrides": [
{
Expand Down
7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -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": {
Expand Down
1 change: 1 addition & 0 deletions src/app/app.component.spec.ts
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
import { TestBed } from '@angular/core/testing';

import { AppComponent } from './app.component';

describe('AppComponent', () => {
Expand Down
3 changes: 2 additions & 1 deletion src/main.ts
Original file line number Diff line number Diff line change
@@ -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));

0 comments on commit 04215d6

Please sign in to comment.