Conversation
|
|
Stale pull request |
|
@phun-ky can you take this up again? What is missing to get eslint upgraded? |
|
@Mettbrot I can take a look at it tomorrow and see if there's anything I can do more. I have some spare time moving forwards apaprently |
|
Wow, cool Thanks! We’d need to find a maintainer of this, it seems pretty silent around the PRs #1107 |
|
@JounQin first blocker: |
|
They live in this very repository too, right? Can we update them too and release them in one go? |
|
|
|
hm, I think I've looked at this wrongly. The error I get is from v9: |
|
I've posted this in the eslint discord:
|
|
I'm getting a bit closer. Latest update: converted to ts, added rollup. The things that remains: decide if we need to find a |
|
Updated description to this PR. Getting closer. I am commenting out the rules in our own |
|
Linting is fixed, and I do get one test to run, but with the new test regime (native node test runner), I can't get it to only use the default config in the tests, and it looks up the projects |
Yes, test files are also linted otherwise it should be listed in eslintignore. |
|
@JounQin nono, I meant, that the config passed to ESLint in the tests are merged with the ESLint config in the project root. Is that how it should work? |
|
Yes, that's how eslint works, test files linting merges and overrides the root, so that we only enable/disable specific rules for test files. |
|
So to be clear, when testing, the passed config from the tests should override root, and if no passed config in the test exists, the root take presedence? |
|
hm, I see that the current tests has a flaw, or the program it self. with EDIT: I think I have to rephrase this to: the default config used in the tests has no actual usage, right? I tried to put it like this now: And use the path to |
|
What is |
|
the equivalent of this: https://github.com/prettier/prettier-eslint/blob/master/src/__tests__/index.js#L57 |
|
Let me see if I get this correctly: If you use 1. no
2. no
3.
4.
Does this seem correct? Or should, when config is given/passed (programtically and not from |
|
@JounQin do you have a chance to look at the PR and see if it's viable? I still need someone to take a look at the tests |
|
@JounQin still having issues with the config. please check out the message history here: https://discord.com/channels/688543509199716507/1336023233454936226/1343542887463260212 |
|
@phun-ky hi! do you need any help in this PR? what is left to do to take sure it works and merge it? |
|
yeah, need to get the tests to work tbh.. @dvakatsiienko |
|
Okay. no guarantees, but I'll try to find some time and take a look during this or next weekend. |
|
Sorry for the delay, I'd work on this in my next schedule. |
|
After trying several times, this PR is too big, I'll do it myself, sorry. |
What's cooking:
Missing:
✅ Closes: #947 #1015 #1083