npm/lint init

This commit is contained in:
Francesco Esposito 2019-02-19 18:25:10 +01:00
parent 26508729f6
commit 7440e9f1af
3 changed files with 1461 additions and 0 deletions

17
.eslintrc.json Normal file
View File

@ -0,0 +1,17 @@
{
"env": {
"es6": true,
"node": true
},
"extends": "airbnb-base",
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"rules": {
}
}

1419
package-lock.json generated Normal file

File diff suppressed because it is too large Load Diff

25
package.json Normal file
View File

@ -0,0 +1,25 @@
{
"name": "trackmyd-api",
"version": "1.0.0",
"description": "trackmyd API",
"main": "server.js",
"scripts": {
"lint": "eslint",
"test": "echo \"Error: no test specified\" && exit 1"
},
"repository": {
"type": "git",
"url": "git+https://github.com/frab1t/trackmyd-api.git"
},
"author": "frab1t",
"license": "GPL-3.0-or-later",
"bugs": {
"url": "https://github.com/frab1t/trackmyd-api/issues"
},
"homepage": "https://github.com/frab1t/trackmyd-api#readme",
"devDependencies": {
"eslint": "^5.14.1",
"eslint-config-airbnb-base": "^13.1.0",
"eslint-plugin-import": "^2.16.0"
}
}