4.0.1 • Published 5 years ago

eslint-config-softgames v4.0.1

Weekly downloads
7
License
-
Repository
-
Last release
5 years ago

eslint-config-softgames

About

How to use

Here is an example of what lines you could use in your package.json:

{ 
  "pre-commit": [
    "commitLint"
  ],
  "scripts": {
    "lint": "node node_modules/eslint/bin/eslint.js . --ext .js --fix",
    "commitLint": "node node_modules/eslint/bin/eslint.js . --ext .js",
  },
  "devDependencies": {
    "eslint": "^5.16.0",
    "eslint-plugin-import": "^2.18.0",
    "eslint-config-softgames": "git+ssh://git@src.softgames.de:misc/eslint-config-softgames.git",
    "pre-commit": "^1.2.2"
  }
}

Also add .eslintrc.json to your project including the following code:

{
  "extends": "eslint-config-softgames"
}