Releases: gsandf/eslint-config-gsandf
Releases · gsandf/eslint-config-gsandf
v3.0.0
Changed
- no-sparse-arrays has been disabled so code like
[1, , 2]
is now considered valid - prefer-const has been disabled to allow usage of
let
- Upgraded Standard from v14 to v16
v2.0.0
Added
- array-callback-return - Enforces return statements in callbacks of array’s methods
- no-extra-label - Disallow unnecessary Labels (catches incorrectly formed objects)
- no-native-reassign - Sets many (browser) globals as read-only
- no-restricted-syntax - Used to disallow archaic
with
statements - no-restricted-globals - Disallow some globals. See https://github.com/facebook/create-react-app/blob/next/packages/confusing-browser-globals/index.js
- no-unused-labels - Disallow unnecessary Labels (catches incorrectly formed objects)
- no-useless-concat - Disallows concatenation of short (e.g. non-multiline) string literals
- radix - ensures radix is specified (when using
as-needed
) - promise/no-new-statics - avoids TypeErrors from calling
new
on a Promise static method - Created CHANGELOG.md
- 💚 Added first tests
Changed
- ✨ Uses
eslint-plugin-prettier
to stop conflicts between ESLint and Prettier. - The camelcase rule is now more lenient. This should result in fewer errors when working with, for example, HTTP headers or external libraries that use snake case.
Removed
- Disabled the sort-keys rule. This was removed to reduce time spent doing stylistic tweaks.