eslint-config-egg
Node Style Guide for Egg.
Last updated 10 years ago by popomore .
Repository · Bugs · Original npm · Tarball · package.json
$ cnpm 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

  • 12.0.0                                ...           latest (4 years ago)

39 Versions

  • 12.0.0                                ...           4 years ago
  • 11.1.0                                ...           4 years ago
  • 11.0.1                                ...           4 years ago
  • 11.0.0                                ...           4 years ago
  • 10.0.0                                ...           4 years ago
  • 9.0.0                                ...           5 years ago
  • 8.1.2                                ...           6 years ago
  • 8.1.1                                ...           6 years ago
  • 8.1.0                                ...           6 years ago
  • 8.0.1                                ...           6 years ago
  • 8.0.0                                ...           6 years ago
  • 7.5.1                                ...           7 years ago
  • 7.5.0                                ...           7 years ago
  • 7.4.1                                ...           7 years ago
  • 7.4.0                                ...           7 years ago
  • 7.3.1                                ...           7 years ago
  • 7.3.0                                ...           7 years ago
  • 7.2.0                                ...           7 years ago
  • 7.1.0                                ...           8 years ago
  • 7.0.0                                ...           8 years ago
  • 6.0.0                                ...           8 years ago
  • 5.1.1                                ...           9 years ago
  • 5.1.0                                ...           9 years ago
  • 5.0.0                                ...           9 years ago
  • 4.2.1                                ...           9 years ago
  • 4.2.0                                ...           9 years ago
  • 4.1.0                                ...           9 years ago
  • 4.0.0                                ...           9 years ago
  • 3.2.0                                ...           9 years ago
  • 3.1.0                                ...           10 years ago
  • 3.0.3                                ...           10 years ago
  • 3.0.2                                ...           10 years ago
  • 3.0.1                                ...           10 years ago
  • 3.0.0                                ...           10 years ago
  • 2.0.0                                ...           10 years ago
  • 1.0.3                                ...           10 years ago
  • 1.0.2                                ...           10 years ago
  • 1.0.1                                ...           10 years ago
  • 1.0.0                                ...           10 years ago
Downloads
Today 0
This Week 1
This Month 2
Last Day 1
Last Week 1
Last Month 5
Dependencies (0)
None
Dev Dependencies (3)

Copyright 2013 - present © cnpmjs.org | Home |