scratch-www/src/.eslintrc.js

23 lines
496 B
JavaScript
Raw Normal View History

module.exports = {
root: true,
extends: ['scratch', 'scratch/es6', 'scratch/react'],
env: {
browser: true
},
globals: {
process: true
2018-01-30 10:36:08 -05:00
},
plugins: ['json'],
settings: {
react: {
2021-02-19 11:39:21 -05:00
version: 'detect'
}
2021-02-19 11:39:21 -05:00
},
rules: {
'camelcase': [2, {
properties: 'never', // This is from the base `scratch` config
allow: ['^UNSAFE_'] // Allow until migrated to new lifecycle methods
}]
}
};