1.0.8 • Published 9 months ago

@myoschen/eslint-config v1.0.8

Weekly downloads
-
License
MIT
Repository
github
Last release
9 months ago

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.