4.0.1 • Published 5 years ago
eslint-config-softgames v4.0.1
eslint-config-softgames
About
Shareable ESLint Config for company wide usage
Based on eslint-config-airbnb
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"
}