eslint autofix problems

Hello, i started using@sapphire/eslint-config for my project. Now i would like to solve these problems. The most erros is because explicit member accessibility. Autofix doesnt work here. Is that a configuration problem? i hope this problem fits into this forum.
No description
Solution:
no, eslint rules are autofixable only if they provide auto fix functions. These rules simply do not. That's also nothing to do with the config, the config just enables/disables rules. Those rules are provided by the @typescript-eslint/eslint-plugin package (the official eslint plugin for linting typescript files). Notably you can see which rules have auto fixers here for the eslint base and here for @typescript-eslint...
Jump to solution
3 Replies
f1fty
f1ftyOP8mo ago
i need to add public accessibility
No description
Solution
Favna
Favna8mo ago
no, eslint rules are autofixable only if they provide auto fix functions. These rules simply do not. That's also nothing to do with the config, the config just enables/disables rules. Those rules are provided by the @typescript-eslint/eslint-plugin package (the official eslint plugin for linting typescript files). Notably you can see which rules have auto fixers here for the eslint base and here for @typescript-eslint
f1fty
f1ftyOP8mo ago
ahh okay
Want results from more Discord servers?
Add your server