Commit d79ae074 authored by Paul Kaplan's avatar Paul Kaplan

Update eslintrc for new UNSAFE_ rule

parent 56345874
......@@ -10,7 +10,13 @@ module.exports = {
plugins: ['json'],
settings: {
react: {
version: '16.2' // Prevent 16.3 lifecycle method errors
version: 'detect'
}
},
rules: {
'camelcase': [2, {
properties: 'never', // This is from the base `scratch` config
allow: ['^UNSAFE_'] // Allow until migrated to new lifecycle methods
}]
}
};
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment