Standard v12.0.0 Release Notes
Release Date: 2018-08-28 // almost 6 years ago-
๐ New version of ESLint, new version of Standard!
โฌ๏ธ When you upgrade, consider running
standard --fix
to automatically format your code to match the newly added rules.๐ New features
- โก๏ธ Update
eslint
from~4.19.0
to~5.4.0
.- Support JSXFragment nodes (e.g.
<></>
) - Lots of minor changes to rules to catch more edge cases!
- Support JSXFragment nodes (e.g.
- The README is now available in French! (Thanks @charliegerard!)
- Other community contributed translations exist in Spanish, Italian, Korean, Portuguese, Simplified Chinese, and Taiwanese Mandarin.
- More translations are welcome!
๐ New rules
โ (Estimated % of affected standard users, based on test suite in parens)
- ๐ Require spacing inside of braces (object-curly-spacing) #609 eslint-config-standard/#35 [29%]
- ๐ Disallow APIs that were deprecated in Node 10 (no-deprecated-api) #1164 [15%]
- e.g.
assert.equal()
,assert.deepEqual()
andassert.notEqual()
were deprecated in Node 10.
- e.g.
- ๐ Disallow self assignment of properties (no-self-assign) #1186 [0%]
- ๐ Disallow use of an exported name as the locally imported name of a default export (import/no-named-as-default) eslint-config-standard/#98
๐ Changed rules
None.
- โก๏ธ Update