Fix imports to work with new lint rules (#19532)
* Add eslint-plugin-import Signed-off-by: Aaron Raimist <aaron@raim.ist> * Autofix + move comments manually Signed-off-by: Aaron Raimist <aaron@raim.ist> * Manual fix Signed-off-by: Aaron Raimist <aaron@raim.ist>
This commit is contained in:
parent
9417470e93
commit
df84c48d73
11 changed files with 141 additions and 38 deletions
|
@ -18,6 +18,12 @@ See the License for the specific language governing permissions and
|
|||
limitations under the License.
|
||||
*/
|
||||
|
||||
import { logger } from "matrix-js-sdk/src/logger";
|
||||
|
||||
// These are things that can run before the skin loads - be careful not to reference the react-sdk though.
|
||||
import { parseQsFromFragment } from "./url_utils";
|
||||
import './modernizr';
|
||||
|
||||
// Require common CSS here; this will make webpack process it into bundle.css.
|
||||
// Our own CSS (which is themed) is imported via separate webpack entry points
|
||||
// in webpack.config.js
|
||||
|
@ -33,11 +39,6 @@ require('katex/dist/katex.css');
|
|||
*/
|
||||
require('./devcss');
|
||||
require('./localstorage-fix');
|
||||
// These are things that can run before the skin loads - be careful not to reference the react-sdk though.
|
||||
import { parseQsFromFragment } from "./url_utils";
|
||||
import './modernizr';
|
||||
|
||||
import { logger } from "matrix-js-sdk/src/logger";
|
||||
|
||||
async function settled(...promises: Array<Promise<any>>) {
|
||||
for (const prom of promises) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue