diff --git a/.eslintrc.js b/.eslintrc.js index 5a91539..3ca3033 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -1,5 +1,8 @@ module.exports = { root: true, + parserOptions: { + project: 'tsconfig.eslint.json', + }, env: { node: true, jest: true, diff --git a/LICENSE b/LICENSE index 9af9bb2..ee4fcb1 100644 --- a/LICENSE +++ b/LICENSE @@ -1,6 +1,6 @@ MIT License -Copyright 2019 Scott Cooper +Copyright (c) Scott Cooper Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal diff --git a/package.json b/package.json index 3ef1856..78dfcc1 100644 --- a/package.json +++ b/package.json @@ -32,24 +32,24 @@ "ms": "^2.1.2" }, "devDependencies": { - "@types/debug": "4.1.4", - "@types/jest": "24.0.16", + "@types/debug": "4.1.5", + "@types/jest": "24.0.18", "@types/koa": "2.0.49", - "@types/node": "12.6.8", + "@types/node": "12.7.2", "@types/redis": "2.8.13", "@types/supertest": "2.0.8", - "@typescript-eslint/eslint-plugin": "1.13.0", - "@typescript-eslint/parser": "1.13.0", + "@typescript-eslint/eslint-plugin": "2.0.0", + "@typescript-eslint/parser": "2.0.0", "del-cli": "2.0.0", - "eslint": "6.1.0", + "eslint": "6.2.2", "eslint-config-xo-space": "0.21.0", - "eslint-config-xo-typescript": "0.15.0", + "eslint-config-xo-typescript": "0.17.0", "eslint-plugin-import": "2.18.2", - "jest": "24.8.0", - "jest-junit": "6.4.0", - "koa": "2.7.0", + "jest": "24.9.0", + "jest-junit": "7.0.0", + "koa": "2.8.1", "redis": "2.8.0", - "semantic-release": "15.13.19", + "semantic-release": "15.13.24", "supertest": "4.0.2", "ts-jest": "24.0.2", "typescript": "3.5.3" diff --git a/tsconfig.eslint.json b/tsconfig.eslint.json new file mode 100644 index 0000000..91644d1 --- /dev/null +++ b/tsconfig.eslint.json @@ -0,0 +1,7 @@ +{ + "extends": "./tsconfig.json", + "include": [ + "src/**/*.ts", + "test/**/*.ts" + ] +}