Skip to content
This repository was archived by the owner on Oct 16, 2024. It is now read-only.
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gund/eslint-plugin-deprecation
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v1.5.0
Choose a base ref
...
head repository: gund/eslint-plugin-deprecation
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: cbea43b831770ee5a61159d6a4d8b9d25021cdd2
Choose a head ref
  • 3 commits
  • 10 files changed
  • 3 contributors

Commits on Jul 27, 2023

  1. Copy the full SHA
    df4dc23 View commit details

Commits on Sep 13, 2023

  1. feat: migrate to typescript-eslint/utils 6.x (#71)

    BREAKING CHANGES: Dropped support for ESLint v6 and Typescript v3.7.5, please make sure to use at least ESLint v7 with Typescript v4.2 or downgrade to a previous major version.
    stianjensen authored Sep 13, 2023
    Copy the full SHA
    91db2f8 View commit details
  2. Copy the full SHA
    cbea43b View commit details
Showing with 474 additions and 347 deletions.
  1. +3 −33 .github/workflows/test.yml
  2. +7 −0 CHANGELOG.md
  3. +2 −2 README.md
  4. +428 −302 package-lock.json
  5. +6 −5 package.json
  6. +14 −3 src/rules/deprecation.ts
  7. +3 −2 tests/rules/deprecation.test.ts
  8. +1 −0 tests/tsconfig.test.json
  9. +9 −0 tests/utils/get-rule-tester.ts
  10. +1 −0 tsconfig.json
36 changes: 3 additions & 33 deletions .github/workflows/test.yml
Original file line number Diff line number Diff line change
@@ -47,49 +47,19 @@ jobs:
- name: 'Test with Eslint v7'
cmd: |
npm i eslint@^7 \
@typescript-eslint/parser@^4 \
@typescript-eslint/eslint-plugin@^4
typescript-eslint-utils-5@npm:@typescript-eslint/utils@^5.57.0
cat package-lock.json | grep -A 1 \
-e "\"node_modules/eslint\": {" \
-e "\"node_modules/@typescript-eslint/parser\": {" \
-e "\"node_modules/@typescript-eslint/eslint-plugin\": {"
test: npm run test
build: npm run build
- name: 'Test with Eslint v6'
cmd: |
npm i eslint@^6 \
@typescript-eslint/parser@^3 \
@typescript-eslint/eslint-plugin@^3
cat package-lock.json | grep -A 1 \
-e "\"node_modules/eslint\": {" \
-e "\"node_modules/@typescript-eslint/parser\": {" \
-e "\"node_modules/@typescript-eslint/eslint-plugin\": {"
-e "\"node_modules/typescript-eslint-utils-5\": {" \
test: npm run test
build: npm run build
- name: 'Test with Typescript v4'
cmd: |
npm i typescript@^4
npm i typescript@^4.2
cat package-lock.json | grep -A 1 \
-e "\"node_modules/typescript\": {"
test: npm run test
build: npm run build
- name: 'Test with Typescript v3.7.5'
cmd: |
npm i -D jest@~27.0.0 \
ts-jest@~27.0.0 \
@types/jest@~27.0.0 \
@types/node@^16.0.0 \
@typescript-eslint/eslint-plugin@5.0.0 \
@typescript-eslint/parser@5.0.0 \
eslint@~8.0.0 \
--force
npm i typescript@3.7.5 --force
cat package-lock.json | grep -A 1 \
-e "\"node_modules/typescript\": {" \
-e "\"node_modules/jest\": {" \
-e "\"node_modules/ts-jest\": {"
test: BC_MODE=1 npm run test
build: false
name: '[BC] ${{ matrix.name }}'
steps:
- uses: actions/setup-node@v3
7 changes: 7 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,5 +1,12 @@
# Changelog

# [1.6.0](https://github.com/gund/eslint-plugin-deprecation/compare/v1.5.0...v1.6.0) (2023-09-13)


### Features

* migrate to typescript-eslint/utils 6.x ([#71](https://github.com/gund/eslint-plugin-deprecation/issues/71)) ([91db2f8](https://github.com/gund/eslint-plugin-deprecation/commit/91db2f89f98dafa505bbe96cc835447502c41fc1))

# [1.5.0](https://github.com/gund/eslint-plugin-deprecation/compare/v1.4.1...v1.5.0) (2023-07-27)


4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
@@ -61,7 +61,7 @@ The easiest way to use this plugin is to extend from the `recommended` config, l
}
```

The `recommended` config will enable the plugin and enable the rule with a value of `error`.
The `recommended` config will enable the plugin and enable the `deprecation/deprecation` rule with a value of `error`.

### Manually Enable the Plugin and Rule

@@ -81,4 +81,4 @@ If you don't want to use the `recommended` config for some reason, you can accom

## Credits

This rule was originally ported from [SonarJS repository](https://github.com/SonarSource/SonarJS).
This rule was originally ported from the [SonarJS repository](https://github.com/SonarSource/SonarJS).
Loading