You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Dec 6, 2022. It is now read-only.
If ESLint in package.json is switched off (removed at all) - webpack still throws on ESLint rule violations.
Did you try recovering your dependencies?
This is a fresh CSA installation of 29.03.2021
Ergo, nothing to recover. This should work by default.
Which terms did you search for in User Guide?
Searching for "ESLint" on docs.scandipwa.com gave me a solution - put "ignorePatterns": ["src/**"] inside of ESLint configuration. This is a valid solution, although not intuitive. When I remove ESLint from the configuration at all, I expect it not to be in the application during the compilation, just as it becomes absent in my code editor.
Environment
macOS Big Sur 11.2.3
node 14.16.0
yarn 1.22.10
Steps to reproduce
npx create-scandipwa-app --template blank <name>
Violate some eslint rules of the @scandipwa config. See errors highlighted in your code editor.
Remove the eslint field from the generated package.json file. See no errors that previously have been highlighted.
Launch the project. See compilation errors of following format
Expected behavior
ESLint-related compilation errors do not arise when ESLint is switched off for the project.
Actual behavior
ESLint-related compilation errors arise.
Reproducible demo
Fresh CSA installation.
The text was updated successfully, but these errors were encountered:
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Describe the bug
If ESLint in package.json is switched off (removed at all) - webpack still throws on ESLint rule violations.
Did you try recovering your dependencies?
This is a fresh CSA installation of 29.03.2021
Ergo, nothing to recover. This should work by default.
Which terms did you search for in User Guide?
Searching for "ESLint" on docs.scandipwa.com gave me a solution - put
"ignorePatterns": ["src/**"]
inside of ESLint configuration. This is a valid solution, although not intuitive. When I remove ESLint from the configuration at all, I expect it not to be in the application during the compilation, just as it becomes absent in my code editor.Environment
macOS Big Sur 11.2.3
node 14.16.0
yarn 1.22.10
Steps to reproduce
npx create-scandipwa-app --template blank <name>
eslint
field from the generated package.json file. See no errors that previously have been highlighted.Expected behavior
ESLint-related compilation errors do not arise when ESLint is switched off for the project.
Actual behavior
ESLint-related compilation errors arise.
Reproducible demo
Fresh CSA installation.
The text was updated successfully, but these errors were encountered: