Skip to content

Commit

Permalink
fix invalid rules. ref eslint/eslint#12592
Browse files Browse the repository at this point in the history
# Conflicts:
#	configs/typescript-eslint-recommended.js
  • Loading branch information
andreineculau committed Dec 9, 2019
1 parent 750b2e6 commit 255f34f
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions configs/babel.js
@@ -1,5 +1,9 @@
let _ = require('lodash');
let _basic = require('./basic');

// see https://github.com/eslint/eslint/issues/12592
_basic = _.cloneDeep(_basic);

module.exports = {
parser: 'babel-eslint',

Expand Down
4 changes: 4 additions & 0 deletions configs/typescript.js
Expand Up @@ -9,8 +9,12 @@ if (!_semver.satisfies(_pluginActualVsn, _pluginVsn)) {
throw new Error(`Expected ${_pluginName}@${_pluginVsn} but found version ${_pluginActualVsn} installed.`);
}

let _ = require('lodash');
let _basic = require('./basic');

// see https://github.com/eslint/eslint/issues/12592
_basic = _.cloneDeep(_basic);

module.exports = {
extends: [
'plugin:@typescript-eslint/recommended'
Expand Down

0 comments on commit 255f34f

Please sign in to comment.