Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Remove vestiges of JSHint config, comments

Alexander Brandon Colesc51283de3b6c
diff --git a/frontend/.jshintrc b/frontend/.jshintrc
deleted file mode 100644
index 25137b31ba0..00000000000
--- a/frontend/.jshintrc
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "node": true,
- "jquery": true,
- "predef": [
- "OpenProject",
-
- "_",
- "moment",
-
- "angular",
- "inject",
- "module",
-
- "I18n",
- "gon",
-
- "Ajax",
-
- "context",
- "expect",
- "element",
- "describe",
- "xdescribe",
- "it",
- "xit",
- "beforeEach",
- "before",
- "afterEach",
- "after",
- "sinon",
- "Factory",
-
- "browser",
- "by"
- ],
-
- "asi": false,
- "bitwise": true,
- "browser": true,
- "camelcase": true,
- "curly": true,
- "forin": true,
- "immed": true,
- "latedef": "nofunc",
- "newcap": true,
- "noarg": true,
- "noempty": true,
- "nonew": true,
- "maxlen": 120,
- "quotmark": true,
- "sub": true,
- "undef": true,
- "unused": true,
- "eqeqeq": true
-}
diff --git a/frontend/src/app/core/current-project/current-project.service.spec.ts b/frontend/src/app/core/current-project/current-project.service.spec.ts
index 419f41cb78d..3f3654ad4ff 100644
--- a/frontend/src/app/core/current-project/current-project.service.spec.ts
+++ b/frontend/src/app/core/current-project/current-project.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';
import { CurrentProjectService } from './current-project.service';
diff --git a/frontend/src/app/core/datetime/timezone.service.spec.ts b/frontend/src/app/core/datetime/timezone.service.spec.ts
index 40bc93ab24d..04029a5c564 100644
--- a/frontend/src/app/core/datetime/timezone.service.spec.ts
+++ b/frontend/src/app/core/datetime/timezone.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { TestBed } from '@angular/core/testing';
import { provideHttpClient, withInterceptorsFromDi } from '@angular/common/http';
import { PathHelperService } from 'core-app/core/path-helper/path-helper.service';
diff --git a/frontend/src/app/core/model-auth/model-auth.service.spec.ts b/frontend/src/app/core/model-auth/model-auth.service.spec.ts
index f892f7b2adb..14ebcfa6192 100644
--- a/frontend/src/app/core/model-auth/model-auth.service.spec.ts
+++ b/frontend/src/app/core/model-auth/model-auth.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { AuthorisationService } from './model-auth.service';
describe('authorisationService', () => {
diff --git a/frontend/src/app/core/state/capabilities/capabilities.service.spec.ts b/frontend/src/app/core/state/capabilities/capabilities.service.spec.ts
index 16beb298ad0..c31adb1600e 100644
--- a/frontend/src/app/core/state/capabilities/capabilities.service.spec.ts
+++ b/frontend/src/app/core/state/capabilities/capabilities.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { TestBed } from '@angular/core/testing';
import { HttpTestingController, provideHttpClientTesting } from '@angular/common/http/testing';
import { States } from 'core-app/core/states/states.service';
diff --git a/frontend/src/app/features/calendar/op-calendar.service.spec.ts b/frontend/src/app/features/calendar/op-calendar.service.spec.ts
index 706bda766ac..96a766503c6 100644
--- a/frontend/src/app/features/calendar/op-calendar.service.spec.ts
+++ b/frontend/src/app/features/calendar/op-calendar.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { waitForAsync } from '@angular/core/testing';
import { OpCalendarService } from 'core-app/features/calendar/op-calendar.service';
diff --git a/frontend/src/app/features/plugins/hook-service.spec.ts b/frontend/src/app/features/plugins/hook-service.spec.ts
index fa2a09e17d6..e87f3f70481 100644
--- a/frontend/src/app/features/plugins/hook-service.spec.ts
+++ b/frontend/src/app/features/plugins/hook-service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { HookService } from 'core-app/features/plugins/hook-service';
describe('HookService', () => {
diff --git a/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts b/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts
index a73f6ccf224..2ddd14d40e3 100644
--- a/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts
+++ b/frontend/src/app/features/work-packages/components/wp-query/url-params-helper.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { UrlParamsHelperService } from 'core-app/features/work-packages/components/wp-query/url-params-helper';
describe('UrlParamsHelper', () => {
diff --git a/frontend/src/app/features/work-packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts b/frontend/src/app/features/work-packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts
index 20f94db546c..4ce40d219fe 100644
--- a/frontend/src/app/features/work-packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts
+++ b/frontend/src/app/features/work-packages/routing/wp-view-base/view-services/wp-view-hierarchy-indentation.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/* jshint expr: true */
-
import { TestBed, waitForAsync } from '@angular/core/testing';
import { States } from 'core-app/core/states/states.service';
import { IsolatedQuerySpace } from 'core-app/features/work-packages/directives/query-space/isolated-query-space';
diff --git a/modules/github_integration/frontend/module/git-actions/git-actions.service.spec.ts b/modules/github_integration/frontend/module/git-actions/git-actions.service.spec.ts
index c6fa19e2f3f..3a8b5f340d0 100644
--- a/modules/github_integration/frontend/module/git-actions/git-actions.service.spec.ts
+++ b/modules/github_integration/frontend/module/git-actions/git-actions.service.spec.ts
@@ -26,8 +26,6 @@
// See COPYRIGHT and LICENSE files for more details.
//++
-/*jshint expr: true*/
-
import { GitActionsService } from './git-actions.service';
import { WorkPackageResource } from "core-app/features/hal/resources/work-package-resource";
import { TestBed, waitForAsync } from '@angular/core/testing';