UNPKG

@theguild/eslint-config

Version:

The Guild's shared ESLint config

901 lines (716 loc) 41.1 kB
# @theguild/eslint-config ## 0.13.3 ### Patch Changes - 8e90ba8: dependencies updates: - Updated dependency [`eslint-import-resolver-typescript@3.9.1` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.9.1) (from `3.7.0`, in `dependencies`) ## 0.13.2 ### Patch Changes - 866aef2: dependencies updates: - Updated dependency [`eslint-plugin-n@17.14.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/17.14.0) (from `17.13.2`, in `dependencies`) - f1146a6: dependencies updates: - Updated dependency [`eslint-plugin-promise@7.2.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/7.2.0) (from `7.1.0`, in `dependencies`) - 5503b84: dependencies updates: - Updated dependency [`@typescript-eslint/eslint-plugin@8.17.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/8.17.0) (from `8.15.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@8.17.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/8.17.0) (from `8.15.0`, in `dependencies`) - d23da18: dependencies updates: - Updated dependency [`eslint-import-resolver-typescript@3.7.0` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.7.0) (from `3.6.3`, in `dependencies`) - Updated dependency [`eslint-plugin-promise@7.2.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/7.2.1) (from `7.1.0`, in `dependencies`) - 8d4b216: dependencies updates: - Updated dependency [`eslint-plugin-yml@1.16.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.16.0) (from `1.15.0`, in `dependencies`) - ef4d681: dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@3.0.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/3.0.1) (from `2.0.4`, in `dependencies`) - 6049e99: dependencies updates: - Updated dependency [`eslint-import-resolver-typescript@3.7.0` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.7.0) (from `3.6.3`, in `dependencies`) - d0f1869: dependencies updates: - Updated dependency [`eslint-plugin-promise@7.2.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/7.2.1) (from `7.2.0`, in `dependencies`) ## 0.13.1 ### Patch Changes - 3c745fe: dependencies updates: - Updated dependency [`eslint-plugin-jsonc@2.18.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.18.2) (from `2.17.0`, in `dependencies`) - 357baae: dependencies updates: - Updated dependency [`@typescript-eslint/eslint-plugin@8.15.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/8.15.0) (from `8.13.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@8.15.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/8.15.0) (from `8.13.0`, in `dependencies`) - cbedce1: dependencies updates: - Updated dependency [`eslint-plugin-n@17.13.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/17.13.2) (from `17.13.1`, in `dependencies`) - 4eabf76: dependencies updates: - Updated dependency [`eslint-plugin-unicorn@56.0.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/56.0.1) (from `56.0.0`, in `dependencies`) - 254b74d: ignore default export for `_meta.global.{ts,tsx}` ## 0.13.0 ### Minor Changes - a3d8e2f: ignore `import/no-default-export` for `**/app/**/{layout,page,not-found}.tsx` and `**/app/**/_meta.{ts,tsx}` ### Patch Changes - a3d8e2f: dependencies updates: - Updated dependency [`@rushstack/eslint-patch@1.10.4` ↗︎](https://www.npmjs.com/package/@rushstack/eslint-patch/v/1.10.4) (from `^1.10.4`, in `dependencies`) - Updated dependency [`@typescript-eslint/eslint-plugin@8.13.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/8.13.0) (from `^7.18.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@8.13.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/8.13.0) (from `^7.18.0`, in `dependencies`) - Updated dependency [`eslint-config-prettier@9.1.0` ↗︎](https://www.npmjs.com/package/eslint-config-prettier/v/9.1.0) (from `^9.1.0`, in `dependencies`) - Updated dependency [`eslint-import-resolver-typescript@3.6.3` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.6.3) (from `^3.6.1`, in `dependencies`) - Updated dependency [`eslint-plugin-import@2.31.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-import/v/2.31.0) (from `^2.29.1`, in `dependencies`) - Updated dependency [`eslint-plugin-jsonc@2.16.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.16.0) (from `^2.11.1`, in `dependencies`) - Updated dependency [`eslint-plugin-jsx-a11y@6.10.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsx-a11y/v/6.10.2) (from `^6.8.0`, in `dependencies`) - Updated dependency [`eslint-plugin-mdx@3.1.5` ↗︎](https://www.npmjs.com/package/eslint-plugin-mdx/v/3.1.5) (from `^3.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-n@17.12.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/17.12.0) (from `^17.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-promise@7.1.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/7.1.0) (from `^7.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-react@7.37.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-react/v/7.37.2) (from `^7.33.2`, in `dependencies`) - Updated dependency [`eslint-plugin-react-hooks@5.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-react-hooks/v/5.0.0) (from `^4.6.0`, in `dependencies`) - Updated dependency [`eslint-plugin-sonarjs@2.0.4` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/2.0.4) (from `^1.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-unicorn@56.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/56.0.0) (from `^55.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-yml@1.15.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.15.0) (from `^1.11.0`, in `dependencies`) - e4d672c: dependencies updates: - Updated dependency [`eslint-plugin-n@17.13.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/17.13.0) (from `17.12.0`, in `dependencies`) - 1251e53: dependencies updates: - Updated dependency [`eslint-plugin-n@17.13.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/17.13.1) (from `17.13.0`, in `dependencies`) - 52bd034: dependencies updates: - Updated dependency [`eslint-plugin-jsonc@2.17.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.17.0) (from `2.16.0`, in `dependencies`) ## 0.12.1 ### Patch Changes - [#448](https://github.com/the-guild-org/shared-config/pull/448) [`7bf3875`](https://github.com/the-guild-org/shared-config/commit/7bf3875bd0e6419dc9e32487a60fe0aaf6f7d122) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint@^8 || ^9.0.0` ↗︎](https://www.npmjs.com/package/eslint/v/8.0.0) (from `^8`, in `peerDependencies`) ## 0.12.0 ### Minor Changes - [#548](https://github.com/the-guild-org/shared-config/pull/548) [`647f2cc`](https://github.com/the-guild-org/shared-config/commit/647f2ccd878f4e7d0060275f2ed732b73771d6a7) Thanks [@dimaMachina](https://github.com/dimaMachina)! - bump `@rushstack/eslint-patch` and `@typescript-eslint/eslint-plugin` ### Patch Changes - [#548](https://github.com/the-guild-org/shared-config/pull/548) [`647f2cc`](https://github.com/the-guild-org/shared-config/commit/647f2ccd878f4e7d0060275f2ed732b73771d6a7) Thanks [@dimaMachina](https://github.com/dimaMachina)! - dependencies updates: - Updated dependency [`@rushstack/eslint-patch@^1.10.4` ↗︎](https://www.npmjs.com/package/@rushstack/eslint-patch/v/1.10.4) (from `^1.6.1`, in `dependencies`) - Updated dependency [`@typescript-eslint/eslint-plugin@^7.18.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/7.18.0) (from `^7.0.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^7.18.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/7.18.0) (from `^7.0.0`, in `dependencies`) ## 0.11.11 ### Patch Changes - [#533](https://github.com/the-guild-org/shared-config/pull/533) [`0027744`](https://github.com/the-guild-org/shared-config/commit/00277440cf5e8531771fb5f17527aa9f0b73cdb9) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-promise@^7.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/7.0.0) (from `^6.1.1`, in `dependencies`) - [#536](https://github.com/the-guild-org/shared-config/pull/536) [`59f3404`](https://github.com/the-guild-org/shared-config/commit/59f34040d185b7fc670459815ad83753a638db98) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^55.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/55.0.0) (from `^54.0.0`, in `dependencies`) ## 0.11.10 ### Patch Changes - [#452](https://github.com/the-guild-org/shared-config/pull/452) [`c577194`](https://github.com/the-guild-org/shared-config/commit/c577194eb08551bd67f57064b204739d8f7721be) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^53.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/53.0.0) (from `^52.0.0`, in `dependencies`) - [#484](https://github.com/the-guild-org/shared-config/pull/484) [`d32ea18`](https://github.com/the-guild-org/shared-config/commit/d32ea18b8ad9746b5ebe7a425aa883f26304581a) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^54.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/54.0.0) (from `^53.0.0`, in `dependencies`) - [#492](https://github.com/the-guild-org/shared-config/pull/492) [`f310757`](https://github.com/the-guild-org/shared-config/commit/f310757dfeb41770bfc0e39e775d0097746dd1f3) Thanks [@dimaMachina](https://github.com/dimaMachina)! - forbid `close` global variable ## 0.11.9 ### Patch Changes - [#438](https://github.com/the-guild-org/shared-config/pull/438) [`dc07018`](https://github.com/the-guild-org/shared-config/commit/dc07018db035a2a9ca15a1dc5e16574426471301) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^1.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/1.0.0) (from `^0.25.0`, in `dependencies`) ## 0.11.8 ### Patch Changes - [#427](https://github.com/the-guild-org/shared-config/pull/427) [`47bafcd`](https://github.com/the-guild-org/shared-config/commit/47bafcdb636cdd2cd03b63f6e7905b5da3e122cf) Thanks [@dimaMachina](https://github.com/dimaMachina)! - exclude `**/*.md{,x}/*` for ts files ## 0.11.7 ### Patch Changes - [#422](https://github.com/the-guild-org/shared-config/pull/422) [`2f6f4f0`](https://github.com/the-guild-org/shared-config/commit/2f6f4f059d374bbbdd6561580d1bd854cd3e65f7) Thanks [@eddeee888](https://github.com/eddeee888)! - Fix @typescript-eslint/prefer-optional-chain causing eslint to fail if .js files are not included in tsconfig ## 0.11.6 ### Patch Changes - [#398](https://github.com/the-guild-org/shared-config/pull/398) [`c0cfe4c`](https://github.com/the-guild-org/shared-config/commit/c0cfe4ca77b3cc239c693250948d94d1c4aaf936) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-n@^17.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/17.0.0) (from `^16.4.0`, in `dependencies`) ## 0.11.5 ### Patch Changes - [#389](https://github.com/the-guild-org/shared-config/pull/389) [`2212760`](https://github.com/the-guild-org/shared-config/commit/221276004cbdea3ea49f703105ea848a6e3c5d46) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.25.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.25.0) (from `^0.24.0`, in `dependencies`) - [#395](https://github.com/the-guild-org/shared-config/pull/395) [`b1432a0`](https://github.com/the-guild-org/shared-config/commit/b1432a0226a527db5fb42679521d69da47c60d98) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^52.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/52.0.0) (from `^51.0.0`, in `dependencies`) ## 0.11.4 ### Patch Changes - [#338](https://github.com/the-guild-org/shared-config/pull/338) [`d1b515a`](https://github.com/the-guild-org/shared-config/commit/d1b515acb0d8bcd36e59600489838bb6d33d1b69) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^51.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/51.0.0) (from `^50.0.0`, in `dependencies`) - [#340](https://github.com/the-guild-org/shared-config/pull/340) [`62537dd`](https://github.com/the-guild-org/shared-config/commit/62537dd30f7563803297f2b49cb70985e5fc2475) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.24.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.24.0) (from `^0.23.0`, in `dependencies`) - [#341](https://github.com/the-guild-org/shared-config/pull/341) [`1f9777b`](https://github.com/the-guild-org/shared-config/commit/1f9777bb20919a9bf859b7d50a2707fc5259dc6a) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@typescript-eslint/eslint-plugin@^7.0.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/7.0.0) (from `^6.14.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^7.0.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/7.0.0) (from `^6.14.0`, in `dependencies`) ## 0.11.3 ### Patch Changes - [#320](https://github.com/the-guild-org/shared-config/pull/320) [`43adb44`](https://github.com/the-guild-org/shared-config/commit/43adb44c8079976a761b3f4763a57d15e914a012) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^50.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/50.0.0) (from `^49.0.0`, in `dependencies`) ## 0.11.2 ### Patch Changes - [#314](https://github.com/the-guild-org/shared-config/pull/314) [`b294956`](https://github.com/the-guild-org/shared-config/commit/b2949564f75ff128b4bee95d99ffadfaad68abe6) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-mdx@^3.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-mdx/v/3.0.0) (from `^2.1.0`, in `dependencies`) - [#317](https://github.com/the-guild-org/shared-config/pull/317) [`d37d14e`](https://github.com/the-guild-org/shared-config/commit/d37d14eee9794d93b1b7129ed6244faa8b470056) Thanks [@dotansimha](https://github.com/dotansimha)! - dependencies updates: - Updated dependency [`@rushstack/eslint-patch@^1.6.1` ↗︎](https://www.npmjs.com/package/@rushstack/eslint-patch/v/1.6.1) (from `^1.3.2`, in `dependencies`) - Updated dependency [`@typescript-eslint/eslint-plugin@^6.14.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/6.14.0) (from `^6.0.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^6.14.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/6.14.0) (from `^6.0.0`, in `dependencies`) - Updated dependency [`eslint-config-prettier@^9.1.0` ↗︎](https://www.npmjs.com/package/eslint-config-prettier/v/9.1.0) (from `^9.0.0`, in `dependencies`) - Updated dependency [`eslint-import-resolver-typescript@^3.6.1` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.6.1) (from `^3.5.5`, in `dependencies`) - Updated dependency [`eslint-plugin-import@^2.29.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-import/v/2.29.1) (from `^2.27.5`, in `dependencies`) - Updated dependency [`eslint-plugin-jsonc@^2.11.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.11.1) (from `^2.9.0`, in `dependencies`) - Updated dependency [`eslint-plugin-jsx-a11y@^6.8.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsx-a11y/v/6.8.0) (from `^6.7.1`, in `dependencies`) - Updated dependency [`eslint-plugin-n@^16.4.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/16.4.0) (from `^16.0.1`, in `dependencies`) - Updated dependency [`eslint-plugin-react@^7.33.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-react/v/7.33.2) (from `^7.32.2`, in `dependencies`) - Updated dependency [`eslint-plugin-yml@^1.11.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.11.0) (from `^1.8.0`, in `dependencies`) - Updated dependency [`eslint@^8` ↗︎](https://www.npmjs.com/package/eslint/v/8.0.0) (from `^8.24.0`, in `peerDependencies`) - Added dependency [`typescript@^5` ↗︎](https://www.npmjs.com/package/typescript/v/5.0.0) (to `peerDependencies`) - [#317](https://github.com/the-guild-org/shared-config/pull/317) [`d37d14e`](https://github.com/the-guild-org/shared-config/commit/d37d14eee9794d93b1b7129ed6244faa8b470056) Thanks [@dotansimha](https://github.com/dotansimha)! - Bump dependencies. Please note that '@typescript-eslint/prefer-optional-chain' rule needs parserServices to function ## 0.11.1 ### Patch Changes - [#256](https://github.com/the-guild-org/shared-config/pull/256) [`c6ea530`](https://github.com/the-guild-org/shared-config/commit/c6ea530694448dce6c549f02f9995ea328a8ee54) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`@typescript-eslint/eslint-plugin@^6.0.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/6.0.0) (from `^5.61.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^6.0.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/6.0.0) (from `^5.61.0`, in `dependencies`) - [#261](https://github.com/the-guild-org/shared-config/pull/261) [`7178109`](https://github.com/the-guild-org/shared-config/commit/71781091197b842140cc9a65e743c2946aff1f50) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^48.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/48.0.0) (from `^47.0.0`, in `dependencies`) - [#267](https://github.com/the-guild-org/shared-config/pull/267) [`3443fc1`](https://github.com/the-guild-org/shared-config/commit/3443fc140df20b2081769ae3fde82d0c174d277b) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.21.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.21.0) (from `^0.19.0`, in `dependencies`) - [#268](https://github.com/the-guild-org/shared-config/pull/268) [`c1f28e1`](https://github.com/the-guild-org/shared-config/commit/c1f28e1aba3b976545af8cb2273ba63610ff170f) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-config-prettier@^9.0.0` ↗︎](https://www.npmjs.com/package/eslint-config-prettier/v/9.0.0) (from `^8.8.0`, in `dependencies`) - [#295](https://github.com/the-guild-org/shared-config/pull/295) [`d089d85`](https://github.com/the-guild-org/shared-config/commit/d089d85e87ab701f12166261f0e394b2b563ad20) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^49.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/49.0.0) (from `^48.0.0`, in `dependencies`) - [#296](https://github.com/the-guild-org/shared-config/pull/296) [`933fcd8`](https://github.com/the-guild-org/shared-config/commit/933fcd829d0e3574d7a76f456e83ff69bfd7b888) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.23.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.23.0) (from `^0.21.0`, in `dependencies`) ## 0.11.0 ### Minor Changes - [#255](https://github.com/the-guild-org/shared-config/pull/255) [`a68a857`](https://github.com/the-guild-org/shared-config/commit/a68a8579e65d6c67a4cf602956f32a9f305a9073) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`@rushstack/eslint-patch@^1.3.2` ↗︎](https://www.npmjs.com/package/@rushstack/eslint-patch/v/1.3.2) (from `^1.2.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/eslint-plugin@^5.61.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/5.61.0) (from `^5.48.1`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^5.61.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/5.61.0) (from `^5.48.1`, in `dependencies`) - Updated dependency [`eslint-config-prettier@^8.8.0` ↗︎](https://www.npmjs.com/package/eslint-config-prettier/v/8.8.0) (from `^8.6.0`, in `dependencies`) - Updated dependency [`eslint-import-resolver-typescript@^3.5.5` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.5.5) (from `^3.5.3`, in `dependencies`) - Updated dependency [`eslint-plugin-import@^2.27.5` ↗︎](https://www.npmjs.com/package/eslint-plugin-import/v/2.27.5) (from `^2.27.0`, in `dependencies`) - Updated dependency [`eslint-plugin-jsonc@^2.9.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.9.0) (from `^2.6.0`, in `dependencies`) - Updated dependency [`eslint-plugin-jsx-a11y@^6.7.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsx-a11y/v/6.7.1) (from `^6.7.0`, in `dependencies`) - Updated dependency [`eslint-plugin-mdx@^2.1.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-mdx/v/2.1.0) (from `^2.0.5`, in `dependencies`) - Updated dependency [`eslint-plugin-n@^16.0.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/16.0.1) (from `^16.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-react@^7.32.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-react/v/7.32.2) (from `^7.32.0`, in `dependencies`) - Updated dependency [`eslint-plugin-yml@^1.8.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.8.0) (from `^1.4.0`, in `dependencies`) ### Patch Changes - [#225](https://github.com/the-guild-org/shared-config/pull/225) [`9f2267b`](https://github.com/the-guild-org/shared-config/commit/9f2267bd2ce4dfc56a550430e97e5ef9254e23f8) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^47.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/47.0.0) (from `^46.0.0`, in `dependencies`) - [#233](https://github.com/the-guild-org/shared-config/pull/233) [`a07a94c`](https://github.com/the-guild-org/shared-config/commit/a07a94c4b98ca55ed1f75d667eba7e08db930d79) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-n@^16.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/16.0.0) (from `^15.6.1`, in `dependencies`) ## 0.10.0 ### Minor Changes - [#229](https://github.com/the-guild-org/shared-config/pull/229) [`0fe6bba`](https://github.com/the-guild-org/shared-config/commit/0fe6bbadfd249e5d10f35ee9d1d01d39b2de9d29) Thanks [@B2o5T](https://github.com/B2o5T)! - add `'import/no-useless-path-segments': 'error'` ## 0.9.0 ### Minor Changes - [#205](https://github.com/the-guild-org/shared-config/pull/205) [`ebd2920`](https://github.com/the-guild-org/shared-config/commit/ebd292059888515095c59c12657860ece3f76eac) Thanks [@B2o5T](https://github.com/B2o5T)! - new rules ```json { "unicorn/no-array-for-each": "error", "unicorn/prefer-string-trim-start-end": "error", "no-self-compare": "error", "eqeqeq": [ "error", "always", { "null": "ignore" } ], "@typescript-eslint/consistent-type-assertions": "error" } ``` ### Patch Changes - [#200](https://github.com/the-guild-org/shared-config/pull/200) [`df800fc`](https://github.com/the-guild-org/shared-config/commit/df800fcf68b878fef7701aa4a92378512904c0d3) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.19.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.19.0) (from `^0.18.0`, in `dependencies`) ## 0.8.1 ### Patch Changes - [#187](https://github.com/the-guild-org/shared-config/pull/187) [`779ad25`](https://github.com/the-guild-org/shared-config/commit/779ad25c3bbe1cb12c464171468b719b2c5bdf51) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^46.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/46.0.0) (from `^45.0.2`, in `dependencies`) ## 0.8.0 ### Minor Changes - [#157](https://github.com/the-guild-org/shared-config/pull/157) [`3f7437f`](https://github.com/the-guild-org/shared-config/commit/3f7437f6430459661b5d40b3f6f49666042b4122) Thanks [@B2o5T](https://github.com/B2o5T)! - new rules: - `yoda` - `unicorn/prefer-export-from` - `promise/no-multiple-resolved` - `unicorn/prefer-logical-operator-over-ternary` - `@typescript-eslint/no-unused-expressions` - `unicorn/no-negated-condition` react: fix `import/extensions` - 'react/prop-types': 'off' - 'react/jsx-boolean-value': 'error' - 'react/hook-use-state': 'error' - 'react/iframe-missing-sandbox': 'error' forbid: - `process.browser` - restrict `isNaN` in favour of `Number.isNaN` ### Patch Changes - [#157](https://github.com/the-guild-org/shared-config/pull/157) [`3f7437f`](https://github.com/the-guild-org/shared-config/commit/3f7437f6430459661b5d40b3f6f49666042b4122) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`@typescript-eslint/eslint-plugin@^5.48.1` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/5.48.1) (from `^5.45.1`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^5.48.1` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/5.48.1) (from `^5.45.1`, in `dependencies`) - Updated dependency [`eslint-config-prettier@^8.6.0` ↗︎](https://www.npmjs.com/package/eslint-config-prettier/v/8.6.0) (from `^8.5.0`, in `dependencies`) - Updated dependency [`eslint-plugin-import@^2.27.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-import/v/2.27.0) (from `^2.26.0`, in `dependencies`) - Updated dependency [`eslint-plugin-jsonc@^2.6.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.6.0) (from `^2.5.0`, in `dependencies`) - Updated dependency [`eslint-plugin-jsx-a11y@^6.7.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsx-a11y/v/6.7.0) (from `^6.6.1`, in `dependencies`) - Updated dependency [`eslint-plugin-n@^15.6.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/15.6.1) (from `^15.6.0`, in `dependencies`) - Updated dependency [`eslint-plugin-react@^7.32.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-react/v/7.32.0) (from `^7.31.11`, in `dependencies`) - Updated dependency [`eslint-plugin-unicorn@^45.0.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/45.0.2) (from `^45.0.1`, in `dependencies`) - Updated dependency [`eslint-plugin-yml@^1.4.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.4.0) (from `^1.2.0`, in `dependencies`) - Added dependency [`eslint-import-resolver-typescript@^3.5.3` ↗︎](https://www.npmjs.com/package/eslint-import-resolver-typescript/v/3.5.3) (to `dependencies`) ## 0.7.0 ### Minor Changes - [#154](https://github.com/the-guild-org/shared-config/pull/154) [`8e8e708`](https://github.com/the-guild-org/shared-config/commit/8e8e70847a71de1e5395c1b5a7211a910328daf0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - prettier should be responsible for import sorting instead of eslint ### Patch Changes - [#154](https://github.com/the-guild-org/shared-config/pull/154) [`8e8e708`](https://github.com/the-guild-org/shared-config/commit/8e8e70847a71de1e5395c1b5a7211a910328daf0) Thanks [@enisdenjo](https://github.com/enisdenjo)! - dependencies updates: - Removed dependency [`eslint-plugin-simple-import-sort@^8.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-simple-import-sort/v/8.0.0) (from `dependencies`) - [#155](https://github.com/the-guild-org/shared-config/pull/155) [`71cf9c5`](https://github.com/the-guild-org/shared-config/commit/71cf9c5b7475a72a8901d22cae67d85841cfb490) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.18.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.18.0) (from `^0.17.0`, in `dependencies`) ## 0.6.0 ### Minor Changes - [#151](https://github.com/the-guild-org/shared-config/pull/151) [`d5152a8`](https://github.com/the-guild-org/shared-config/commit/d5152a88d1e74769b2cdff580f1107a60a6faaa0) Thanks [@B2o5T](https://github.com/B2o5T)! - forbid `useMemo(…, [])` for react and `Boolean(…)` for all files ## 0.5.1 ### Patch Changes - [#149](https://github.com/the-guild-org/shared-config/pull/149) [`10a328a`](https://github.com/the-guild-org/shared-config/commit/10a328a6042a68bee44594d7089d51111eda322b) Thanks [@B2o5T](https://github.com/B2o5T)! - add `boolean: false` for `no-implicit-coercion` because in TypeScript `!!` is preferable ## 0.5.0 ### Minor Changes - [#146](https://github.com/the-guild-org/shared-config/pull/146) [`f829c8d`](https://github.com/the-guild-org/shared-config/commit/f829c8d285499c9bb7df7818d22570ead7112ad6) Thanks [@B2o5T](https://github.com/B2o5T)! - add new rules `prefer-object-has-own`, `logical-assignment-operators` and `@typescript-eslint/prefer-optional-chain` ## 0.4.2 ### Patch Changes - [#144](https://github.com/the-guild-org/shared-config/pull/144) [`2e7099a`](https://github.com/the-guild-org/shared-config/commit/2e7099a27f74c1f9bacf38e2488b1fc547b7eaed) Thanks [@B2o5T](https://github.com/B2o5T)! - add `varsIgnorePattern: '^_'` for `@typescript-eslint/no-unused-vars` forbid lodash/isString.js, lodash/isArray.js, lodash/flatten.js, lodash/compact.js, lodash/identity.js ## 0.4.1 ### Patch Changes - [#142](https://github.com/the-guild-org/shared-config/pull/142) [`b09a4ce`](https://github.com/the-guild-org/shared-config/commit/b09a4cef20c7aab5af3267803fdad323814717fe) Thanks [@B2o5T](https://github.com/B2o5T)! - ignore `import/no-default-export` for `website/theme.config.tsx` treat `.vscode/launch.json` as jsonc ignore `import/extensions` for Markdown code blocks ignore filename for `.github/FUNDING.yml` put imported filename extensions `graphql|css|png|svg|jpe?g|webp|avif` always last ## 0.4.0 ### Minor Changes - [#122](https://github.com/the-guild-org/shared-config/pull/122) [`cb4c789`](https://github.com/the-guild-org/shared-config/commit/cb4c789053e52d4af6e210fb9c6bed9c710988f2) Thanks [@B2o5T](https://github.com/B2o5T)! - run react rule on js/ts files, since it can be react hook without JSX extension ### Patch Changes - [#122](https://github.com/the-guild-org/shared-config/pull/122) [`cb4c789`](https://github.com/the-guild-org/shared-config/commit/cb4c789053e52d4af6e210fb9c6bed9c710988f2) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`@typescript-eslint/eslint-plugin@^5.45.1` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/5.45.1) (from `^5.42.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^5.45.1` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/5.45.1) (from `^5.42.0`, in `dependencies`) - Updated dependency [`eslint-plugin-n@^15.6.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/15.6.0) (from `^15.4.0`, in `dependencies`) - Updated dependency [`eslint-plugin-unicorn@^45.0.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/45.0.1) (from `^45.0.0`, in `dependencies`) - Added dependency [`eslint-plugin-jsx-a11y@^6.6.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsx-a11y/v/6.6.1) (to `dependencies`) - Added dependency [`eslint-plugin-mdx@^2.0.5` ↗︎](https://www.npmjs.com/package/eslint-plugin-mdx/v/2.0.5) (to `dependencies`) - Added dependency [`eslint-plugin-react@^7.31.11` ↗︎](https://www.npmjs.com/package/eslint-plugin-react/v/7.31.11) (to `dependencies`) - Added dependency [`eslint-plugin-react-hooks@^4.6.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-react-hooks/v/4.6.0) (to `dependencies`) - [#124](https://github.com/the-guild-org/shared-config/pull/124) [`1092362`](https://github.com/the-guild-org/shared-config/commit/1092362499a1462da764d65341b9cc7cc3208b62) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.17.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.17.0) (from `^0.16.0`, in `dependencies`) ## 0.3.1 ### Patch Changes - [#108](https://github.com/the-guild-org/shared-config/pull/108) [`a00a18a`](https://github.com/the-guild-org/shared-config/commit/a00a18ad8af6c988b79208bc6ebc05dd28fd373a) Thanks [@B2o5T](https://github.com/B2o5T)! - config adjustments ## 0.3.0 ### Minor Changes - [#102](https://github.com/the-guild-org/shared-config/pull/102) [`2375767`](https://github.com/the-guild-org/shared-config/commit/237576757b30002fc190f5b0ef397b76443c2fff) Thanks [@B2o5T](https://github.com/B2o5T)! - add mdx/md linting - [#99](https://github.com/the-guild-org/shared-config/pull/99) [`83fd0d8`](https://github.com/the-guild-org/shared-config/commit/83fd0d8636ea2975ead28fa2991e0d72f0d666f2) Thanks [@B2o5T](https://github.com/B2o5T)! - update eslint config, add new rules ### Patch Changes - [#102](https://github.com/the-guild-org/shared-config/pull/102) [`2375767`](https://github.com/the-guild-org/shared-config/commit/237576757b30002fc190f5b0ef397b76443c2fff) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`@rushstack/eslint-patch@^1.2.0` ↗︎](https://www.npmjs.com/package/@rushstack/eslint-patch/v/1.2.0) (from `^1.1.4`, in `dependencies`) - Updated dependency [`@typescript-eslint/eslint-plugin@^5.42.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/5.42.0) (from `^5.36.2`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^5.42.0` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/5.42.0) (from `^5.36.2`, in `dependencies`) - Updated dependency [`eslint-plugin-n@^15.4.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/15.4.0) (from `^15.3.0`, in `dependencies`) - Updated dependency [`eslint-plugin-promise@^6.1.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/6.1.1) (from `^6.0.1`, in `dependencies`) - Updated dependency [`eslint-plugin-unicorn@^44.0.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/44.0.2) (from `^44.0.0`, in `dependencies`) - Added dependency [`eslint-plugin-jsonc@^2.5.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-jsonc/v/2.5.0) (to `dependencies`) - Added dependency [`eslint-plugin-yml@^1.2.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-yml/v/1.2.0) (to `dependencies`) - [#115](https://github.com/the-guild-org/shared-config/pull/115) [`6550d7a`](https://github.com/the-guild-org/shared-config/commit/6550d7a98dce7bb5cd1d7137800ec75c91954a3e) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^45.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/45.0.0) (from `^44.0.2`, in `dependencies`) - [#99](https://github.com/the-guild-org/shared-config/pull/99) [`83fd0d8`](https://github.com/the-guild-org/shared-config/commit/83fd0d8636ea2975ead28fa2991e0d72f0d666f2) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Added dependency [`eslint-plugin-n@^15.3.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-n/v/15.3.0) (to `dependencies`) - Added dependency [`eslint-plugin-simple-import-sort@^8.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-simple-import-sort/v/8.0.0) (to `dependencies`) ## 0.2.0 ### Minor Changes - [#77](https://github.com/the-guild-org/shared-config/pull/77) [`d63132c`](https://github.com/the-guild-org/shared-config/commit/d63132c099aab495caa67b3050557b42a5f1b938) Thanks [@saihaj](https://github.com/saihaj)! - require to have `.js` extensions since when bundling with `bob` we need all the extensions to be explicit. ## 0.1.2 ### Patch Changes - [#63](https://github.com/the-guild-org/shared-config/pull/63) [`6769c59`](https://github.com/the-guild-org/shared-config/commit/6769c596bf13bd1314a4fc12e2dd105de5c82f55) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-unicorn@^44.0.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/44.0.0) (from `^43.0.2`, in `dependencies`) - [#73](https://github.com/the-guild-org/shared-config/pull/73) [`570f65a`](https://github.com/the-guild-org/shared-config/commit/570f65a26e22049abc1a5a27c7f3ccb5f39d8e7a) Thanks [@B2o5T](https://github.com/B2o5T)! - add `package.json` to `exports` field ## 0.1.1 ### Patch Changes - [#68](https://github.com/the-guild-org/shared-config/pull/68) [`97edf94`](https://github.com/the-guild-org/shared-config/commit/97edf94a4b5d77dee80381fe5395d96f5c6db13d) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.16.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/0.16.0) (from `^0.15.0`, in `dependencies`) ## 0.1.0 ### Minor Changes - [#50](https://github.com/the-guild-org/shared-config/pull/50) [`3f642fd`](https://github.com/the-guild-org/shared-config/commit/3f642fd029f946fe3013066b6c1545507ffbeba5) Thanks [@B2o5T](https://github.com/B2o5T)! - update deps ### Patch Changes - [#50](https://github.com/the-guild-org/shared-config/pull/50) [`3f642fd`](https://github.com/the-guild-org/shared-config/commit/3f642fd029f946fe3013066b6c1545507ffbeba5) Thanks [@B2o5T](https://github.com/B2o5T)! - dependencies updates: - Updated dependency [`@rushstack/eslint-patch@^1.1.4` ↗︎](https://www.npmjs.com/package/@rushstack/eslint-patch/v/null) (from `^1.1.3`, in `dependencies`) - Updated dependency [`@typescript-eslint/eslint-plugin@^5.36.2` ↗︎](https://www.npmjs.com/package/@typescript-eslint/eslint-plugin/v/null) (from `^5.23.0`, in `dependencies`) - Updated dependency [`@typescript-eslint/parser@^5.36.2` ↗︎](https://www.npmjs.com/package/@typescript-eslint/parser/v/null) (from `^5.23.0`, in `dependencies`) - Updated dependency [`eslint-plugin-promise@^6.0.1` ↗︎](https://www.npmjs.com/package/eslint-plugin-promise/v/null) (from `^6.0.0`, in `dependencies`) - Updated dependency [`eslint-plugin-unicorn@^43.0.2` ↗︎](https://www.npmjs.com/package/eslint-plugin-unicorn/v/null) (from `^42.0.0`, in `dependencies`) ## 0.0.2 ### Patch Changes - [#26](https://github.com/the-guild-org/shared-config/pull/26) [`d650d86`](https://github.com/the-guild-org/shared-config/commit/d650d86fe164f52b17a0486ab8fcf721b205235e) Thanks [@renovate](https://github.com/apps/renovate)! - dependencies updates: - Updated dependency [`eslint-plugin-sonarjs@^0.15.0` ↗︎](https://www.npmjs.com/package/eslint-plugin-sonarjs/v/^0.15.0) (was `^0.13.0`, in `dependencies`) ## 0.0.1 ### Patch Changes - f86543d: first alpha