Rename all non-snake-case JS/TS imports
[MAILPOET-4938]
This commit is contained in:
@@ -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;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { ConfigComponent } from 'newsletter_editor/components/config';
|
||||
import { ConfigComponent } from 'newsletter-editor/components/config';
|
||||
|
||||
const expect = global.expect;
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -1,4 +1,4 @@
|
||||
import { HistoryComponent } from 'newsletter_editor/components/history';
|
||||
import { HistoryComponent } from 'newsletter-editor/components/history';
|
||||
|
||||
const expect = global.expect;
|
||||
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
@@ -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;
|
||||
|
Reference in New Issue
Block a user