Explorar el Código

remove eslint-disable-next-line vars-on-top, no-var lines

Yuki Takei hace 2 meses
padre
commit
90859dec4a

+ 0 - 1
apps/app/src/components/Script/DrawioViewerScript/DrawioViewerScript.tsx

@@ -5,7 +5,6 @@ import type { IGraphViewerGlobal } from '@growi/remark-drawio';
 import { generateViewerMinJsUrl } from './use-viewer-min-js-url';
 
 declare global {
-  // eslint-disable-next-line vars-on-top, no-var
   var GraphViewer: IGraphViewerGlobal;
 }
 

+ 0 - 1
apps/app/src/features/growi-plugin/client/components/GrowiPluginsActivator.tsx

@@ -6,7 +6,6 @@ import {
 } from '../utils/growi-facade-utils';
 
 declare global {
-  // eslint-disable-next-line vars-on-top, no-var
   var pluginActivators: {
     [key: string]: {
       activate: () => void;

+ 0 - 1
apps/app/src/features/growi-plugin/client/utils/growi-facade-utils.ts

@@ -3,7 +3,6 @@ import { isServer } from '@growi/core/dist/utils/browser-utils';
 import deepmerge from 'ts-deepmerge';
 
 declare global {
-  // eslint-disable-next-line vars-on-top, no-var
   var growiFacade: GrowiFacade;
 }
 

+ 1 - 1
bin/data-migrations/src/index.js

@@ -1,5 +1,5 @@
 
-/* eslint-disable no-undef, no-var, vars-on-top, no-restricted-globals, regex/invalid, import/extensions */
+/* eslint-disable no-undef, no-restricted-globals, regex/invalid, import/extensions */
 // ignore lint error because this file is js as mongoshell
 
 /**

+ 0 - 1
packages/remark-drawio/src/components/DrawioViewer.tsx

@@ -17,7 +17,6 @@ import { isGraphViewerGlobal } from '../utils/global';
 import styles from './DrawioViewer.module.scss';
 
 declare global {
-  // eslint-disable-next-line vars-on-top, no-var
   var GraphViewer: IGraphViewerGlobal;
 }