Rename all non-snake-case JS/TS imports

[MAILPOET-4938]
This commit is contained in:
Jan Jakes
2023-09-26 14:02:21 +02:00
committed by Aschepikov
parent c8fc6bf49a
commit d664f60e4b
439 changed files with 970 additions and 967 deletions

View File

@@ -1,6 +1,6 @@
/* (ES6 -> CommonJS transform needed for inject-loader) */
/* eslint-disable-next-line max-len */
import CommunicationInjector from 'inject-loader!babel-loader?plugins[]=@babel/plugin-transform-modules-commonjs!newsletter_editor/components/communication';
import CommunicationInjector from 'inject-loader!babel-loader?plugins[]=@babel/plugin-transform-modules-commonjs!newsletter-editor/components/communication';
const expect = global.expect;
const jQuery = global.jQuery;

View File

@@ -1,4 +1,4 @@
import { ConfigComponent } from 'newsletter_editor/components/config';
import { ConfigComponent } from 'newsletter-editor/components/config';
const expect = global.expect;

View File

@@ -1,5 +1,5 @@
import { App } from 'newsletter_editor/App';
import { ContentComponent } from 'newsletter_editor/components/content';
import { App } from 'newsletter-editor/app';
import { ContentComponent } from 'newsletter-editor/components/content';
const expect = global.expect;
const sinon = global.sinon;

View File

@@ -1,4 +1,4 @@
import { HeadingComponent } from 'newsletter_editor/components/heading';
import { HeadingComponent } from 'newsletter-editor/components/heading';
const expect = global.expect;
const Backbone = global.Backbone;

View File

@@ -1,4 +1,4 @@
import { HistoryComponent } from 'newsletter_editor/components/history';
import { HistoryComponent } from 'newsletter-editor/components/history';
const expect = global.expect;

View File

@@ -1,10 +1,10 @@
import { App } from 'newsletter_editor/App';
import { SaveComponent } from 'newsletter_editor/components/save';
import { App } from 'newsletter-editor/app';
import { SaveComponent } from 'newsletter-editor/components/save';
import jQuery from 'jquery';
/* (ES6 -> CommonJS transform needed for inject-loader) */
/* eslint-disable-next-line max-len */
import SaveInjector from 'inject-loader!babel-loader?plugins[]=@babel/plugin-transform-modules-commonjs!newsletter_editor/components/save';
import SaveInjector from 'inject-loader!babel-loader?plugins[]=@babel/plugin-transform-modules-commonjs!newsletter-editor/components/save';
const expect = global.expect;
const sinon = global.sinon;

View File

@@ -1,4 +1,4 @@
import { SidebarComponent } from 'newsletter_editor/components/sidebar';
import { SidebarComponent } from 'newsletter-editor/components/sidebar';
const expect = global.expect;
const Backbone = global.Backbone;

View File

@@ -1,5 +1,5 @@
import { App } from 'newsletter_editor/App';
import { StylesComponent } from 'newsletter_editor/components/styles';
import { App } from 'newsletter-editor/app';
import { StylesComponent } from 'newsletter-editor/components/styles';
const expect = global.expect;
const sinon = global.sinon;