Skip to content

Commit

Permalink
LPD-24074 - SF
Browse files Browse the repository at this point in the history
  • Loading branch information
bryceosterhaus authored and brianchandotcom committed Jun 5, 2024
1 parent b27e4b7 commit 77729f7
Show file tree
Hide file tree
Showing 5 changed files with 18 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -53,8 +53,9 @@ module.exports = stylelint.createPlugin(
return;
}

const [, left, params, right] =
rule.params.match(PARAMS_REGEXP);
const [, left, params, right] = rule.params.match(
PARAMS_REGEXP
);

if (params.endsWith(SCSS_EXT)) {
const desired =
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -116,8 +116,9 @@ module.exports = stylelint.createPlugin(
// so we have to reattach them to the next
// node.

const blanks =
comment.raws.before.match(/^\n+/);
const blanks = comment.raws.before.match(
/^\n+/
);

if (blanks && next) {
next.raws.before = '\n' + next.raws.before;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/

/* global module*/

module.exports = {
plugins: {
autoprefixer: {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
* SPDX-License-Identifier: LGPL-2.1-or-later OR LicenseRef-Liferay-DXP-EULA-2.0.0-2023-06
*/

/* global module*/

module.exports = {
plugins: {
autoprefixer: {
Expand Down
13 changes: 12 additions & 1 deletion modules/npmscripts.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -785,18 +785,26 @@ module.exports = {
],
'allowed-non-global-dependencies': [
'@liferay/npm-scripts',
'@typescript-eslint/parser',
'@vscode/ripgrep',
'alloy-ui',
'axios',
'babel-eslint',
'browser-tabs-lock',
'ckeditor4',
'codemirror',
'core-js',
'cross-env',
'd3',
'esbuild',
'es-module-shims',
'esbuild',
'eslint',
'execa',
'fast-glob',
'fetch-mock',
'fs',
'glob',
'globby',
'gulp',
'hash.js',
'history',
Expand All @@ -808,11 +816,14 @@ module.exports = {
'os-browserify',
'path-browserify',
'path-to-regexp',
'prettier',
'react-dnd-test-utils',
'resize-observer-polyfill',
'resolve',
'stylelint',
'swagger-ui-react',
'timers-browserify',
'typescript',
'webpack',
],
},
Expand Down

0 comments on commit 77729f7

Please sign in to comment.