eslint-config-egg
Node.js Style Guide for EggJS
Last updated 5 months ago by fengmk2 .
Repository · Bugs · Original npm · Tarball · package.json
$ npm install eslint-config-egg 
SYNC missed versions from official npm registry.

eslint-config-egg

NPM version build status Test coverage Known Vulnerabilities npm download

Node.js Style Guide for EggJS

Install

npm i eslint eslint-config-egg --save-dev

Usage

Use with JavaScript project

  • package.json
{
  "devDependencies": {
    "eslint-config-egg": "14",
    "eslint": "8"
  }
}
  • .eslintrc
{
  "extends": [
    "eslint-config-egg"
  ]
}

Use with TypeScript project

  • package.json
{
  "devDependencies": {
    "eslint-config-egg": "13",
    "typescript": "5"
  }
}
  • .eslintrc
{
  "extends": [
    "eslint-config-egg/typescript"
  ]
}
  • scripts
{
  "lint": "eslint . --ext .ts"
}
  • settings.json in vscode
{
  "eslint.validate": [
    "javascript",
    "javascriptreact",
    {
      "language": "typescript",
      "autoFix": true
    }
  ]
}

License

MIT

Contributors

Contributors

Made with contributors-img.

Current Tags

  • 14.0.0                                ...           latest (5 months ago)
  • 12.3.1                                ...           release-12.x (a year ago)
  • 13.1.0                                ...           release-13.x (a year ago)

47 Versions

  • 14.0.0                                ...           5 months ago
  • 13.1.0                                ...           a year ago
  • 13.0.0                                ...           a year ago
  • 12.3.1                                ...           a year ago
  • 12.3.0                                ...           a year ago
  • 12.2.1                                ...           2 years ago
  • 12.2.0                                ...           2 years ago
  • 12.1.0                                ...           2 years ago
  • 12.0.0                                ...           2 years ago
  • 11.1.0                                ...           3 years ago
  • 11.0.1                                ...           3 years ago
  • 11.0.0                                ...           3 years ago
  • 10.0.0                                ...           3 years ago
  • 9.0.0                                ...           4 years ago
  • 8.1.2                                ...           4 years ago
  • 8.1.1                                ...           4 years ago
  • 8.1.0                                ...           4 years ago
  • 8.0.1                                ...           5 years ago
  • 8.0.0                                ...           5 years ago
  • 7.5.1                                ...           5 years ago
  • 7.5.0                                ...           5 years ago
  • 7.4.1                                ...           6 years ago
  • 7.4.0                                ...           6 years ago
  • 7.3.1                                ...           6 years ago
  • 7.3.0                                ...           6 years ago
  • 7.2.0                                ...           6 years ago
  • 7.1.0                                ...           6 years ago
  • 7.0.0                                ...           7 years ago
  • 6.0.0                                ...           7 years ago
  • 5.1.1                                ...           7 years ago
  • 5.1.0                                ...           7 years ago
  • 5.0.0                                ...           7 years ago
  • 4.2.1                                ...           7 years ago
  • 4.2.0                                ...           7 years ago
  • 4.1.0                                ...           8 years ago
  • 4.0.0                                ...           8 years ago
  • 3.2.0                                ...           8 years ago
  • 3.1.0                                ...           8 years ago
  • 3.0.3                                ...           8 years ago
  • 3.0.2                                ...           8 years ago
  • 3.0.1                                ...           8 years ago
  • 3.0.0                                ...           8 years ago
  • 2.0.0                                ...           9 years ago
  • 1.0.3                                ...           9 years ago
  • 1.0.2                                ...           9 years ago
  • 1.0.1                                ...           9 years ago
  • 1.0.0                                ...           9 years ago

© 2010 - cnpmjs.org x YWFE | Home | YWFE