Skip to content

Commit 0d6165b

Browse files
Bump xo from 0.54.2 to 0.58.0 (#262)
* Bump xo from 0.54.2 to 0.58.0 Bumps [xo](https://github.com/xojs/xo) from 0.54.2 to 0.58.0. - [Release notes](https://github.com/xojs/xo/releases) - [Commits](xojs/xo@v0.54.2...v0.58.0) --- updated-dependencies: - dependency-name: xo dependency-type: direct:development update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] <[email protected]> * fix --------- Signed-off-by: dependabot[bot] <[email protected]> Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com> Co-authored-by: XhmikosR <[email protected]>
1 parent d530b0e commit 0d6165b

File tree

4 files changed

+2042
-2343
lines changed

4 files changed

+2042
-2343
lines changed

index.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ const parseFileSync = (file, options) => {
6767

6868
const parseData = (fileName, content, options) => {
6969
const sassFileString = stripBom(content) // Strip BOM mark
70-
.replace(/^---$/gm, ''); // Remove (Jekyll, YAML) front-matter comments
70+
.replaceAll(/^---$/gm, ''); // Remove (Jekyll, YAML) front-matter comments
7171
const variables = parse(fileName, sassFileString, options.ignore);
7272

7373
return {

lib/parse-variable.js

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,6 @@
11
import { parse as scssParse } from 'postcss-scss';
2-
/* eslint-disable n/file-extension-in-import */
32
import Declaration from 'postcss/lib/declaration';
43
import Comment from 'postcss/lib/comment';
5-
/* eslint-enable n/file-extension-in-import */
64

75
let file = '';
86
let fusvEnabled = true;

0 commit comments

Comments
 (0)