eslint-plugin-commonjs Install $ npm install --save-dev eslint eslint-plugin-commonjs Usage All rules are off by default. However, you may configure them manually in your .eslintrc.(yml|json|js). env: node: true plugins: - commonjs rules: commonjs/no-duplicate-exports: 2