Skip to content

Commit

Permalink
fix: revert changes to eslint config files to fix linting errors
Browse files Browse the repository at this point in the history
  • Loading branch information
AleksanderBodurri committed Nov 14, 2023
1 parent c265612 commit cbbbecc
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 20 deletions.
15 changes: 3 additions & 12 deletions angular.json
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "projects/ngx-turnstile/tsconfig.spec.json",
"karmaConfig": "projects/ngx-turnstile/karma.conf.js"
}
Expand Down Expand Up @@ -63,10 +60,7 @@
"outputPath": "dist/ngx-turnstile-demo",
"index": "projects/ngx-turnstile-demo/src/index.html",
"main": "projects/ngx-turnstile-demo/src/main.ts",
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "projects/ngx-turnstile-demo/tsconfig.app.json",
"inlineStyleLanguage": "scss",
"assets": [
Expand Down Expand Up @@ -130,10 +124,7 @@
"test": {
"builder": "@angular-devkit/build-angular:karma",
"options": {
"polyfills": [
"zone.js",
"zone.js/testing"
],
"polyfills": ["zone.js", "zone.js/testing"],
"tsConfig": "projects/ngx-turnstile-demo/tsconfig.spec.json",
"karmaConfig": "projects/ngx-turnstile-demo/karma.conf.js",
"inlineStyleLanguage": "scss",
Expand Down
4 changes: 2 additions & 2 deletions projects/ngx-turnstile-demo/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"files": ["*.ts"],
"parserOptions": {
"project": [
"tsconfig.app.json",
"tsconfig.spec.json"
"projects/ngx-turnstile-demo/tsconfig.app.json",
"projects/ngx-turnstile-demo/tsconfig.spec.json"
],
"createDefaultProgram": true
},
Expand Down
4 changes: 1 addition & 3 deletions projects/ngx-turnstile-demo/tsconfig.app.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@
"outDir": "../../out-tsc/app",
"types": []
},
"files": [
"src/main.ts"
],
"files": ["src/main.ts"],
"include": ["src/**/*.d.ts"]
}
4 changes: 2 additions & 2 deletions projects/ngx-turnstile/.eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@
"files": ["*.ts"],
"parserOptions": {
"project": [
"tsconfig.lib.json",
"tsconfig.spec.json"
"projects/ngx-turnstile/tsconfig.lib.json",
"projects/ngx-turnstile/tsconfig.spec.json"
],
"createDefaultProgram": true
},
Expand Down
2 changes: 1 addition & 1 deletion projects/ngx-turnstile/src/lib/ngx-turnstile.service.ts
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
import { Injectable } from '@angular/core';

@Injectable({
providedIn: 'root'
providedIn: 'root',
})
export class NgxTurnstileService {
constructor() {}
Expand Down

0 comments on commit cbbbecc

Please sign in to comment.