File tree Expand file tree Collapse file tree 3 files changed +791
-69
lines changed
Expand file tree Collapse file tree 3 files changed +791
-69
lines changed Original file line number Diff line number Diff line change @@ -44,12 +44,24 @@ module.exports = {
4444 ...overrides ,
4545 // Documentation site's browser JavaScript
4646 {
47+ extends : '@netlify/eslint-config-node/react_config' ,
4748 files : [ 'site/src/**/*.js' ] ,
4849 parserOptions : {
4950 sourceType : 'module' ,
51+ babelOptions : {
52+ presets : [ '@babel/preset-react' ] ,
53+ plugins : [ '@babel/plugin-proposal-class-properties' ] ,
54+ } ,
5055 } ,
5156 rules : {
57+ complexity : 0 ,
58+ 'fp/no-class' : 0 ,
59+ 'fp/no-let' : 0 ,
60+ 'fp/no-this' : 0 ,
61+ 'fp/no-mutation' : 0 ,
5262 'node/no-unsupported-features/es-syntax' : 0 ,
63+ 'unicorn/consistent-destructuring' : 0 ,
64+ 'max-lines' : 0 ,
5365 } ,
5466 } ,
5567 // Example functions
@@ -59,6 +71,7 @@ module.exports = {
5971 'require-await' : 0 ,
6072 'import/no-unresolved' : 0 ,
6173 'node/no-missing-require' : 0 ,
74+ 'node/no-unsupported-features/es-syntax' : 0 ,
6275 } ,
6376 } ,
6477 ] ,
You can’t perform that action at this time.
0 commit comments