Skip to content

dmno-dev/eslint-plugin-fix-disabled-rules

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 

Repository files navigation

ESLint currently doesn't make it easy to use existing rules but disable their autofix behaviour.

see:

This can be extremely problematic while using autofix-on-save for certain rules where briefly commenting out a section of code during debugging will trigger a change that becomes an error when code is later uncommented.

Ideally this will be addressed, but in the meantime, this repo will contain forked rules with autofix disabled.

Rules

prefer-const

Problematic example:

let someVar = false; // <- will be changed to `const` on save
// if (someCondition) someVar = true

About

eslint rules with auto-fix disabled

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published