We need to implement Eslint in our Javascript Packages. In some repos, we already have Eslint installed, but it is out of date. Also, we are using some packages that are not suitable to our stack.
Solution
Implemented Eslint in Vue Form Elements, Modeler, and Screen Builder with Airbnb and Prettier configs. For packages that already had Eslint installed, Eslint versions were updated.
How to Test
Run npx eslint src in Vue Form Elements. You should get a list of errors.
Related Tickets & Packages
FOUR-6064 | Implement Eslint in Javascript Packages
FOUR-6057 | Story: As a Developer, I want to improve the developer experience so that we code better and faster
Code Review Checklist
[x] I have pulled this code locally and tested it on my instance, along with any associated packages.
Issue
Ticket: FOUR-6064
We need to implement Eslint in our Javascript Packages. In some repos, we already have Eslint installed, but it is out of date. Also, we are using some packages that are not suitable to our stack.
Solution
Implemented Eslint in Vue Form Elements, Modeler, and Screen Builder with Airbnb and Prettier configs. For packages that already had Eslint installed, Eslint versions were updated.
How to Test
npx eslint src
in Vue Form Elements. You should get a list of errors.Related Tickets & Packages
Code Review Checklist