eslint-config-amex
Version:
American Express' ESLint config
286 lines (136 loc) • 15 kB
Markdown
## [16.6.1](https://github.com/americanexpress/eslint-config-amex/compare/v16.6.0...v16.6.1) (2025-01-10)
### Bug Fixes
* **deps:** use semver for @babel/eslint-parser ([#140](https://github.com/americanexpress/eslint-config-amex/issues/140)) ([af799e2](https://github.com/americanexpress/eslint-config-amex/commit/af799e2d6cf7537237fa6f5f5183a3d9a97142a1))
# [16.6.0](https://github.com/americanexpress/eslint-config-amex/compare/v16.5.0...v16.6.0) (2025-01-10)
### Features
* **deps:** support latest eslint-plugin-jest and eslint-plugin-jest-dom ([#133](https://github.com/americanexpress/eslint-config-amex/issues/133)) ([09fd81a](https://github.com/americanexpress/eslint-config-amex/commit/09fd81af597a45feceaad34e679a114eddb0cf93))
# [16.5.0](https://github.com/americanexpress/eslint-config-amex/compare/v16.4.0...v16.5.0) (2025-01-08)
### Features
* support mocks dir as dev directory ([0482401](https://github.com/americanexpress/eslint-config-amex/commit/04824018f5df261843bea50d54c0f3a051109371))
# [16.4.0](https://github.com/americanexpress/eslint-config-amex/compare/v16.3.0...v16.4.0) (2024-11-15)
### Features
* support typescript extensions ([#131](https://github.com/americanexpress/eslint-config-amex/issues/131)) ([733c090](https://github.com/americanexpress/eslint-config-amex/commit/733c090cbdf7d7230307a1daa4d5e7b60b205456))
# [16.3.0](https://github.com/americanexpress/eslint-config-amex/compare/v16.2.0...v16.3.0) (2024-11-15)
### Features
* treat vite config files as dev files ([#130](https://github.com/americanexpress/eslint-config-amex/issues/130)) ([ef8c6ab](https://github.com/americanexpress/eslint-config-amex/commit/ef8c6abde9751c026c490212fba5c89e5b2a3c01))
# [16.2.0](https://github.com/americanexpress/eslint-config-amex/compare/v16.1.0...v16.2.0) (2024-10-23)
### Features
* don't require descriptions for eslint-enable comments ([#128](https://github.com/americanexpress/eslint-config-amex/issues/128)) ([0f1ea18](https://github.com/americanexpress/eslint-config-amex/commit/0f1ea186781964cf3ffbf4c3e4769ffd0f496606))
# [16.1.0](https://github.com/americanexpress/eslint-config-amex/compare/v16.0.0...v16.1.0) (2024-03-26)
### Features
* **dependencies:** add support for prettier 3 ([#126](https://github.com/americanexpress/eslint-config-amex/issues/126)) ([cfa4df3](https://github.com/americanexpress/eslint-config-amex/commit/cfa4df391db83a69db64dd5eda02bcebec407547))
# [16.0.0](https://github.com/americanexpress/eslint-config-amex/compare/v15.3.2...v16.0.0) (2023-06-15)
### Features
* **dependencies:** update plugins and remove eslint@7 support ([#121](https://github.com/americanexpress/eslint-config-amex/issues/121)) ([85cae7e](https://github.com/americanexpress/eslint-config-amex/commit/85cae7eb2decba0c30b02dfaf4823839b9426c89))
### BREAKING CHANGES
* **dependencies:** Require minimum of eslint 8 and node 16 required to fix bug in node 18
* **dependencies:** eslint-config-prettier All configs merged into prettier
* **dependencies:** esling-plugin-prettier Drop support for eslint 5/6, prettier 1, node 6/8
## [15.3.2](https://github.com/americanexpress/eslint-config-amex/compare/v15.3.1...v15.3.2) (2023-04-17)
### Bug Fixes
* **peerDeps:** allow typescript 5 ([#119](https://github.com/americanexpress/eslint-config-amex/issues/119)) ([42bdf3e](https://github.com/americanexpress/eslint-config-amex/commit/42bdf3e7bc62ab7b2f44649a9c0a4f0e701df5d1))
## [15.3.1](https://github.com/americanexpress/eslint-config-amex/compare/v15.3.0...v15.3.1) (2022-09-05)
### Bug Fixes
* **eslint-plugin-jest:** allow 27.x peer dep ([#113](https://github.com/americanexpress/eslint-config-amex/issues/113)) ([e8624b0](https://github.com/americanexpress/eslint-config-amex/commit/e8624b0f8c06544633f0229ae7598ae878b364f2))
# [15.3.0](https://github.com/americanexpress/eslint-config-amex/compare/v15.2.1...v15.3.0) (2022-05-26)
### Features
* **deps:** update Jest to v28 ([#107](https://github.com/americanexpress/eslint-config-amex/issues/107)) ([82e87e4](https://github.com/americanexpress/eslint-config-amex/commit/82e87e439b61a859fbfc894d1c4d5ec6643b5849))
## [15.2.1](https://github.com/americanexpress/eslint-config-amex/compare/v15.2.0...v15.2.1) (2022-05-11)
### Bug Fixes
* **peerDeps:** widen semver ranges of ESLint plugins for Jest ([#106](https://github.com/americanexpress/eslint-config-amex/issues/106)) ([71dde2e](https://github.com/americanexpress/eslint-config-amex/commit/71dde2ef378e35fcbde1595e4dad8a6f141356f8))
# [15.2.0](https://github.com/americanexpress/eslint-config-amex/compare/v15.1.0...v15.2.0) (2022-04-13)
### Features
* **max-len:** ignore described eslint ignores ([#104](https://github.com/americanexpress/eslint-config-amex/issues/104)) ([283f68e](https://github.com/americanexpress/eslint-config-amex/commit/283f68e548f987916785f0135f60a1ee6516291a))
# [15.1.0](https://github.com/americanexpress/eslint-config-amex/compare/v15.0.3...v15.1.0) (2022-02-15)
### Features
* add support for ESLint v8 ([#97](https://github.com/americanexpress/eslint-config-amex/issues/97)) ([be60e2d](https://github.com/americanexpress/eslint-config-amex/commit/be60e2d688184aaacaa4a3c33346e0e18c3bcd99))
## [15.0.3](https://github.com/americanexpress/eslint-config-amex/compare/v15.0.2...v15.0.3) (2022-02-14)
### Bug Fixes
* update link to remove non-inclusive term ([#98](https://github.com/americanexpress/eslint-config-amex/issues/98)) ([86e85cd](https://github.com/americanexpress/eslint-config-amex/commit/86e85cd4c5deece1e47df8d16421312afdd5dc06))
## [15.0.2](https://github.com/americanexpress/eslint-config-amex/compare/v15.0.1...v15.0.2) (2022-01-14)
### Bug Fixes
* **eslint-plugin-prettier:** peer version ([#92](https://github.com/americanexpress/eslint-config-amex/issues/92)) ([ef06bd0](https://github.com/americanexpress/eslint-config-amex/commit/ef06bd072e128c5ff24ff28162b2c75924677345))
## [15.0.1](https://github.com/americanexpress/eslint-config-amex/compare/v15.0.0...v15.0.1) (2021-11-19)
### Bug Fixes
* **typescript:** peer dep conflict ([1793a26](https://github.com/americanexpress/eslint-config-amex/commit/1793a265691d3b86b0436ec7646a137df71531d7))
# [15.0.0](https://github.com/americanexpress/eslint-config-amex/compare/v14.2.1...v15.0.0) (2021-10-01)
### chore
* **relese:** 15.x ([366da96](https://github.com/americanexpress/eslint-config-amex/commit/366da962e7762cd8654b38060b8a8436af32854b)), closes [#80](https://github.com/americanexpress/eslint-config-amex/issues/80)
### BREAKING CHANGES
* **relese:** Node v10 has reached end-of-life and is no longer supported.
* feat(eslint-comments): aid maintainability of eslint directives
* **relese:** 7 new rules added as errors
* fix(index): move eslint-disable directive and pair it
* feat(ally): disallow nesting of controls in labels
* feat(unicorn): upgrade eslint-plugin-unicorn from 23.0.0 to 36.0.0
## [14.2.1](https://github.com/americanexpress/eslint-config-amex/compare/v14.2.0...v14.2.1) (2021-05-26)
### Bug Fixes
* **index:** switch inclusive language to warning ([#77](https://github.com/americanexpress/eslint-config-amex/issues/77)) ([b76f28d](https://github.com/americanexpress/eslint-config-amex/commit/b76f28d6d64ac904598b1e55dd35236a12e55068))
# [14.2.0](https://github.com/americanexpress/eslint-config-amex/compare/v14.1.1...v14.2.0) (2021-05-25)
### Features
* **eslint:** add inclusive-language rule ([#71](https://github.com/americanexpress/eslint-config-amex/issues/71)) ([5a1cf81](https://github.com/americanexpress/eslint-config-amex/commit/5a1cf811f9526714b4bc50f462d51e810c15c450))
## [14.1.1](https://github.com/americanexpress/eslint-config-amex/compare/v14.1.0...v14.1.1) (2021-04-23)
### Bug Fixes
* **comments:** link to tagged releases instead of master ([#70](https://github.com/americanexpress/eslint-config-amex/issues/70)) ([e997489](https://github.com/americanexpress/eslint-config-amex/commit/e9974894fdb3efd4b31bafdb5ed2ef1ae2718c61))
# [14.1.0](https://github.com/americanexpress/eslint-config-amex/compare/v14.0.0...v14.1.0) (2021-03-16)
### Features
* **react/boolean-prop-naming:** extend to allow 'should' in boolean names ([#67](https://github.com/americanexpress/eslint-config-amex/issues/67)) ([6787d35](https://github.com/americanexpress/eslint-config-amex/commit/6787d3592853063c3c1912aab459f5b6077abc62))
# [14.0.0](https://github.com/americanexpress/eslint-config-amex/compare/v13.1.0...v14.0.0) (2021-03-03)
### Features
* fix the peer dep test; update all deps to latest ([51d1864](https://github.com/americanexpress/eslint-config-amex/commit/51d18646c8eb49cb4752233dbea8ac41beac75f8))
* move optional tools and plugins to optional peerDependencies ([4aebd5e](https://github.com/americanexpress/eslint-config-amex/commit/4aebd5eb8260e7eaf7adf5eb000f29f8c3e72654))
### BREAKING CHANGES
* Moved TypeScript and Prettier dependencies to peer
dependencies and made them optional. Consumers of this package must
install them separately. Moved ESLint plugins required by `amex/test`
and `amex/prettier/*` to become optional peer dependencies.
* - Several ESLint plugins received major updates.
- ESLint versions below v7.15.0 are no longer supported.
* - Several ESLint plugins received major updates.
- ESLint versions below v7.15.0 are no longer supported.
# [13.1.0](https://github.com/americanexpress/eslint-config-amex/compare/v13.0.0...v13.1.0) (2020-08-18)
### Features
* **unicorn/prefer-includes:** disable ([#50](https://github.com/americanexpress/eslint-config-amex/issues/50)) ([d526530](https://github.com/americanexpress/eslint-config-amex/commit/d526530ba525d8174f7fab4f3d274f38d423d0de))
# [13.0.0](https://github.com/americanexpress/eslint-config-amex/compare/v12.2.0...v13.0.0) (2020-07-16)
### Bug Fixes
* **eslint:** disable prevent abbreviations ([#33](https://github.com/americanexpress/eslint-config-amex/issues/33)) ([6647bef](https://github.com/americanexpress/eslint-config-amex/commit/6647bef8268ad912102757bf428f63167fc3464e))
### Features
* **eslint:** configuration ([#30](https://github.com/americanexpress/eslint-config-amex/issues/30)) ([6229d4a](https://github.com/americanexpress/eslint-config-amex/commit/6229d4ac96badf1d4b487b7e5a5b6b58341e8567))
* **eslint:** disable function scoping ([#35](https://github.com/americanexpress/eslint-config-amex/issues/35)) ([0a0c5bb](https://github.com/americanexpress/eslint-config-amex/commit/0a0c5bbccd87b615367093baa9cc70b26588609a))
* **eslint:** disable prefer default export ([#26](https://github.com/americanexpress/eslint-config-amex/issues/26)) ([45b88d3](https://github.com/americanexpress/eslint-config-amex/commit/45b88d38a86c456080c116c52d6989e68a2051cf))
* **eslint:** enable jest rules ([#29](https://github.com/americanexpress/eslint-config-amex/issues/29)) ([846bbf7](https://github.com/americanexpress/eslint-config-amex/commit/846bbf74a961db89dc8fc01a26091b4ad4845279))
* **eslint:** react/jsx quality of life rules ([#24](https://github.com/americanexpress/eslint-config-amex/issues/24)) ([facff92](https://github.com/americanexpress/eslint-config-amex/commit/facff92f00dca9a448ecec4c4769b1276ff73c55))
* **js:** additional js rules ([58df834](https://github.com/americanexpress/eslint-config-amex/commit/58df83406d01a391ae0b8e3f3ba98b99df68e9d9))
* **prettier:** add ([#45](https://github.com/americanexpress/eslint-config-amex/issues/45)) ([00cecaf](https://github.com/americanexpress/eslint-config-amex/commit/00cecafde5421f14db228f95eab7a9fb6985ba23))
* **unicorn:** update and seperate rules ([#43](https://github.com/americanexpress/eslint-config-amex/issues/43)) ([940eb66](https://github.com/americanexpress/eslint-config-amex/commit/940eb66bbf6d0e08d40a09b6c735f3c21c086f35))
* **unicorn/consistent-function-scoping:** disable ([#42](https://github.com/americanexpress/eslint-config-amex/issues/42)) ([54dd5a3](https://github.com/americanexpress/eslint-config-amex/commit/54dd5a3f8bb818db044b46cf5a43e6bbb1513b7c))
### BREAKING CHANGES
* **unicorn:** major update to unicorn
* **js:** no-lonely-if errors
* **js:** no-return-assign, errors
* **js:** prefer-object-spread, errors
* **js:** no-bitwise, errors
# [12.2.0](https://github.com/americanexpress/eslint-config-amex/compare/v12.1.0...v12.2.0) (2020-06-06)
### Features
* **eslint:** array includes is acceptable ([#34](https://github.com/americanexpress/eslint-config-amex/issues/34)) ([bdf92f1](https://github.com/americanexpress/eslint-config-amex/commit/bdf92f189a85521dd4a9d2eb869fed73ace37542))
# [12.1.0](https://github.com/americanexpress/eslint-config-amex/compare/v12.0.3...v12.1.0) (2020-06-05)
### Features
* **eslint:** spaced comment warn instead of error ([#37](https://github.com/americanexpress/eslint-config-amex/issues/37)) ([51c539d](https://github.com/americanexpress/eslint-config-amex/commit/51c539d56c23360ba5349fd56ad00fcb33ccb4ad))
## [12.0.3](https://github.com/americanexpress/eslint-config-amex/compare/v12.0.2...v12.0.3) (2020-06-02)
### Bug Fixes
* **eslint:** disable airbnb default props rules ([#27](https://github.com/americanexpress/eslint-config-amex/issues/27)) ([70936b8](https://github.com/americanexpress/eslint-config-amex/commit/70936b839e0c5779719e4436e4c1f431d1d01a48))
## [12.0.2](https://github.com/americanexpress/eslint-config-amex/compare/v12.0.1...v12.0.2) (2020-05-11)
### Bug Fixes
* **eslint:** react requires use of null ([#32](https://github.com/americanexpress/eslint-config-amex/issues/32)) ([bdf6800](https://github.com/americanexpress/eslint-config-amex/commit/bdf680074530eb4f1ae451f9ff57f1517adab44b))
## [12.0.1](https://github.com/americanexpress/eslint-config-amex/compare/v12.0.0...v12.0.1) (2020-05-07)
### Bug Fixes
* **eslint:** boolean prop naming ([#23](https://github.com/americanexpress/eslint-config-amex/issues/23)) ([a1f672c](https://github.com/americanexpress/eslint-config-amex/commit/a1f672cfc71c91385efcf88783f63f1d5a272a2e))
# [12.0.0](https://github.com/americanexpress/eslint-config-amex/compare/v11.2.0...v12.0.0) (2020-03-30)
### Features
* **deps:** update dependencies to latest version ([#16](https://github.com/americanexpress/eslint-config-amex/issues/16)) ([27ad145](https://github.com/americanexpress/eslint-config-amex/commit/27ad145bfbe85006c4a9742a3d9123e77894db0a))
### BREAKING CHANGES
* **deps:** Updates deps major versions
# [11.2.0](https://github.com/americanexpress/eslint-config-amex/compare/v11.1.0...v11.2.0) (2020-02-07)
### Features
* **index:** disable jsx-one-expression-per-line ([#8](https://github.com/americanexpress/eslint-config-amex/issues/8)) ([68e6d48](https://github.com/americanexpress/eslint-config-amex/commit/68e6d483b7c776cdd391584fceb16db2bf152579))
* **rules:** no-extra-parens ([#9](https://github.com/americanexpress/eslint-config-amex/issues/9)) ([a3afc72](https://github.com/americanexpress/eslint-config-amex/commit/a3afc72be9662aba04bda7a1854fd0a9268a658e))