chore: update linter

This commit is contained in:
nanov 2019-11-05 05:49:07 +02:00
parent 422821fbbd
commit fe2ad67139
3 changed files with 9 additions and 38 deletions

View File

@ -1,4 +1,5 @@
node_modules/
examples/
build/
static/
config/

View File

@ -1,35 +1,4 @@
{
"extends": "airbnb-base",
"env": {
"node": true,
"mocha": true
},
"parserOptions": {
"ecmaVersion": 8,
"sourceType": "script",
"ecmaFeatures": {
"modules": false
}
},
"rules": {
"max-len": 0,
"linebreak-style": 0,
"no-plusplus": [
2,
{
"allowForLoopAfterthoughts": true
}
],
"no-continue": 0,
"indent": [2, "tab"],
"no-tabs": 0,
"strict": [2, "safe"],
"curly": [2, "multi", "consistent"],
"import/no-extraneous-dependencies": 0,
"import/no-unresolved": 0,
"no-underscore-dangle": 0,
"no-param-reassign": 0,
"generator-star-spacing": 0,
"jsx-a11y/href-no-hash": "off"
}
"extends": "ecollect-base",
"root": true
}

View File

@ -4,7 +4,8 @@
"description": "Node.js ISO 20022 Compliant EBICS Client",
"main": "index.js",
"scripts": {
"test": "mocha"
"lint": "eslint .",
"test": "mocha test/*/**.js"
},
"repository": {
"type": "git",
@ -42,10 +43,10 @@
},
"devDependencies": {
"chai": "^4.2.0",
"eslint": "^4.19.1",
"eslint-config-airbnb-base": "^12.1.0",
"eslint-plugin-import": "^2.12.0",
"eslint": "^6.6.0",
"eslint-config-ecollect-base": "^0.1.2",
"eslint-plugin-import": "^2.18.2",
"libxmljs": "^0.19.7",
"mocha": "^6.1.4"
"mocha": "^6.2.2"
}
}