mirror of
https://github.com/scratchfoundation/scratch-paint.git
synced 2025-01-09 14:12:13 -05:00
20 lines
544 B
JavaScript
20 lines
544 B
JavaScript
/* eslint-disable import/no-commonjs */
|
|
module.exports = {
|
|
/* eslint-enable import/no-commonjs */
|
|
root: true,
|
|
extends: ['scratch', 'scratch/es6', 'scratch/react', 'plugin:import/recommended'],
|
|
env: {
|
|
browser: true
|
|
},
|
|
rules: {
|
|
'import/no-mutable-exports': 'error',
|
|
'import/no-commonjs': 'error',
|
|
'import/no-amd': 'error',
|
|
'import/no-nodejs-modules': 'error'
|
|
},
|
|
settings: {
|
|
react: {
|
|
version: '16.2' // Prevent 16.3 lifecycle method errors
|
|
}
|
|
}
|
|
};
|