diff --git a/.eslintignore b/.eslintignore index 07e0f4b..2943bdb 100644 --- a/.eslintignore +++ b/.eslintignore @@ -54,4 +54,3 @@ yarn.lock ## library folder dist CHANGELOG.md -.yalc/ diff --git a/.lintstagedrc.json b/.lintstagedrc.json new file mode 100644 index 0000000..34e0bb8 --- /dev/null +++ b/.lintstagedrc.json @@ -0,0 +1,4 @@ +{ + "**/*.{js,jsx,tx,tsx}": ["yarn lint:fix"], + "**/*.{html,css,js,jsx,ts,tsx,md,json}": ["yarn format"] +} diff --git a/.yalc/nextra-renderlesskit-theme-docs/dist/index.js b/.yalc/nextra-renderlesskit-theme-docs/dist/index.js index 2e52335..9c09ce2 100644 --- a/.yalc/nextra-renderlesskit-theme-docs/dist/index.js +++ b/.yalc/nextra-renderlesskit-theme-docs/dist/index.js @@ -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 }) => { diff --git a/.yalc/nextra-renderlesskit-theme-docs/package.json b/.yalc/nextra-renderlesskit-theme-docs/package.json index 3b0492b..03f6b48 100644 --- a/.yalc/nextra-renderlesskit-theme-docs/package.json +++ b/.yalc/nextra-renderlesskit-theme-docs/package.json @@ -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", diff --git a/package.json b/package.json index 4ca77dd..ff9a52b 100644 --- a/package.json +++ b/package.json @@ -42,11 +42,6 @@ "@commitlint/config-conventional" ] }, - "lint-staged": { - "**/*.{html,css,js,jsx,ts,tsx,md,json}": [ - "yarn format" - ] - }, "browserslist": { "production": [ ">0.2%",