Skip to content

Commit 1a21bc3

Browse files
committed
minor #2880 Remove useless eslint- comments (Kocal)
This PR was merged into the 2.x branch. Discussion ---------- Remove useless `eslint-` comments | Q | A | ------------- | --- | Bug fix? | no | New feature? | no <!-- please update src/**/CHANGELOG.md files --> | Docs? | no <!-- required for new features --> | Issues | Fix #2878 <!-- prefix each issue number with "Fix #", no need to create an issue if none exist, explain below instead --> | License | MIT <!-- Replace this notice by a description of your feature/bugfix. This will help reviewers and should be a good start for the documentation. Additionally (see https://symfony.com/releases): - Always add tests and ensure they pass. - For new features, provide some code snippets to help understand usage. - Features and deprecations must be submitted against branch main. - Update/add documentation as required (we can help!) - Changelog entry should follow https://symfony.com/doc/current/contributing/code/conventions.html#writing-a-changelog-entry - Never break backward compatibility (see https://symfony.com/bc). --> Commits ------- 86cbdc9 Remove useless `eslint-` comments
2 parents b7582c6 + 86cbdc9 commit 1a21bc3

File tree

5 files changed

+0
-5
lines changed

5 files changed

+0
-5
lines changed

src/Chartjs/assets/test/setup.js

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,5 +8,4 @@
88
*/
99

1010
import 'vitest-canvas-mock';
11-
// eslint-disable-next-line
1211
global.ResizeObserver = require('resize-observer-polyfill');

src/LiveComponent/assets/src/Component/index.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -579,7 +579,6 @@ export function proxifyComponent(component: Component): Component {
579579

580580
set(target: Component, property: string, value: any): boolean {
581581
if (property in target) {
582-
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
583582
// @ts-ignore Ignoring potentially setting private properties
584583
target[property as keyof typeof target] = value;
585584

src/Translator/assets/src/translator.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,6 @@ export type ParametersOf<M, D extends DomainType> = M extends Message<infer Tran
2323
: never
2424
: never;
2525

26-
// eslint-disable-next-line @typescript-eslint/no-unused-vars
2726
export interface Message<Translations extends TranslationsType, Locale extends LocaleType> {
2827
id: string;
2928
translations: {

src/Turbo/assets/test/turbo_controller.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,6 @@ const startStimulus = () => {
1717
application.register('symfony--ux-turbo--turbo', TurboController);
1818
};
1919

20-
/* eslint-disable no-undef */
2120
describe('TurboStreamController', () => {
2221
let container: HTMLElement;
2322

src/Turbo/assets/test/turbo_stream_controller.test.ts

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,6 @@ const startStimulus = () => {
1818
application.register('symfony--ux-turbo--mercure-turbo-stream', TurboStreamController);
1919
};
2020

21-
/* eslint-disable no-undef */
2221
describe('TurboStreamController', () => {
2322
let container: HTMLElement;
2423

0 commit comments

Comments
 (0)