-
-
Notifications
You must be signed in to change notification settings - Fork 184
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
chore: do not format .svelte fixtures unexpectedly
- Loading branch information
Showing
3 changed files
with
23 additions
and
10 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
diff --git a/node_modules/@1stg/lint-staged/base.js b/node_modules/@1stg/lint-staged/base.js | ||
index 827bd15..51c8e5d 100644 | ||
--- a/node_modules/@1stg/lint-staged/base.js | ||
+++ b/node_modules/@1stg/lint-staged/base.js | ||
@@ -1,7 +1,7 @@ | ||
const { isPkgAvailable, tryFile } = require('@pkgr/utils') | ||
|
||
const config = [ | ||
- '*.{*sh,env,env.*,gql,html,json,properties,pug,rb,svelte,vue,toml,yaml,yml}', | ||
+ '*.{*sh,env,env.*,gql,html,json,properties,pug,rb,vue,toml,yaml,yml}', | ||
'.*rc', | ||
'Dockerfile', | ||
].reduce( |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
<script> | ||
let name = 'world'; | ||
let name = 'world'; | ||
</script> | ||
|
||
<h1>Hello {name}!</h1> | ||
<h1 > Hello { name }!</h1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters