Replies: 1 comment 2 replies
-
Why not just run |
Beta Was this translation helpful? Give feedback.
2 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
-
I have a project with lots of legacy JS code, that I don't really care about. I do have a
e2e
folder in the root of the project with Playwright tests that I do want to lint, but I can't figure out how to set up my eslint config correctly.I basically want it to only lint the (*.ts) files in the
e2e
directory and ignore everything else.I tried the recommended config from this project, and that didn't work. So where I am now is with a config based on what typescript-eslint recommends when using other plugins, and this answer on Stackoverflow about only processing one directory.
However, no matter what, running
./node_modules/.bin/eslint
seems to either lint every file, or complains that everything is ignored and there is nothing to process.Any suggestions for an eslint noob?
Relevant
devDependencies
frompackage.json
:Beta Was this translation helpful? Give feedback.
All reactions