node-serialport
node-serialport copied to clipboard
Upgrade and fix eslint config
Previously, npm install; npm run lint would fail. Now it succeeds.
This involved a couple changes:
- switch from eslint legacy to flat config
- bump some plugins, including removing some straggling references to the unmaintained
eslint-plugin-nodein favor of its sucessoreslint-plugin-nand removingeslint-plugin-import, which is unused and incompatible with eslint 9. - Use the recommended config for
typescript-eslint. - Turn off the rule
@typescript-eslint/no-require-imports, which currently fails on parts of the codebase.