Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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