Closed demetris-manikas closed 2 months ago
Thank you! One formatting nit is that --report-unused-disable-directives
seems to replace the disable directives lines with empty lines. Can you remove those new empty lines?
This PR is also conflicting with main, please resolve conflicts.
We will clean up eslint config. I filed an issue to track this.
I tried renaming eslintconfg.cjs to eslintconfg.js and immediately realized want you were talking about... There is a duplicate parserOptions...
This PR adds the --report-unused-disable-directives which removes all unused eslint disable directives.
It also adds a .eslintignore file that excludes the
.eslintrc.cjs
file. This is because after enabling the Microsoft eslint plugin in VSCode it complains about this Many ways to solve it and I picked the easiest one. Really why the.cjs
extension? why not.js
or '.json' ?