Regression: explicit "allow-in-func" causes validation error
See original GitHub issueFor the no-did-mount-set-state
, no-did-update-set-state
rules:
Configuration for rule "react/no-did-mount-set-state" is invalid:
Value "allow-in-func" must be an enum value.
Referenced from: .eslintrc
at validateRuleOptions (node_modules/eslint/lib/config/config-validator.js:115:15)
at /Users/node_modules/eslint/lib/config/config-validator.js:162:13
at Array.forEach (native)
at Object.validate (node_modules/eslint/lib/config/config-validator.js:161:35)
at load (node_modules/eslint/lib/config/config-file.js:522:19)
at node_modules/eslint/lib/config/config-file.js:391:36
at Array.reduceRight (native)
at applyExtends (node_modules/eslint/lib/config/config-file.js:362:28)
at Object.load (node_modules/eslint/lib/config/config-file.js:529:22)
at loadConfig (node_modules/eslint/lib/config.js:63:33)
The commit that breaks it: https://github.com/yannickcr/eslint-plugin-react/commit/10c6f23866b58dff5a7f8d16eb8b8a62cc997a66
Issue Analytics
- State:
- Created 7 years ago
- Comments:5 (1 by maintainers)
Top Results From Across the Web
Regression validation - Wikipedia
In statistics, regression validation is the process of deciding whether the numerical results quantifying hypothesized relationships between variables, ...
Read more >What causes non-normality of the error term in OLS?
I am referring to one of the basic assumptions of OLS regression, that the errors are normally distributed. But of course we can't...
Read more >Lecture notes on ridge regression - arXiv
The current status of the document is 'work-in-progress' as it is incomplete (more results from literature will be included) and it may contain ......
Read more >9.2 Threats to Internal Validity of Multiple Regression Analysis
This section treats five sources that cause the OLS estimator in (multiple) regression models to be biased and inconsistent for the causal effect...
Read more >4. Regression and Prediction - Practical Statistics for Data ...
In general, the data doesn't fall exactly on a line, so the regression equation should include an explicit error term e i :...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Thanks for the report!
It was likely 376dc53656f78059fb405d9e30c2f402717f6882 (#702) that broke this for you. This option is the default as of 6.0.0 and was removed in favor of a
disallow-in-func
option, which you can see in the changelog: https://github.com/yannickcr/eslint-plugin-react/blob/master/CHANGELOG.md#600---2016-08-01This has been discussed in #760 and #734.
@alberth8 if that doesn’t work, you may not have a new enough version of the plugin installed, or you may not have restarted Atom.