npm install @myoschen/eslint-config -D
yarn add @myoschen/eslint-config -D
pnpm add @myoschen/eslint-config -D
bun add @myoschen/eslint-config -D
// eslint.config.js
import { myoschen } from '@myoschen/eslint-config'
// react
export default myoschen({
stylistic: true,
typescript: true,
react: true,
tailwindcss: true,
})
// next.js
export default myoschen({
stylistic: true,
typescript: true,
react: true,
next: true,
tailwindcss: true,
})
{
"editor.formatOnSave": false,
"editor.codeActionsOnSave": {
"source.fixAll": "explicit",
"source.organizeImports": "never"
},
"eslint.validate": [
"javascript",
"typescript",
]
}
If you have any suggestions or would like to contribute to this blog, please open an issue or submit a pull request. Your contributions are welcome!
Licensed under the MIT License.