serverless-typescript-starter icon indicating copy to clipboard operation
serverless-typescript-starter copied to clipboard

Fix conflicting rules between prettier and eslint

Open corollari opened this issue 5 years ago • 0 comments

Had some trouble with conflicting rules between prettier and eslint, which caused my CI to fail after the linting pre-commit hooks had run, something that shouldn't happen, given that eslint-config-prettier is installed. After digging a bit into it, it turns out that the problem is caused by the order in which the two rulesets are being imported in the eslint configuration file, which this PR fixes.

corollari avatar Jun 09 '20 03:06 corollari