-
Story
-
Resolution: Done
-
Undefined
-
None
-
None
-
None
-
False
-
-
False
-
-
-
OCM Core Sprint 253
Currently, in the scripts section, calling yarn lint actually calls `eslint && prettier` which is fine, but that prevents a user from adding `–fix` to the linter. So, let's clean things up to be more obvious to the user:
"lint": "eslint src scripts 'run/*js' --ext mjs,js,jsx,ts,tsx && yarn prettier",
--> "lint": "eslint src scripts 'run/*js' --ext mjs,js,jsx,ts,tsx"
(new) "lint-prettier":"eslint src scripts 'run/*js' --ext mjs,js,jsx,ts,tsx && yarn prettier",
Then the .gitlab-cy.yml file needs to be updated to call (on line 112) yarn lintprettier.
A.C.:
- lint script will only call lint
- lint-prettier will call both