Skip to content

Latest commit

 

History

History
61 lines (49 loc) · 1.66 KB

README.md

File metadata and controls

61 lines (49 loc) · 1.66 KB

eslint-config

GitHub last commit (branch) GitHub issues GitHub package.json version (branch) GitHub License NPM Version

Usage

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",
  ]
}

Contributions

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!

License

Licensed under the MIT License.