eslint-config-seekingalpha-base
Version:
SeekingAlpha's sharable base ESLint config
19 lines (13 loc) • 745 B
JavaScript
// https://github.com/benmosher/eslint-plugin-import#module-systems
export default {
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/unambiguous.md
'import/unambiguous': 'off',
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-commonjs.md
'import/no-commonjs': 'off',
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-amd.md
'import/no-amd': 'error',
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-nodejs-modules.md
'import/no-nodejs-modules': 'off',
// https://github.com/benmosher/eslint-plugin-import/blob/master/docs/rules/no-import-module-exports.md
'import/no-import-module-exports': 'error',
};