mirror of
https://github.com/marcogll/passkit-generator.git
synced 2026-03-15 21:25:26 +00:00
Added eslint support and configuration
This commit is contained in:
27
.eslintrc.json
Normal file
27
.eslintrc.json
Normal file
@@ -0,0 +1,27 @@
|
||||
{
|
||||
"env": {
|
||||
"node": true
|
||||
},
|
||||
"extends": "eslint:recommended",
|
||||
"parserOptions": {
|
||||
"ecmaVersion": 2018
|
||||
},
|
||||
"rules": {
|
||||
"indent": [
|
||||
"error",
|
||||
"tab"
|
||||
],
|
||||
"linebreak-style": [
|
||||
"error",
|
||||
"unix"
|
||||
],
|
||||
"quotes": [
|
||||
"error",
|
||||
"double"
|
||||
],
|
||||
"semi": [
|
||||
"error",
|
||||
"always"
|
||||
]
|
||||
}
|
||||
}
|
||||
@@ -14,5 +14,8 @@
|
||||
"express": "^4.16.3",
|
||||
"joi": "^13.4.0",
|
||||
"node-forge": "^0.7.5"
|
||||
},
|
||||
"devDependencies": {
|
||||
"eslint": "^5.1.0"
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user