Skip to content

Commit c8c6b0c

Browse files
committedJun 20, 2022
fix(lint-staged): do not run prettier on .nvmrc
1 parent 221d7e9 commit c8c6b0c

File tree

3 files changed

+10
-1
lines changed

3 files changed

+10
-1
lines changed
 

‎.changeset/sharp-kangaroos-tap.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
---
2+
'@1stg/app-config': patch
3+
'@1stg/common-config': patch
4+
'@1stg/lib-config': patch
5+
'@1stg/lint-staged': patch
6+
---
7+
8+
fix(lint-staged): do not run prettier on .nvmrc

‎.nvmrc

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
lts/*

‎packages/lint-staged/base.js

+1-1
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ const { isPkgAvailable } = require('@pkgr/utils')
22

33
const config = [
44
'*.{*sh,env,env.*,gql,html,json,properties,pug,rb,svelte,vue,toml,yaml,yml}',
5-
'.*rc',
5+
'.!(nvm)rc',
66
'Dockerfile',
77
].reduce(
88
(acc, files) =>

0 commit comments

Comments
 (0)
Please sign in to comment.