Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ESLint failing on fresh package #1187

Open
mohsen1 opened this issue Apr 25, 2024 · 0 comments
Open

ESLint failing on fresh package #1187

mohsen1 opened this issue Apr 25, 2024 · 0 comments

Comments

@mohsen1
Copy link

mohsen1 commented Apr 25, 2024

Current Behavior

On a new package with no changes when running Lint:

yarn lint                                                  (base) 1288ms
yarn run v1.22.21
$ tsdx lint
Defaulting to "tsdx lint src test" 
You can override this in the package.json scripts, like "lint": "tsdx lint src otherDir"

/Users/mohsen_azimi/Desktop/test-test/src/index.ts
  0:0  error  Parsing error: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead

/Users/mohsen_azimi/Desktop/test-test/test/blah.test.ts
  0:0  error  Parsing error: DeprecationError: 'originalKeywordKind' has been deprecated since v5.0.0 and can no longer be used. Use 'identifierToKeywordKind(identifier)' instead

✖ 2 problems (2 errors, 0 warnings)

Expected behavior

No lint error

Suggested solution(s)

Fix dependencies

Additional context

Your environment


  System:
    OS: macOS 14.4.1
    CPU: (10) arm64 Apple M1 Max
    Memory: 325.45 MB / 32.00 GB
    Shell: 5.9 - /bin/zsh
  Binaries:
    Node: 18.20.2 - ~/.volta/tools/image/node/18.20.2/bin/node
    Yarn: 1.22.21 - ~/.volta/tools/image/yarn/1.22.21/bin/yarn
    npm: 10.5.0 - ~/.volta/tools/image/node/18.20.2/bin/npm
    pnpm: 8.11.0 - ~/.volta/bin/pnpm
    bun: 0.1.1 - ~/.bun/bin/bun
    Watchman: 2024.01.22.00 - /opt/homebrew/bin/watchman
  Browsers:
    Chrome: 124.0.6367.79
    Edge: 124.0.2478.51
    Safari: 17.4.1
  npmPackages:
    tsdx: ^0.14.1 => 0.14.1 
    typescript: ^5.4.5 => 5.4.5 
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant