@xiaohe01/eslint-config
v0.0.7
Published
✌️ ESLint config preset for xiaohe (forked from antfu/eslint-config)
Downloads
105
Readme
Xiaohe / github@xiaohe0601 / gitee@xiaohe0601
🚁 Installation
PNPM
pnpm add -D eslint @xiaohe01/eslint-config
YARN
yarn add --dev eslint @xiaohe01/eslint-config
NPM
npm install -D eslint @xiaohe01/eslint-config
[!WARNING] ESLint
9.5.0+
is now required
🛹 Usage
Create eslint.config.js
in your project root
import defineConfig from "@xiaohe01/eslint-config";
export default defineConfig();
[!NOTE] If you want to use TypeScript configuration files, please refer to typescript-configuration-files.
Add script for package.json
, for example
{
"scripts": {
"lint": "eslint .",
"lint:fix": "eslint . --fix"
}
}
For more information, please refer to antfu/eslint-config.
🐶 Discussion & Communication
- ❓:For questions or bug feedback, you can submit an issues and PRs are welcome~
- 📫:[email protected]
- 🐧:Not yet available
🏆 License
- MIT LICENSE