Eli
Eli
Some opinionated changes I made. Feel free to close this if you disagree. * Label configs for debugging in the ESLint Config Inspector. * Switch off deprecated rules. * Enable...
Depends on #158. Diff:
Neither one supports ESLint 9. However, `eslint-plugin-import-x` is (subjectively) easier, (objectively) lighter weight, and (likely) faster. I propose migrating, slapping a `fixupPluginRules` on it, and praying it works.
Sorts stuff-keeping stuff consistent is nice, but it also helps performance (very slightly), as objects in a different order aren't optimized by the JIT, and I don't believe any bundlers...
https://github.com/AndreaPontrandolfo/sheriff/blob/1191582abafb6edc0979f6e4bcc960ed8c340299/package.json#L16 8a01931f301ee09f21c575f7af0c9c2d9e896105 updated Typesync to v0.13, but kept the individual scripts. It'd be more efficient to just run it from the root. 🤞 it ought to pick up the packages...
Again, just documenting the ESLint ecosystem, probably out of scope? - [`npm:@eslint/json`](https://www.npmjs.com/package/eslint-plugin-jsonc) - Only lints for order, duplicate keys. - Provides an AST (?). - Supports ESLint 9. - Is...
There's currently no linting for markdown, etc. This is a TS config, so I'd expect this to be out of scope, but I'm documenting it in case @AndreaPontrandolfo finds some...
Prevent bad regexes from leaking into code. ~~With TS 5.5 and Unicorn, it's probably not necessary, but I'm in an issue filing mood.~~ It does catch a lot more, including...
When making #161, I realized both that #162 was needed, and that we don't have any engines checking. You can check engines compatible with transtives via [`ls-engines --mode=ideal`](https://www.npmjs.com/package/ls-engines). You can...