diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml
index 03ae517775..cf207da455 100644
--- a/.pre-commit-config.yaml
+++ b/.pre-commit-config.yaml
@@ -22,4 +22,4 @@ repos:
description: This hook handles all frontend linting for Kolibri Studio
entry: yarn run lint-frontend:format
language: system
- files: \.(js|vue|scss|less|css)$
+ files: \.(js|vue|scss|css)$
diff --git a/.stylelintrc.js b/.stylelintrc.js
index 6ac1911a5a..88bbd1b144 100644
--- a/.stylelintrc.js
+++ b/.stylelintrc.js
@@ -8,8 +8,14 @@ module.exports = {
* Inline comments explain why rule is ignored
*/
'selector-max-id': null, // This would require a major refactor
- 'at-rule-no-unknown': null, // we're using LESS
- 'scss/at-rule-no-unknown': null, // we're using LESS
- 'csstree/validator': null // this triggers issues with unknown at rules too.
+ 'csstree/validator': null, // this triggers issues with unknown at rules too.
+ 'selector-pseudo-element-no-unknown': [
+ true,
+ {
+ // In Vue 2.6 and later, `::v-deep` is used for deep selectors.
+ // This rule allows `::v-deep` to prevent linting errors.
+ ignorePseudoElements: ['v-deep'],
+ }
+ ]
},
};
diff --git a/contentcuration/contentcuration/frontend/accounts/pages/Create.vue b/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
index e4e28d6d08..1f6e4b53d5 100644
--- a/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
+++ b/contentcuration/contentcuration/frontend/accounts/pages/Create.vue
@@ -562,13 +562,13 @@
-
diff --git a/contentcuration/contentcuration/frontend/administration/components/ConfirmationDialog.vue b/contentcuration/contentcuration/frontend/administration/components/ConfirmationDialog.vue
index ca87915d68..ee5023d180 100644
--- a/contentcuration/contentcuration/frontend/administration/components/ConfirmationDialog.vue
+++ b/contentcuration/contentcuration/frontend/administration/components/ConfirmationDialog.vue
@@ -62,5 +62,5 @@
-
diff --git a/contentcuration/contentcuration/frontend/administration/pages/Channels/ChannelActionsDropdown.vue b/contentcuration/contentcuration/frontend/administration/pages/Channels/ChannelActionsDropdown.vue
index 7a871a42a5..ea030b9d5d 100644
--- a/contentcuration/contentcuration/frontend/administration/pages/Channels/ChannelActionsDropdown.vue
+++ b/contentcuration/contentcuration/frontend/administration/pages/Channels/ChannelActionsDropdown.vue
@@ -225,5 +225,5 @@
-
diff --git a/contentcuration/contentcuration/frontend/administration/pages/Users/EmailUsersDialog.vue b/contentcuration/contentcuration/frontend/administration/pages/Users/EmailUsersDialog.vue
index 433ede42c3..242baecb8d 100644
--- a/contentcuration/contentcuration/frontend/administration/pages/Users/EmailUsersDialog.vue
+++ b/contentcuration/contentcuration/frontend/administration/pages/Users/EmailUsersDialog.vue
@@ -248,9 +248,9 @@
-
diff --git a/contentcuration/contentcuration/frontend/administration/pages/Users/UserDetails.vue b/contentcuration/contentcuration/frontend/administration/pages/Users/UserDetails.vue
index fbe0c4bf46..0cfe28208f 100644
--- a/contentcuration/contentcuration/frontend/administration/pages/Users/UserDetails.vue
+++ b/contentcuration/contentcuration/frontend/administration/pages/Users/UserDetails.vue
@@ -400,7 +400,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/AddRelatedResourcesModal.vue b/contentcuration/contentcuration/frontend/channelEdit/components/AddRelatedResourcesModal.vue
index ed87cb859a..cf1a82e6ce 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/components/AddRelatedResourcesModal.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/components/AddRelatedResourcesModal.vue
@@ -236,12 +236,12 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/Clipboard/ContentNode.vue b/contentcuration/contentcuration/frontend/channelEdit/components/Clipboard/ContentNode.vue
index f0795c04dc..77ba98f670 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/components/Clipboard/ContentNode.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/components/Clipboard/ContentNode.vue
@@ -244,7 +244,7 @@
};
-
diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/ContentNodeEditListItem.vue b/contentcuration/contentcuration/frontend/channelEdit/components/ContentNodeEditListItem.vue
index 1e4d0f3c7d..d47852d957 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/components/ContentNodeEditListItem.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/components/ContentNodeEditListItem.vue
@@ -307,7 +307,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/StudioTree/StudioTree.vue b/contentcuration/contentcuration/frontend/channelEdit/components/StudioTree/StudioTree.vue
index a90a5f878c..f045a48a74 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/components/StudioTree/StudioTree.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/components/StudioTree/StudioTree.vue
@@ -412,9 +412,9 @@
-
diff --git a/contentcuration/contentcuration/frontend/channelEdit/components/move/MoveModal.vue b/contentcuration/contentcuration/frontend/channelEdit/components/move/MoveModal.vue
index 5865f28d30..31c188b442 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/components/move/MoveModal.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/components/move/MoveModal.vue
@@ -347,14 +347,14 @@
-
diff --git a/contentcuration/contentcuration/frontend/channelEdit/pages/StagingTreePage/DiffTable.vue b/contentcuration/contentcuration/frontend/channelEdit/pages/StagingTreePage/DiffTable.vue
index b8c7565dcc..cc7272e375 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/pages/StagingTreePage/DiffTable.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/pages/StagingTreePage/DiffTable.vue
@@ -147,10 +147,10 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/BrowsingCard.vue b/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/BrowsingCard.vue
index d5c1105995..4e55199191 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/BrowsingCard.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/BrowsingCard.vue
@@ -193,7 +193,7 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/ImportFromChannelsModal.vue b/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/ImportFromChannelsModal.vue
index e085b6fe7d..cf44d06f05 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/ImportFromChannelsModal.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/views/ImportFromChannels/ImportFromChannelsModal.vue
@@ -274,7 +274,7 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/channelEdit/views/NodePanel.vue b/contentcuration/contentcuration/frontend/channelEdit/views/NodePanel.vue
index 814ae683d9..0c25fe1315 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/views/NodePanel.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/views/NodePanel.vue
@@ -202,7 +202,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/channelEdit/views/trash/TrashModal.vue b/contentcuration/contentcuration/frontend/channelEdit/views/trash/TrashModal.vue
index e1ba3e3625..ae03346c9d 100644
--- a/contentcuration/contentcuration/frontend/channelEdit/views/trash/TrashModal.vue
+++ b/contentcuration/contentcuration/frontend/channelEdit/views/trash/TrashModal.vue
@@ -311,7 +311,7 @@
};
-
+
\ No newline at end of file
diff --git a/contentcuration/contentcuration/frontend/channelList/views/Channel/CatalogList.vue b/contentcuration/contentcuration/frontend/channelList/views/Channel/CatalogList.vue
index 57a52467a8..d7e5120170 100644
--- a/contentcuration/contentcuration/frontend/channelList/views/Channel/CatalogList.vue
+++ b/contentcuration/contentcuration/frontend/channelList/views/Channel/CatalogList.vue
@@ -271,7 +271,7 @@
};
-
diff --git a/contentcuration/contentcuration/frontend/channelList/views/Channel/components/LanguageFilter.vue b/contentcuration/contentcuration/frontend/channelList/views/Channel/components/LanguageFilter.vue
index 47374365b9..3bb72c61c2 100644
--- a/contentcuration/contentcuration/frontend/channelList/views/Channel/components/LanguageFilter.vue
+++ b/contentcuration/contentcuration/frontend/channelList/views/Channel/components/LanguageFilter.vue
@@ -123,16 +123,15 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/channelList/views/ChannelListIndex.vue b/contentcuration/contentcuration/frontend/channelList/views/ChannelListIndex.vue
index 4dee071859..af387cc79a 100644
--- a/contentcuration/contentcuration/frontend/channelList/views/ChannelListIndex.vue
+++ b/contentcuration/contentcuration/frontend/channelList/views/ChannelListIndex.vue
@@ -267,7 +267,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/settings/pages/Storage/index.vue b/contentcuration/contentcuration/frontend/settings/pages/Storage/index.vue
index d4a0552ddc..c6f9689857 100644
--- a/contentcuration/contentcuration/frontend/settings/pages/Storage/index.vue
+++ b/contentcuration/contentcuration/frontend/settings/pages/Storage/index.vue
@@ -139,7 +139,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/LoadingText.vue b/contentcuration/contentcuration/frontend/shared/views/LoadingText.vue
index 070c1a22a0..eed885c30d 100644
--- a/contentcuration/contentcuration/frontend/shared/views/LoadingText.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/LoadingText.vue
@@ -35,7 +35,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/MarkdownEditor/FormulasMenu/FormulasMenu.vue b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/MarkdownEditor/FormulasMenu/FormulasMenu.vue
index 9499dcd4e0..b7d86147ec 100644
--- a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/MarkdownEditor/FormulasMenu/FormulasMenu.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/MarkdownEditor/FormulasMenu/FormulasMenu.vue
@@ -179,7 +179,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/formulas/style.less b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/formulas/style.scss
similarity index 100%
rename from contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/formulas/style.less
rename to contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/formulas/style.scss
diff --git a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/MarkdownImageField.vue b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/MarkdownImageField.vue
index 096531cbe8..72e4c42296 100644
--- a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/MarkdownImageField.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/MarkdownImageField.vue
@@ -64,7 +64,7 @@
// vue-custom-element can't use SFC styles, so we load our styles directly,
// to be passed in when we register this component as a custom element
- import css from '!css-loader!less-loader!./style.less';
+ import css from '!css-loader!sass-loader!./style.scss';
const MarkdownImageField = {
name: 'MarkdownImageField',
@@ -197,8 +197,8 @@
diff --git a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/style.less b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/style.scss
similarity index 84%
rename from contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/style.less
rename to contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/style.scss
index 11392b3ec7..9cea4ca8c3 100644
--- a/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/style.less
+++ b/contentcuration/contentcuration/frontend/shared/views/MarkdownEditor/plugins/image-upload/style.scss
@@ -1,9 +1,7 @@
@import '~vuetify/dist/vuetify.min.css';
// stylelint-disable scss/at-import-partial-extension
-@import '~shared/styles/main.less';
-// stylelint-enable
-@resizer-size: 16px;
+$resizer-size: 16px;
img {
max-width: 100%;
@@ -34,15 +32,15 @@ img {
.resizer {
position: absolute;
- right: -@resizer-size / 2;
+ right: calc(-#{$resizer-size} / 2);
bottom: 2px;
- width: @resizer-size;
- height: @resizer-size;
+ width: $resizer-size;
+ height: $resizer-size;
cursor: se-resize;
user-select: none;
background-color: white;
border: 2px solid var(--v-grey-darken4);
- border-radius: @resizer-size;
+ border-radius: $resizer-size;
}
.edit-options {
@@ -55,11 +53,11 @@ img {
// TUI will automatically move cursor inside button,
// so don't allow clicking on elements inside the button
- /deep/ * {
+ ::v-deep * {
pointer-events: none;
}
- /deep/ .v-btn__content {
+ ::v-deep .v-btn__content {
height: min-content;
}
diff --git a/contentcuration/contentcuration/frontend/shared/views/Menu.vue b/contentcuration/contentcuration/frontend/shared/views/Menu.vue
index 6b433ed8c8..c86b06d164 100644
--- a/contentcuration/contentcuration/frontend/shared/views/Menu.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/Menu.vue
@@ -33,6 +33,6 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/MessageDialog.vue b/contentcuration/contentcuration/frontend/shared/views/MessageDialog.vue
index 9e758cf541..f7fc3d6ddb 100644
--- a/contentcuration/contentcuration/frontend/shared/views/MessageDialog.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/MessageDialog.vue
@@ -59,13 +59,13 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/Tabs.vue b/contentcuration/contentcuration/frontend/shared/views/Tabs.vue
index 74de43f029..07ca152b6d 100644
--- a/contentcuration/contentcuration/frontend/shared/views/Tabs.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/Tabs.vue
@@ -109,7 +109,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/CategoryOptions.vue b/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/CategoryOptions.vue
index f6170a8b9a..30bd844a67 100644
--- a/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/CategoryOptions.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/CategoryOptions.vue
@@ -272,7 +272,7 @@
};
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/LevelsOptions.vue b/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/LevelsOptions.vue
index e300b281a0..6d4d1fb90c 100644
--- a/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/LevelsOptions.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/LevelsOptions.vue
@@ -84,6 +84,6 @@
};
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/ResourcesNeededOptions.vue b/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/ResourcesNeededOptions.vue
index 8585ed7911..2752c8e9b0 100644
--- a/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/ResourcesNeededOptions.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/contentNodeFields/ResourcesNeededOptions.vue
@@ -81,6 +81,6 @@
};
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/details/Details.vue b/contentcuration/contentcuration/frontend/shared/views/details/Details.vue
index 03ace0c8fd..efab758c0f 100644
--- a/contentcuration/contentcuration/frontend/shared/views/details/Details.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/details/Details.vue
@@ -549,9 +549,9 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableHandle.vue b/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableHandle.vue
index 5370009efb..5d10e26289 100644
--- a/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableHandle.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableHandle.vue
@@ -9,5 +9,5 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableItem.vue b/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableItem.vue
index 17f0abe8d7..4050723e39 100644
--- a/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableItem.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/draggable/DraggableItem.vue
@@ -9,5 +9,5 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/draggable/DraggablePlaceholder.vue b/contentcuration/contentcuration/frontend/shared/views/draggable/DraggablePlaceholder.vue
index da091e485c..8dbfbf3085 100644
--- a/contentcuration/contentcuration/frontend/shared/views/draggable/DraggablePlaceholder.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/draggable/DraggablePlaceholder.vue
@@ -43,7 +43,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue b/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue
index 409359f11e..c49e1f6356 100644
--- a/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/errors/AppError.vue
@@ -30,7 +30,7 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/ChannelNotFoundError.vue b/contentcuration/contentcuration/frontend/shared/views/errors/ChannelNotFoundError.vue
index 3852510005..b6115d20ac 100644
--- a/contentcuration/contentcuration/frontend/shared/views/errors/ChannelNotFoundError.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/errors/ChannelNotFoundError.vue
@@ -43,4 +43,4 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/GenericError.vue b/contentcuration/contentcuration/frontend/shared/views/errors/GenericError.vue
index d76af80b6e..57e6c8e0dc 100644
--- a/contentcuration/contentcuration/frontend/shared/views/errors/GenericError.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/errors/GenericError.vue
@@ -80,4 +80,4 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/PageNotFoundError.vue b/contentcuration/contentcuration/frontend/shared/views/errors/PageNotFoundError.vue
index 25b8405e0a..0012a4beaa 100644
--- a/contentcuration/contentcuration/frontend/shared/views/errors/PageNotFoundError.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/errors/PageNotFoundError.vue
@@ -47,4 +47,4 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/PermissionsError.vue b/contentcuration/contentcuration/frontend/shared/views/errors/PermissionsError.vue
index 1dbde60a97..52df9da589 100644
--- a/contentcuration/contentcuration/frontend/shared/views/errors/PermissionsError.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/errors/PermissionsError.vue
@@ -44,4 +44,4 @@
-
+
diff --git a/contentcuration/contentcuration/frontend/shared/views/errors/ReportErrorModal.vue b/contentcuration/contentcuration/frontend/shared/views/errors/ReportErrorModal.vue
index b82e1024a2..b117bfb910 100644
--- a/contentcuration/contentcuration/frontend/shared/views/errors/ReportErrorModal.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/errors/ReportErrorModal.vue
@@ -96,7 +96,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/files/FileStatus.vue b/contentcuration/contentcuration/frontend/shared/views/files/FileStatus.vue
index f277c54d2e..2962e27edd 100644
--- a/contentcuration/contentcuration/frontend/shared/views/files/FileStatus.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/files/FileStatus.vue
@@ -62,7 +62,7 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/form/TextArea.vue b/contentcuration/contentcuration/frontend/shared/views/form/TextArea.vue
index 1db05d1b9d..cf6c27b040 100644
--- a/contentcuration/contentcuration/frontend/shared/views/form/TextArea.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/form/TextArea.vue
@@ -68,6 +68,6 @@
-
diff --git a/contentcuration/contentcuration/frontend/shared/views/form/TextField.vue b/contentcuration/contentcuration/frontend/shared/views/form/TextField.vue
index 0c00c75649..e37bb543d3 100644
--- a/contentcuration/contentcuration/frontend/shared/views/form/TextField.vue
+++ b/contentcuration/contentcuration/frontend/shared/views/form/TextField.vue
@@ -67,6 +67,6 @@
-
diff --git a/package.json b/package.json
index 85f82526a4..68c73b2aef 100644
--- a/package.json
+++ b/package.json
@@ -5,7 +5,7 @@
"description": "Frontend build tools and development utilities for Kolibri Studio",
"scripts": {
"lint:py": "flake8 --exit-zero",
- "lint-frontend": "kolibri-tools lint --pattern 'contentcuration/contentcuration/frontend/**/*.{js,vue,scss,less,css}' --ignore '**/dist/**,**/node_modules/**,**/static/**'",
+ "lint-frontend": "kolibri-tools lint --pattern 'contentcuration/contentcuration/frontend/**/*.{js,vue,scss,css}' --ignore '**/dist/**,**/node_modules/**,**/static/**'",
"lint-frontend:format": "yarn run lint-frontend --write",
"lint-frontend:watch": "yarn run lint-frontend --monitor",
"lint-frontend:watch:format": "yarn run lint-frontend --monitor --write",
@@ -115,8 +115,6 @@
"jest-environment-jsdom-sixteen": "^1.0.3",
"jest-serializer-vue": "^3.1.0",
"kolibri-tools": "0.16.0-dev.3",
- "less": "^3.0.1",
- "less-loader": "^11.1.3",
"npm-run-all": "^4.1.3",
"stylus": "^0.63.0",
"stylus-loader": "^7.1.3",
diff --git a/webpack.config.js b/webpack.config.js
index 3e1432d31a..fb0ef0dec9 100644
--- a/webpack.config.js
+++ b/webpack.config.js
@@ -101,10 +101,6 @@ module.exports = (env = {}) => {
test: /\.styl(us)?$/,
use: baseCssLoaders.concat('stylus-loader'),
},
- {
- test: /\.less?$/,
- use: baseCssLoaders.concat('less-loader'),
- },
],
},
resolve: {
@@ -116,7 +112,7 @@ module.exports = (env = {}) => {
vuetify: path.resolve('node_modules', 'vuetify'),
static: staticFilesDir,
},
- extensions: ['.js', '.vue', '.css', '.less'],
+ extensions: ['.js', '.vue', '.css'],
modules: [rootNodeModules],
},
resolveLoader: {