Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ESLint was broken in the CRA template for two reasons: - ESLint was unable not import `eslint-config-prettier` (dependency of `@defencedigital/eslint-config-react`) – could be to do with package hoisting not too clear why just this one specifically (is mentioned here though: prettier/eslint-plugin-prettier#396) - it was trying to lint `src/*` which would be expanded by the shell and fail if the `src/components` directory was empty (except for `.gitkeep`) This fixes both of those problems, and adds a step to the smoke test workflow to explicitly test the lint command.
- Loading branch information