0.5.5 • Published 1 year ago

@monymony/eslint-config v0.5.5

Weekly downloads
-
License
ISC
Repository
-
Last release
1 year ago

Do not use it. Not finished yet.

Install

  • Remove your prettier config or set as Prettier config.
  • Install this package. yarn add -D @monymony/eslint-config

  • Set your eslint config.

"extends": [
  ...,
  "@monymony/eslint-config", // should be set.
  "@monymony/eslint-config/backend" // optional for environment.
]

Examples.

React

"extends": [
  "react-app",
  "react-app/jest",
  "@monymony/eslint-config",
  "@monymony/eslint-config/react"
]

Backend

"extends": [
  ...,
  "@monymony/eslint-config",
  "@monymony/eslint-config/backend"
]

React Native

"extends": [
  "react-app",
  "react-app/jest",
  "@monymony/eslint-config",
  "@monymony/eslint-config/react-native"
]

Local Test

  1. Plugin root: yarn link
  2. In the example project: yarn link @monymony/eslint-config
  3. Run yarn lint

Refer

Multiple configs: https://github.com/AlloyTeam/eslint-config-alloy