Created
October 22, 2024 07:38
-
-
Save tuanductran/72457b096fb68c80fe2fce94d9ce35f9 to your computer and use it in GitHub Desktop.
Antfu Eslint basic.
This file contains hidden or 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
import antfu from '@antfu/eslint-config' | |
export default antfu( | |
{ | |
formatters: true, | |
}, | |
) |
This file contains hidden or 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
{ | |
"name": "antfu-eslint", | |
"version": "1.0.0", | |
"packageManager": "[email protected]", | |
"author": "Tuan Duc Tran <[email protected]>", | |
"license": "MIT", | |
"scripts": { | |
"lint": "eslint .", | |
"lint:fix": "eslint --fix .", | |
"preinstall": "npx only-allow bun" | |
}, | |
"peerDependencies": { | |
"typescript": "5.5.4" | |
}, | |
"devDependencies": { | |
"@antfu/eslint-config": "^3.8.0", | |
"eslint": "^9.13.0", | |
"eslint-plugin-format": "^0.1.2" | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
See more advanced eslint on my project: https://github.com/tuanductran/site