ESLint v5.13.0 releasedby Brandon Mills - 1 February 2019
We just pushed ESLint v5.13.0, which is a minor release upgrade of ESLint. This release adds some new features and fixes several bugs found in the previous release.
globals has been improved with three new options: "off", "readable", and "writeable".
- "off": Completely disables a global variable that was previously defined.
- "readable": Equivalent to the old
falsevalue, "readable" global variables are in scope but cannot be written to.
- "writeable": Equivalent to the old
truevalue, "writeable" global variables can be read from and written to.
Configurations using the old
false values will continue to work, but we encourage you to use the newer, more explicit options.
Check out the documentation on specifying globals for more details!
0a3c3ffNew: Allow globals to be disabled/configured with strings (fixes #9940) (#11338) (Teddy Katz)
5b14ad1Fix: false positive in no-constant-condition (fixes #11306) (#11308) (Pig Fang)
6567c4fFix: only remove arrow before body in object-shorthand (fixes #11305) (#11307) (Pig Fang)
fa2f370Docs: update rule configuration values in examples (#11323) (Kai Cataldo)
foo(#11210) (Alexis Tyler)
91c8884Chore: use local function to append "s" instead of a package (#11293) (Timo Tijhof)
9005e63Chore: increase camelcase test coverage (#11299) (Redmond Tran)
dccee63Chore: avoid hard-coding the list of core rules in eslint:recommended (#11336) (Teddy Katz)
c1fd6f5Chore: remove undocumented
Linter#rulesproperty (refs #9161) (#11335) (Teddy Katz)
36e3356Chore: remove dead code for loading rules (#11334) (Teddy Katz)