Skip to content

Commit

Permalink
lint-staged settings move to package.json
Browse files Browse the repository at this point in the history
  • Loading branch information
sasaplus1 committed Aug 21, 2023
1 parent 5aa53d7 commit 50c24ba
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 12 deletions.
12 changes: 0 additions & 12 deletions .lintstagedrc.js

This file was deleted.

14 changes: 14 additions & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,6 +39,20 @@
"dist/**/*"
],
"license": "MIT",
"lint-staged": {
"*.{js,ts}": [
"eslint",
"prettier --check"
],
"*.{md,yml}": [
"prettier --check"
],
"!package{,-lock}.json": "prettier --check",
"package.json": [
"npx fixpack --dryRun",
"prettier --check"
]
},
"main": "./dist/cjs/index.js",
"module": "./dist/esm/index.mjs",
"readmeFilename": "README.md",
Expand Down

0 comments on commit 50c24ba

Please sign in to comment.