Skip to content
Snippets Groups Projects
.eslintrc.js 386 B
Newer Older
  • Learn to ignore specific revisions
  • module.exports = {
    
        extends: ['scratch', 'scratch/es6', 'scratch/react', 'plugin:import/errors'],
    
    Ray Schamp's avatar
    Ray Schamp committed
        env: {
            browser: true
        },
    
        globals: {
            process: true
    
        },
        rules: {
            'import/no-mutable-exports': 'error',
            'import/no-commonjs': 'error',
            'import/no-amd': 'error',
            'import/no-nodejs-modules': 'error'