Releases: manovotny/eslint-config-get-off-my-lawn
Releases · manovotny/eslint-config-get-off-my-lawn
7.2.0 Release
- Adds exception for
http://www.w3.org
to enforcinghttps
rule. (#207)
- Changes rule options.
- @typescript-eslint/no-floating-promises
- Changes
ignoreIIFE
fromfalse
totrue
.
- Changes
- eslint/camelcase
- Adds
ignoreGlobals
option.
- Adds
- unicorn/template-indent
- Adds
indent
option to match ESLint indent settings.
- Adds
- @typescript-eslint/no-floating-promises
- Fixes issues with reading ESM Jest configs. (#208)
- Removes rules.
- no-continue (#205)
- Encountered too many viable use cases to warrant keeping it.
- no-continue (#205)
7.1.0 Release
- Adds support for multiple TypeScript configs. (#203)
- Changes rule options.
- @typescript-eslint/no-misused-promises (#204)
- Changes
checksVoidReturn
tofalse
.
- Changes
- @typescript-eslint/no-misused-promises (#204)
- Fixes issues with Next.js and jsx-a11y/anchor-is-valid. (#202)
- Removes rules.
- @typescript-eslint/unbound-method (#205)
- Complains about third-party packages that improperly use
this
and there's nothing you can do to fix it yourself.
- Complains about third-party packages that improperly use
- @typescript-eslint/unbound-method (#205)
7.0.5 Release
7.0.4 Release
7.0.3 Release
7.0.2 Release
- Fixes issues with Jest config resolution and reading. (#186)
- Removes rules.
- jest/unbound-method
- Complain about third-party packages that improperly use
this
and there's nothing you can do to fix it yourself.
- Complain about third-party packages that improperly use
- jest/unbound-method
7.0.1 Release
7.0.0 Release
- ESLint 8 support!
- Zero-config Next.js linting!
- Zero-config TypeScript linting!
- New rules were added, which could potentially break builds.
- Requires node
12.20.0
or higher. - Requires eslint
8.7.0
or higher. (#175) - React filename extensions should be
.jsx
now instead of.js
to more explicitly call out which files contain React and which files are pure JavaScript.- renamer can be used to aid in this conversion. For example:
npx renamer --find js --replace jsx "components/**" --dry-run
(remove--dry-run
once everything looks good). - Probably update your NPM scripts to use
eslint . --ext .js,.jsx
.
- renamer can be used to aid in this conversion. For example:
package.json
property ordering for consistency across projects.
- Adds
Link
as an ESLint shared settinglinkComponents
.- Helps support routing framworks, like Next.js (see eslint-plugin-react's custom link components for more information).
- Adds
.json5
and.jsonc
as supported extensions. - Adds automatic disabling of
unicorn/no-null
if GraphQL is used. (#154) - Adds plugins.
- eslint-plugin-jest-formatting (#145)
- eslint-plugin-jsonc
- eslint-plugin-next (#142)
- Zero-config Next.js linting!
- @typescript-eslint/eslint-plugin (#176)
- Zero-config TypeScript linting!
- Adds rules.
- eslint/dot-location
- eslint/dot-notation
- eslint/no-multi-assign
- eslint/no-unused-private-class-members
- eslint/no-void
- eslint/prefer-object-has-own
- import/no-import-module-exports
- import/no-relative-packages
- jest/prefer-comparison-matcher
- jest/prefer-equality-matcher
- jest/prefer-to-be
- jest/prefer-expect-resolves
- jest/valid-describe-callback
- react/no-arrow-function-lifecycle
- react/no-invalid-html-attribute
- react/no-namespace
- react/no-unstable-nested-components
- unicorn/no-array-method-this-argument
- unicorn/no-array-reduce (#156)
- unicorn/no-await-expression-member
- unicorn/no-document-cookie
- unicorn/no-empty-file (#129)
- unicorn/no-invalid-remove-event-listener
- unicorn/no-static-only-class
- unicorn/no-thenable
- unicorn/no-useless-fallback-in-spread
- unicorn/no-useless-length-check
- unicorn/no-useless-promise-resolve-reject
- unicorn/no-useless-spread
- unicorn/numeric-separators-style
- unicorn/prefer-array-flat
- unicorn/prefer-at
- unicorn/prefer-code-point
- unicorn/prefer-export-from
- unicorn/prefer-json-parse-buffer
- unicorn/prefer-object-from-entries
- unicorn/prefer-prototype-methods
- unicorn/relative-url-style
- unicorn/require-array-join-separator
- unicorn/require-number-to-fixed-digits-argument
- unicorn/require-post-message-target-origin
- unicorn/template-indent
- unicorn/prefer-node-protocol
- Only enabled for node versions
14.18.0
or higher and when not using Next.js (open issue).
- Only enabled for node versions
- Changes
ecmaVersion
tolatest
- Saves us from having to manually bump it every year (see ESLint's Parser Options for more information).
- Changes which React rules are enabled if version
17.0.0
or higher.- The react/jsx-uses-react and react/react-in-jsx-scope rules will be disabled if React's version is
17.0.0
and above as they are no longer necessary (see Introducing the New JSX Transform for more information).
- The react/jsx-uses-react and react/react-in-jsx-scope rules will be disabled if React's version is
- Changes rule options.
- eslint/comma-dangle
- Adds
always-multiline
option. Makes git diffs easier to understand.
- Adds
- eslint/no-implicit-coercion
- Adds
disallowTemplateShorthand
option.
- Adds
- eslint-comments/no-unlimited-disable
- Duplicate of
unicorn/no-abusive-eslint-disable
.
- Duplicate of
- import/no-unresolved
- Adds
caseSensitive
andcaseSensitiveStrict
options.
- Adds
- import/order
- Adds
warnOnUnassignedImports
option.
- Adds
- jest/no-restricted-matchers
- Removes
resolves
matcher as it was causing conflicts with [...
- Removes
- eslint/comma-dangle
7.0.0-beta.9 Release
- Fixes false positives with
import/extensions
and mixed CommonJS / ESM usage. - Fixes false positives with React JSX transform rules for older versions of React.
7.0.0-beta.8 Release
- Changes rule options.
- node/prefer-global/buffer
- Changes
always
tonever
based on Node.js documentation.
- Changes
- node/prefer-global/process
- Changes
always
tonever
based on Node.js documentation.
- Changes
- node/prefer-global/buffer
- Fixes issue with node versions
14.18.0
and less. (#181) - Fixes issue with false positives with
import/extensions
with mixed CommonJS / ESM usage. - Fixes Jest file match in TypeScript overrides to use Jest config, if available, instead of always assuming Jest's default test matching.
- Removes rules.
- eslint-comments/no-unlimited-disable
- Duplicate of
unicorn/no-abusive-eslint-disable
.
- Duplicate of
- eslint-comments/no-unlimited-disable