1
0
Fork 0

Linting config

refactor/models
Bsian 2019-10-14 23:00:16 +01:00
parent 2bf8c75df9
commit 820b240dc4
No known key found for this signature in database
GPG Key ID: 097FB9A291026091
3 changed files with 31 additions and 2 deletions

23
.eslintrc.json Normal file
View File

@ -0,0 +1,23 @@
{
"env": {
"es6": true,
"node": true
},
"extends": [
"airbnb-base"
],
"globals": {
"Atomics": "readonly",
"SharedArrayBuffer": "readonly"
},
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
},
"plugins": [
"@typescript-eslint"
],
"rules": {
}
}

1
.gitignore vendored
View File

@ -1,3 +1,4 @@
node_modules node_modules
yarn.lock yarn.lock
src/config.json src/config.json
package-lock.json

View File

@ -15,6 +15,11 @@
"devDependencies": { "devDependencies": {
"@types/fs-extra": "^8.0.0", "@types/fs-extra": "^8.0.0",
"@types/mongoose": "^5.5.20", "@types/mongoose": "^5.5.20",
"@types/nodemailer": "^6.2.1" "@types/nodemailer": "^6.2.1",
"@typescript-eslint/eslint-plugin": "^2.4.0",
"@typescript-eslint/parser": "^2.4.0",
"eslint": "^6.5.1",
"eslint-config-airbnb-base": "^14.0.0",
"eslint-plugin-import": "^2.18.2"
} }
} }