Skip to content

Instantly share code, notes, and snippets.

@aereal
Created August 6, 2018 02:18
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save aereal/3f0939ab7955bc38c8b021631814d8b8 to your computer and use it in GitHub Desktop.
Save aereal/3f0939ab7955bc38c8b021631814d8b8 to your computer and use it in GitHub Desktop.
const { rules: eslintRules } = require('./.eslintrc.js');
const tslintConfig = require('./tslint.json');
const { rules: tslintRules } = tslintConfig;
console.log(
JSON.stringify(
{
...tslintConfig,
rules: {
...tslintRules,
...eslintRules,
},
}
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment