mirror of
https://github.com/node-ebics/node-ebics-client.git
synced 2024-11-24 23:22:06 +00:00
chore: update linter
This commit is contained in:
parent
422821fbbd
commit
fe2ad67139
@ -1,4 +1,5 @@
|
|||||||
node_modules/
|
node_modules/
|
||||||
|
examples/
|
||||||
build/
|
build/
|
||||||
static/
|
static/
|
||||||
config/
|
config/
|
||||||
|
35
.eslintrc
35
.eslintrc
@ -1,35 +1,4 @@
|
|||||||
{
|
{
|
||||||
"extends": "airbnb-base",
|
"extends": "ecollect-base",
|
||||||
"env": {
|
"root": true
|
||||||
"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"
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
11
package.json
11
package.json
@ -4,7 +4,8 @@
|
|||||||
"description": "Node.js ISO 20022 Compliant EBICS Client",
|
"description": "Node.js ISO 20022 Compliant EBICS Client",
|
||||||
"main": "index.js",
|
"main": "index.js",
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"test": "mocha"
|
"lint": "eslint .",
|
||||||
|
"test": "mocha test/*/**.js"
|
||||||
},
|
},
|
||||||
"repository": {
|
"repository": {
|
||||||
"type": "git",
|
"type": "git",
|
||||||
@ -42,10 +43,10 @@
|
|||||||
},
|
},
|
||||||
"devDependencies": {
|
"devDependencies": {
|
||||||
"chai": "^4.2.0",
|
"chai": "^4.2.0",
|
||||||
"eslint": "^4.19.1",
|
"eslint": "^6.6.0",
|
||||||
"eslint-config-airbnb-base": "^12.1.0",
|
"eslint-config-ecollect-base": "^0.1.2",
|
||||||
"eslint-plugin-import": "^2.12.0",
|
"eslint-plugin-import": "^2.18.2",
|
||||||
"libxmljs": "^0.19.7",
|
"libxmljs": "^0.19.7",
|
||||||
"mocha": "^6.1.4"
|
"mocha": "^6.2.2"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user