UNPKG

eslint-config-rollup

Version:

A shareable ESLint configuration for Rollup projects

15 lines (9 loc) 367 B
const vanilla = require('./'); delete vanilla.parser; delete vanilla.parserOptions.project; vanilla.plugins = vanilla.plugins.filter((plugin) => plugin !== '@typescript-eslint'); Object.keys(vanilla.rules).forEach((key) => { if (key.startsWith('@typescript')) delete vanilla.rules[key]; }); vanilla.rules['no-unused-vars'] = 'error'; module.exports = vanilla;