Skip to content

Commit

Permalink
chore: update lint script
Browse files Browse the repository at this point in the history
  • Loading branch information
danielroe committed Sep 10, 2023
1 parent 76e90b8 commit 6a9a3f9
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@
"lint:all:eslint": "pnpm lint:eslint --ext .ts,.js,.mjs,.cjs .",
"lint:all:prettier": "pnpm lint:prettier \"{src,test}/**/*.{js,json,ts}\"",
"lint:eslint": "eslint --fix",
"lint:prettier": "prettier --write --loglevel warn",
"lint:prettier": "prettier --write --log-level warn",
"prepare": "husky install && pnpm build",
"prepublishOnly": "pnpm lint && pnpm test",
"release": "pnpm test && bumpp && npm publish",
Expand Down
4 changes: 3 additions & 1 deletion src/transform.ts
Original file line number Diff line number Diff line change
Expand Up @@ -155,5 +155,7 @@ const FONT_FAMILY_RE = createRegExp(
)

const CSS_RE = createRegExp(
exactly('.').and(anyOf('sass', 'css', 'scss')).at.lineEnd()
exactly('.')
.and(anyOf('sass', 'css', 'scss'))
.at.lineEnd()
)

0 comments on commit 6a9a3f9

Please sign in to comment.