I applied the linters and formatting configuration to the project as specified in the documentation.
However, I notice something strange. In the .prettierrc: is "semi": true. However, when I run the eslintonconsole.log('')`, it does not show errors in this place and does not correct the syntax.
What actually happens?
Eslint ignore semicolon rule.
Steps to reproduce
Clone Sage repo
Follow the documentation and add lintets into project.
Install eslint by yarn add eslint -D.
Open resources/scripts/editor.js and remove all semicolons.
Version
10.7.0
What did you expect to happen?
I applied the linters and formatting configuration to the project as specified in the documentation.
However, I notice something strange. In the
.prettierrc:
is"semi": true
. However, when I run the eslinton
console.log('')`, it does not show errors in this place and does not correct the syntax.What actually happens?
Eslint ignore semicolon rule.
Steps to reproduce
eslint
byyarn add eslint -D
.resources/scripts/editor.js
and remove all semicolons.yarn run lint:js
System info
No response
Log output
No response
Please confirm this isn't a support request.
Yes