Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

@sapphire/eslint-config

sapphiredev12.4kMIT5.0.5

Standard ESLint config for the Sapphire Community

sapphiredev, bot, typescript, ts, yarn, discord, sapphire, standalone

readme

Sapphire Logo

Sapphire Utilities

Common NodeJS packages for Sapphire Repositories and others.

GitHub codecov

Packages

npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm npm

Buy us some doughnuts

Sapphire Community is and always will be open source, even if we don't get donations. That being said, we know there are amazing people who may still want to donate just to show their appreciation. Thank you very much in advance!

We accept donations through Open Collective, Ko-fi, Paypal, Patreon and GitHub Sponsorships. You can use the buttons below to donate through your method of choice.

Donate With Address
Open Collective Click Here
Ko-fi Click Here
Patreon Click Here
PayPal Click Here

Contributors

Please make sure to read the Contributing Guide before making a pull request.

Thank you to all the people who already contributed to Sapphire!

changelog

Changelog

All notable changes to this project will be documented in this file.

@sapphire/eslint-config@5.0.5 - (2024-06-03)

🐛 Bug Fixes

  • eslint-config: Bump transient dependencies (f83936d)
  • deps: Update all non-major dependencies (7dc491a)

📝 Documentation

  • eslint-config: Add note on how to use with flat config (875402c)

@sapphire/eslint-config@5.0.4 - (2024-03-11)

🐛 Bug Fixes

  • eslint-config: Bump transitive dependencies (f2600b3)
  • deps: Update typescript-eslint monorepo to v7 (major) (#717) (f929edc)
  • Update transitive dependencies (4c28962)
  • deps: Update dependency prettier to ^3.2.2 (61630cc)
  • eslint-config: Bump transitive dependencies (632805d)
  • deps: Update dependency eslint-plugin-prettier to ^5.1.2 (e1c7c75)
  • deps: Update all non-major dependencies (fef82a8)
  • deps: Update all non-major dependencies (#681) (a593be0)
  • Bump transitive prettier dependency (13ec7e9)

@sapphire/eslint-config@5.0.3 - (2023-12-04)

🐛 Bug Fixes

  • eslint-config: Properly split CJS and ESM (ccc6514)
  • eslint-config: Update transitive dependencies (8656062)

@sapphire/eslint-config@5.0.2 - (2023-08-29)

🐛 Bug Fixes

  • eslint-config: Update transitive dependencies (de7b294)
  • eslint-config: Update transitive dependencies (a81f6de)

@sapphire/eslint-config@5.0.1 - (2023-08-07)

🐛 Bug Fixes

  • eslint-config: Update eslint-config-prettier to v9 (4d7b394)

@sapphire/eslint-config@5.0.0 - (2023-07-21)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (3c9d07e)

🚀 Features

  • eslint-config: Update to @typescript-eslint v6 (e029a2b)
    • 💥 BREAKING CHANGE: This package now depends on @typescript-eslint v6
    • 💥 BREAKING CHANGE: As per above the rule @typescript-eslint/no-duplicate-imports has been removed. The replacement is import/no-duplicates from eslint-plugin-import

@sapphire/eslint-config@4.4.3 - (2023-07-05)

🐛 Bug Fixes

  • eslint-config: Update transitive dependencies (f8c6e68)
  • deps: Update all non-major dependencies (#607) (9cc8bd0)
  • eslint-config: Update dependencies (7c249e5)
  • eslint-config: Remove the unnecessary .mjs extension from extraFileExtensions (#605) (0d9bbd4)
  • eslint-config: Update transitive dependencies (a4246c4)
  • eslint-config: Bump typescript-eslint (45b2934)

🧪 Testing

  • Update vitest to coverage v8 (a4bc6e4)

@sapphire/eslint-config@4.4.2 - (2023-05-02)

🐛 Bug Fixes

  • eslint-config: Update dependencies (9e508a9)

@sapphire/eslint-config@4.4.1 - (2023-04-12)

🏃 Performance

  • chunk: Remove clone (#574) (049047b)

🐛 Bug Fixes

  • eslint-config: Bump eslint dependencies (65aa3ae)

@sapphire/eslint-config@4.4.0 - (2023-04-10)

🏠 Refactor

  • Split @sapphire/time-utilities into 4 sub-packages (#462) (574299a)

🐛 Bug Fixes

  • eslint-config: Update typescript to 5.0.3 and eslint to 8.37.0 (619b8e5)
  • deps: Update all non-major dependencies (#577) (291dd67)
  • eslint-config: Bump dependencies (8e25c99)
  • eslint-config: Bump dependencies (71de6b0)
  • deps: Update all non-major dependencies (#545) (40ca040)
  • deps: Update all non-major dependencies (#544) (cc78f17)
  • deps: Update all non-major dependencies (#532) (8033d1f)
  • deps: Update all non-major dependencies (#514) (21b07d5)
  • deps: Update all non-major dependencies (#505) (6178296)
  • eslint-config: Update dependencies (dfe32a0)
  • deps: Update all non-major dependencies (#466) (dc08606)
  • deps: Update all non-major dependencies (e20f299)
  • deps: Update all non-major dependencies to ^5.36.1 (#438) (58dc66a)
  • Update eslint dependencies (2bd8ad6)

📝 Documentation

  • Add @06000208 as a contributor (fa3349e)
  • Add @didinele as a contributor (42ef7b6)
  • Add @goestav as a contributor (0e56a92)
  • Add @CitTheDev as a contributor (34169ea)
  • Add @legendhimslef as a contributor (059b6f1)
  • Add @r-priyam as a contributor (fb278ba)
  • Change name of @kyranet (#451) (df4fdef)
  • Update @RealShadowNova as a contributor (a869ba0)

🚀 Features

  • duration: Add units on Duration (#561) (eac39af)

@sapphire/eslint-config@4.3.8 - (2022-08-20)

🐛 Bug Fixes

  • eslint-config: Bump deps (d63c41e)
  • deps: Update all non-major dependencies (2308bd7)
  • eslint-config: Bump dependencies (04967b3)
  • eslint-config: Bump typescript eslint dependencies (658f2d7)
  • deps: Update all non-major dependencies (94ffa04)
  • deps: Update all non-major dependencies (26774e0)
  • deps: Update all non-major dependencies (84af0db)

📝 Documentation

  • Add @muchnameless as a contributor (a1221fe)
  • Add @enxg as a contributor (d2382f0)
  • Add @EvolutionX-10 as a contributor (efc3a32)

🧪 Testing

  • Migrate to vitest (#380) (075ec73)

@sapphire/eslint-config@4.3.7 - (2022-06-13)

🐛 Bug Fixes

  • deps: Update all non-major dependencies (#378) (9a20de6)

@sapphire/eslint-config@4.3.6 - (2022-05-31)

🐛 Bug Fixes

  • eslint-config: Update transient dependencies (28610f0)
  • deps: Update all non-major dependencies (50cd8de)

@sapphire/eslint-config@4.3.5 - (2022-05-15)

🐛 Bug Fixes

  • eslint-config: Update dependencies (089d11c)

📝 Documentation

  • Add @MajesticString as a contributor (295b3e9)
  • Add @Mzato0001 as a contributor (c790ef2)
  • Add @NotKaskus as a contributor (00da8f1)
  • Add @imranbarbhuiya as a contributor (fb674c2)
  • Add @axisiscool as a contributor (ce1aa31)
  • Add @dhruv-kaushikk as a contributor (ebbf43f)
  • Add @Commandtechno as a contributor (f1d69fa)

@sapphire/eslint-config@4.3.4 - (2022-04-18)

Bug Fixes

  • eslint-config: Update dependencies (8eefb1e)
  • deps: Update all non-major dependencies (ebaa54d)
  • deps: Update all non-major dependencies (#324) (45be361)
  • deps: Update all non-major dependencies (b10c1b0)

Documentation

  • Fix typedoc causing OOM crashes (63ba41c)

4.3.3 (2022-04-01)

Bug Fixes

  • deps: update all non-major dependencies (308cf66)
  • eslint-config: update dependencies (895ce7c)

4.3.2 (2022-03-20)

Note: Version bump only for package @sapphire/eslint-config

4.3.1 (2022-03-20)

Note: Version bump only for package @sapphire/eslint-config

4.3.0 (2022-03-06)

Features

4.2.2 (2022-03-01)

Note: Version bump only for package @sapphire/eslint-config

4.2.1 (2022-02-15)

Bug Fixes

  • deps: update all non-major dependencies (57b604e)

4.2.0 (2022-02-03)

Bug Fixes

  • deps: update all non-major dependencies (676a1e4)

Features

  • eslint-config: bump dependencies (025a254)
  • ts-config: add multi-config structure (#281) (b5191d7)

4.1.0 (2022-01-28)

Features

4.0.11 (2022-01-21)

Bug Fixes

4.0.10 (2022-01-16)

Note: Version bump only for package @sapphire/eslint-config

4.0.9 (2022-01-10)

Note: Version bump only for package @sapphire/eslint-config

4.0.8 (2021-12-08)

Bug Fixes

  • eslint-config: bump eslint dependencies (dadcd38)

4.0.7 (2021-11-25)

Bug Fixes

  • eslint-config: bump prettier dependency to 2.5.0 (bc28682)

4.0.6 (2021-11-25)

Bug Fixes

  • eslint-config: bump prettier dependency to 2.5.0 (bc28682)

4.0.5 (2021-11-15)

Bug Fixes

  • eslint-config: allow type and regular imports (#217) (21a5827)

4.0.4 (2021-11-12)

Bug Fixes

  • eslint-config: disable @typescript-eslint/no-namespace (#212) (6ea1e70)

4.0.3 (2021-11-06)

Note: Version bump only for package @sapphire/eslint-config

4.0.2 (2021-10-26)

Note: Version bump only for package @sapphire/eslint-config

4.0.1 (2021-10-17)

Bug Fixes

  • allow more node & npm versions in engines field (5977d2a)

4.0.0 (2021-10-11)

Features

BREAKING CHANGES

3.3.1 (2021-10-08)

Note: Version bump only for package @sapphire/eslint-config

3.3.0 (2021-10-04)

Features

  • eslint-config: bump dependencies & set minimum NodeJS to v14 (5ad846d)

3.2.3 (2021-07-18)

Bug Fixes

  • eslint-config: bump dependencies within semver range (e4a942d)

3.2.2 (2021-07-11)

Bug Fixes

  • eslint-config: disable warnOnUnsupportedTypeScriptVersion (2446724)
  • eslint-config: enable "no-this-before-super" (ebc1869)

3.2.1 (2021-06-27)

Note: Version bump only for package @sapphire/eslint-config

3.2.0 (2021-06-19)

Features

  • utilities: update utilities with more stuff (#122) (5dfb668)

3.1.4 (2021-06-06)

Bug Fixes

  • remove peer deps, update dev deps, update READMEs (#124) (67256ed)
  • eslint-config: bump dependencies (4ea1334)

3.1.3 (2021-05-20)

Bug Fixes

  • eslint-config: mark package as side effect free (172c913)

3.1.2 (2021-05-02)

Bug Fixes

  • drop the www. from the SapphireJS URL (494d89f)
  • update all the SapphireJS URLs from .com to .dev (f59b46d)

3.1.1 (2021-04-21)

Bug Fixes

  • eslint-config: bump eslint dependencies and widen semver ranges (1c49555)

3.1.0 (2021-04-21)

Features

3.0.4 (2021-04-19)

Bug Fixes

  • change all Sapphire URLs from "project"->"community" & use our domain where applicable 👨‍🌾🚜 (#102) (835b408)

3.0.3 (2021-04-03)

Note: Version bump only for package @sapphire/eslint-config

3.0.2 (2021-03-16)

Bug Fixes

  • eslint-config,prettier-config: change peer dependencies for regular dependencies (188bdd9)

3.0.1 (2021-02-22)

Note: Version bump only for package @sapphire/eslint-config

3.0.0 (2021-02-22)

Features

  • eslint-config: upgrade eslint-config-prettier (d282edb)

BREAKING CHANGES

  • eslint-config: Peer dependency of eslint-config-prettier is now 8.x Please upgrade your own dependencies. No further changes are required.

2.1.2 (2021-02-16)

Note: Version bump only for package @sapphire/eslint-config

2.1.1 (2021-01-25)

Bug Fixes

  • eslint-config: disable @typescript-eslint/init-declarations (1ee7250)

2.1.0 (2021-01-19)

Features

  • eslint-config: disable several rules (61ea4db)

2.0.1 (2021-01-16)

Note: Version bump only for package @sapphire/eslint-config

2.0.0 (2021-01-08)

Features

  • {ts,eslint}-config,decorators: remove TypeScript v3 from peer dependencies (a211f0b)

BREAKING CHANGES

  • {ts,eslint}-config,decorators: TypeScript v3 removed from peer dependencies, it may still work, however we strongly recommend updating.

1.1.2 (2021-01-01)

Bug Fixes

  • eslint-config: bump eslint-config-prettier peer dependency (5a43a51)

1.1.1 (2020-12-26)

Note: Version bump only for package @sapphire/eslint-config

1.1.0 (2020-12-22)

Features

1.0.4 (2020-11-04)

Bug Fixes

  • eslint-config: don't overwrite rules that get disabled by prettier (641b8d7)
  • eslint-config: properly specify ESM and CommonJS exports (ece2203)

1.0.3 (2020-10-11)

Note: Version bump only for package @sapphire/eslint-config

1.0.2 (2020-09-20)

Bug Fixes

  • eslint-config: move dependencies to peer section (43602e6)

1.0.1 (2020-09-05)

Bug Fixes

  • eslint-config: fixed 2 rule conflicts (7321d06)

1.0.0 (2020-09-05)

Bug Fixes

  • eslint-config: change properties to camelcase (731c930)
  • eslint-config: disable padded-blocks (b1dbdcf)
  • eslint-config: disable prettier handled rules (c76d3ca)
  • eslint-config: disable yield-star-spacing (ec84232)
  • eslint-config: fixed typescript specific rules (8d56b68)

Features

  • implement snowflake (5ba4e2d)
  • decorators: add decorators package (#4) (677b3e5)