UNPKG

@cruk/eslint-config

Version:

eslint rules for cruk typescript projects

170 lines (91 loc) 3.15 kB
# Changelog All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). ## [6.0.0] - 2026-07-11 ### BREAKING CHANGES - Support for Node 22 dropped - Bumping ESLlint to v10 ## [5.0.0] - 2025-11-27 ### BREAKING CHANGES - Support for Node 20 dropped - Support for Node 24 added ### Removed - Removed rule enforcing type import style ## [4.0.0] - 2025-01-22 ### BREAKING CHANGES - Support for Node 18 dropped - Using ESLint 9 with new flat config files and next import patterns ### Removed - jest linting, not all project use jest - import linting, this seemed to clash when people also used next js linting, easy to add in if need ### Changed bumping eslint plug in and parser to v8 ## [3.1.1] - 2024-09-24 ### Changed bumping eslint plug in and parser to v8 ## [3.1.0] - 2024-09-24 ### Added - Support for node 22 ### Removed - Support for node 16 ### Changed - Making peer dep versions more flexible so people can update them faster ## [3.0.0] - 2024-03-12 ### Added - Reinstating prettier this is best practice, using formatting rules from eslint itself isn't best practice ### Changed - Extending rules from typescript-eslint of airbnb rules. ## [2.3.0] - 2024-02-20 ### Removed - Removed prettier, keeping linting and formatting separate is best practice ## [2.2.0] - 2023-07-10 ### Removed - Removed cypress dependencies as the org is moving to playwright - Removed engine specification on NPM version, it's not needed and causes problems when the latest Node version bumps to a new NPM version not yet listed ### Changed - Changing licence to MIT as requested by legal ## [2.0.0] - 2023-07-10 ### BREAKING CHANGES - Official support for Node 14 dropped - Support for Node 20 added - Prettier bumped to v3 ## [1.0.8] - 2022-11-24 ### Changed - Made peer deps more permissives ## [1.0.7] - 2022-10-10 ### Added - Added check exception to allow arrow functions for React components ## [1.0.6] - 2022-07-08 ### Changed - Added check to validate dependency updates ## [1.0.5] - 2022-04-20 ### Changed - bump eslint to 8 bump other deps accordingly - Update code owners ## [1.0.4] - 2022-02-09 ### Changed - Add npm 8 as a supported engine in package.json - Bump to node 16 ## [1.0.3] - 2021-12-01 ### Changed - Use jest/unbound-method instead of @typescript-eslint/unbound-method for test files - Allow custom util methods named expect\* in jest tests - Allow package to be used with node 16 and npm 7 ### Added - Cypress eslint rules ## [1.0.2] - 2021-10-14 ### Added - code owners ### Changed - Readme added new information for monorepo setups ## [1.0.1] - 2021-09-27 ### Added - changelog file ### Changed - Don't omit cypress folder from linting by default ## [1.0.0] - 2021-09-27 ### Added ### Changed ### Removed ### Fixed