eslint-config-get-off-my-lawn

A highly opinionated, sharable config of ESLint rules to produce beautiful, readable JavaScript.

MIT License

Downloads
12.2K
Stars
55
Committers
7

Bot releases are hidden (Show)

eslint-config-get-off-my-lawn - 7.2.0 Release Latest Release

Published by manovotny almost 2 years ago

Added

  • Adds exception for http://www.w3.org to enforcing https rule. (#207)

Changed

Fixed

  • Fixes issues with reading ESM Jest configs. (#208)

Removed

  • Removes rules.
    • no-continue (#205)
      • Encountered too many viable use cases to warrant keeping it.

Changeset

v7.1.0...v7.2.0

eslint-config-get-off-my-lawn - 7.1.0 Release

Published by manovotny over 2 years ago

Added

Changed

Fixed

Removed

  • Removes rules.

Changeset

v7.0.5...v7.1.0

eslint-config-get-off-my-lawn - 7.0.5 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes dependency checks for dependencies that use range specifiers. (#199)

Changeset

v7.0.4...v7.0.5

eslint-config-get-off-my-lawn - 7.0.4 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes false positives with --es-module-specifier-resolution=node in ESM. (#191)

Changeset

v7.0.3...v7.0.4

eslint-config-get-off-my-lawn - 7.0.3 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes false positives with import/extensions in ESM. (#190)

Changeset

v7.0.2...v7.0.3

eslint-config-get-off-my-lawn - 7.0.2 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes issues with Jest config resolution and reading. (#186)

Removed

  • 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.

Changeset

v7.0.1...v7.0.2

eslint-config-get-off-my-lawn - 7.0.1 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes false positives with unicorn/prefer-node-protocol in certain Node versions. (#182)
  • Fixes false positives with import/extensions and import/no-useless-path-segments in ESM. (#185)

Changeset

v7.0.0...v7.0.1

eslint-config-get-off-my-lawn - 7.0.0 Release

Published by manovotny over 2 years ago

Highlights

  • ESLint 8 support!
  • Zero-config Next.js linting!
  • Zero-config TypeScript linting!

Breaking

  • 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.
  • package.json property ordering for consistency across projects.

Added

Changed

Fixed

  • Fixes false positives with import/extensions and mixed CommonJS / ESM usage.
  • Fixes false positives with React JSX transform rules for older versions of React.

Removed

Changeset

v6.0.3...v7.0.0

eslint-config-get-off-my-lawn - 7.0.0-beta.9 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes false positives with import/extensions and mixed CommonJS / ESM usage.
  • Fixes false positives with React JSX transform rules for older versions of React.

Changeset

v7.0.0-beta.8...v7.0.0-beta.9

eslint-config-get-off-my-lawn - 7.0.0-beta.8 Release

Published by manovotny over 2 years ago

Changed

Fixed

  • 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.

Removed

Changeset

v7.0.0-beta.7...v7.0.0-beta.8

eslint-config-get-off-my-lawn - 7.0.0-beta.7 Release

Published by manovotny over 2 years ago

Added

  • Adds automatic disabling of unicorn/no-null if GraphQL is used. (#154)

Fixed

  • Fixes react/jsx-filename-extension errors on TypeScript projects that don't also use React.
  • Fixes path issues with babel config if a config is found.
  • Fixes @typescript-eslint/unbound-method conflicts with Jest.

Removed

Changeset

v7.0.0-beta.6...v7.0.0-beta.7

eslint-config-get-off-my-lawn - 7.0.0-beta.6 Release

Published by manovotny over 2 years ago

Fixed

  • Fixes eslint-plugin-jsonc and prettier conficts.

Changeset

v7.0.0-beta.5...v7.0.0-beta.6

eslint-config-get-off-my-lawn - 7.0.0-beta.5 Release

Published by manovotny over 2 years ago

Breaking

  • Requires eslint 8.7.0 or higher.

Added

Fixed

Changeset

v7.0.0-beta.4...v7.0.0-beta.5

eslint-config-get-off-my-lawn - 7.0.0-beta.4 Release

Published by manovotny almost 3 years ago

Changed

Fixed

Changeset

v7.0.0-beta.3...v7.0.0-beta.4

eslint-config-get-off-my-lawn - 7.0.0-beta.2 Release

Published by manovotny almost 3 years ago

Fixed

Changed

Changeset

v7.0.0-beta.1...v7.0.0-beta.2

eslint-config-get-off-my-lawn - 7.0.0-beta.1 Release

Published by manovotny almost 3 years ago

Breaking

  • New rules were added, which could potentially break builds.
  • Requires node 12.20.0 or higher.
  • Requires eslint 8.4.1 or higher.

Added

Changed

Removed

Changeset

v6.0.3...v7.0.0-beta.1

eslint-config-get-off-my-lawn - 6.0.3 Release

Published by manovotny about 3 years ago

Fixed

  • Fixes https suggestion / fixer. (#165) 🙏

Changeset

v6.0.2...v6.0.3

eslint-config-get-off-my-lawn - 6.0.2 Release

Published by manovotny about 3 years ago

Fixed

  • Fixes missing @babel/preset-react dependency. (#162)

Changeset

v6.0.1...v6.0.2

eslint-config-get-off-my-lawn - 6.0.1 Release

Published by manovotny over 3 years ago

Fixed

Removed

Changeset

v6.0.0...v6.0.1