diff --git a/judgels-client/.prettierrc.json b/judgels-client/.prettierrc.json index bfc8e7aaf..a49cc9a30 100644 --- a/judgels-client/.prettierrc.json +++ b/judgels-client/.prettierrc.json @@ -1,6 +1,13 @@ { "arrowParens": "avoid", - "importOrder": ["^ace-", "^react-syntax-highlighter/", "^(?!.*.css$)(?!.*Actions$)[./]", "Actions$", ".s?css$"], + "importOrder": [ + "^ace-", + "^react-syntax-highlighter/", + "^(?!.*(Actions|.s?css|/routes/App)$)[./]", + "Actions$", + ".s?css$", + "/routes/App$" + ], "importOrderSeparation": true, "importOrderSortSpecifiers": true, "plugins": ["@trivago/prettier-plugin-sort-imports"], diff --git a/judgels-client/src/index.jsx b/judgels-client/src/index.jsx index 4eac8f3d0..ff9523c84 100644 --- a/judgels-client/src/index.jsx +++ b/judgels-client/src/index.jsx @@ -5,10 +5,11 @@ import { PersistGate } from 'redux-persist/es/integration/react'; import { initGA } from './ga'; import { history, persistor, store } from './modules/store'; -import App from './routes/App'; import './styles/index.scss'; +import App from './routes/App'; + require('typeface-open-sans'); require('typeface-roboto');