Miss any of our Open RFC calls?Watch the recordings here! »

eslint-config-yceffort

0.0.1 • Public • Published

Usage

eslint

package.json

{
  "lint": "eslint '**/*.{js,ts,tsx}'",
  "lint:fix": "npm run lint -- --fix"
}

.eslintrc

{
  "extends": "@yceffort/eslint-config-yceffort",
  "rules": {
    // your custom rules..
  }
}

.eslintrc typescript

// .eslintrc 파일
{
  "extends": [
    "@yceffort/eslint-config-yceffort",    
    ...
  ],
  "rules": {
    // your custom rules
  }
}

prettier

{
  "prettier": "prettier '**/*.{json,yaml,md}' --check",
  "prettier:fix": "prettier '**/*.{json,yaml,md}' --write"
}

.prettierrc

"@yceffort/eslint-config-yceffort/prettierrc"

Install

npm i eslint-config-yceffort

DownloadsWeekly Downloads

45

Version

0.0.1

License

MIT

Unpacked Size

24.1 kB

Total Files

21

Last publish

Collaborators

  • avatar