@grapes-agency/eslint-config-grapes
Grapes company eslint rules for node
Last updated 2 months ago by tsollbach .
ISC · Repository · Original npm · Tarball · package.json
$ cnpm install @grapes-agency/eslint-config-grapes 
SYNC missed versions from official npm registry.

Grapes ESLint Config

Our standard eslint config. It is intended to be pretty strict.

Usage

Installing eslint:

npm i -D @grapes-agency/eslint-config-grapes
npx install-peerdeps --dev @grapes-agency/eslint-config-grapes

Add the configuration file .eslintrc.json with the following content:

{
  "extends": "@grapes-agency/eslint-config-grapes"
}

Add a lint script to your package.json like so

"lint": "eslint --ext js,jsx,ts,tsx --cache src"

Also configure your ESLint editor plugin to lint .js and .ts. For VSCode this can be achieved by adding the following to settings.json

"eslint.options": {
  "extensions": [
    ".js",
    ".ts",
  ]
},
"eslint.validate": [
  "javascript",
  "typescript",
]

At last do not forget to add .eslintcache to your .gitignore

Current Tags

  • 2.5.0                                ...           latest (2 months ago)

17 Versions

  • 2.5.0                                ...           2 months ago
  • 2.4.0                                ...           5 months ago
  • 2.3.2                                ...           7 months ago
  • 2.3.1                                ...           7 months ago
  • 2.3.0                                ...           7 months ago
  • 2.2.0                                ...           a year ago
  • 2.1.0                                ...           a year ago
  • 2.0.4                                ...           a year ago
  • 2.0.3                                ...           a year ago
  • 2.0.2                                ...           a year ago
  • 2.0.1                                ...           a year ago
  • 2.0.0                                ...           a year ago
  • 1.1.4                                ...           a year ago
  • 1.1.3                                ...           a year ago
  • 1.1.2                                ...           a year ago
  • 1.1.1                                ...           a year ago
  • 1.1.0                                ...           a year ago
Downloads
Today 0
This Week 0
This Month 0
Last Day 0
Last Week 0
Last Month 2
Dev Dependencies (4)

Copyright 2014 - 2016 © taobao.org |