scratch-paint/src/.eslintrc.js

21 lines
544 B
JavaScript
Raw Normal View History

/* eslint-disable import/no-commonjs */
2017-07-17 14:20:32 -04:00
module.exports = {
/* eslint-enable import/no-commonjs */
2017-07-17 14:20:32 -04:00
root: true,
extends: ['scratch', 'scratch/es6', 'scratch/react', 'plugin:import/recommended'],
2017-07-17 14:20:32 -04:00
env: {
browser: true
2017-07-26 20:39:12 -04:00
},
rules: {
'import/no-mutable-exports': 'error',
'import/no-commonjs': 'error',
'import/no-amd': 'error',
'import/no-nodejs-modules': 'error'
2018-05-14 14:28:36 -04:00
},
settings: {
react: {
version: '16.2' // Prevent 16.3 lifecycle method errors
}
2017-07-17 14:20:32 -04:00
}
2017-07-25 11:35:56 -04:00
};