| Summary: | [eslint] Pref warning not appearing for package.json eslint config | ||
|---|---|---|---|
| Product: | [ECD] Orion | Reporter: | Michael Rennie <Michael_Rennie> |
| Component: | JS Tools | Assignee: | Olivier Thomann <Olivier_Thomann> |
| Status: | RESOLVED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | Olivier_Thomann |
| Version: | 12.0 | ||
| Target Milestone: | 13.0 | ||
| Hardware: | PC | ||
| OS: | Mac OS X | ||
| Whiteboard: | |||
The warning shows up only if there is a .eslintrc file in the project root. Delivered. |
Have a project with a package.json file with the following contents: { "eslintConfig": { "rules": { "semi": 2, "no-undef-expression": 0 } } } If you head over to the JS validation preference page, you do not see the warning at the top about the prefs being overwritten. If you copy / paste the rules section into a .eslintrc.* file, the banner appears as expected.