Skip to content
This repository has been archived by the owner on Dec 5, 2024. It is now read-only.

Commit

Permalink
Changes required to support typescript-eslint 4.15
Browse files Browse the repository at this point in the history
  • Loading branch information
FredrikJT committed Feb 26, 2021
1 parent ab8e0fc commit 33d5aca
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion configs/typescript-eslint-recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

let _ = require('lodash');
let _basic = require('./basic');
let _recommended = require('@typescript-eslint/eslint-plugin/dist/configs/recommended.json');
let _recommended = require('@typescript-eslint/eslint-plugin/dist/configs/recommended.js');

// see https://github.com/eslint/eslint/issues/12592
_basic = _.cloneDeep(_basic);
Expand Down
2 changes: 1 addition & 1 deletion configs/typescript.js
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
// NOTE that this is an addon config. An eslint plugin needs to be installed manually.

let _pluginName = '@typescript-eslint/eslint-plugin';
let _pluginVsn = '^2.6.0';
let _pluginVsn = '^4.15.0';
let _pluginActualVsn = require(`${_pluginName}/package.json`).version;
let _semver = require('semver');

Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
"eslint-plugin-firecloud": "git://github.com/tobiipro/eslint-plugin-firecloud.git#semver:~0.1.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsdoc": "^17.0.0",
"eslint-plugin-jsdoc": "^30.7.13",
"eslint-plugin-lodash": "^6.0.0",
"eslint-plugin-no-null": "^1.0.2"
},
Expand All @@ -45,7 +45,7 @@
"eslint-plugin-firecloud": "git://github.com/tobiipro/eslint-plugin-firecloud.git#semver:~0.1.0",
"eslint-plugin-fp": "^2.3.0",
"eslint-plugin-import": "^2.18.2",
"eslint-plugin-jsdoc": "^17.0.0",
"eslint-plugin-jsdoc": "^30.7.13",
"eslint-plugin-lodash": "^6.0.0",
"eslint-plugin-no-null": "^1.0.2",
"npm-publish-git": "git://github.com/andreineculau/npm-publish-git.git#semver:~0.0.8"
Expand Down

0 comments on commit 33d5aca

Please sign in to comment.