Skip to content

Commit

Permalink
chore(lintstaged): 🏗 move config out of package json
Browse files Browse the repository at this point in the history
  • Loading branch information
navin-moorthy committed Feb 11, 2022
1 parent 4fa74a0 commit eaaa5d3
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
1 change: 0 additions & 1 deletion .eslintignore
Original file line number Diff line number Diff line change
Expand Up @@ -54,4 +54,3 @@ yarn.lock
## library folder
dist
CHANGELOG.md
.yalc/
4 changes: 4 additions & 0 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,4 @@
{
"**/*.{js,jsx,tx,tsx}": ["yarn lint:fix"],
"**/*.{html,css,js,jsx,ts,tsx,md,json}": ["yarn format"]
}
2 changes: 1 addition & 1 deletion .yalc/nextra-renderlesskit-theme-docs/dist/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -1176,7 +1176,7 @@ import React19, {
useState as useState3
} from "react";
import cn4 from "classnames";
import matchSorter from "match-sorter";
import { matchSorter } from "match-sorter";
import Link4 from "next/link";
import { useRouter as useRouter4 } from "next/router";
var Item2 = ({ title, active, href, onMouseOver, search }) => {
Expand Down
8 changes: 0 additions & 8 deletions .yalc/nextra-renderlesskit-theme-docs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,6 @@
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.{js,jsx,tx,tsx}": [
"yarn lint:fix"
],
"**/*.{html,css,js,jsx,ts,tsx,md,json}": [
"yarn format"
]
},
"dependencies": {
"@chakra-ui/hooks": "1.7.2",
"@headlessui/react": "1.4.3",
Expand Down
5 changes: 0 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,6 @@
"@commitlint/config-conventional"
]
},
"lint-staged": {
"**/*.{html,css,js,jsx,ts,tsx,md,json}": [
"yarn format"
]
},
"browserslist": {
"production": [
">0.2%",
Expand Down

1 comment on commit eaaa5d3

@vercel
Copy link

@vercel vercel bot commented on eaaa5d3 Feb 11, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.