We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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 version: N/A @eslint/css version: 0.4.0 Node version: v22.14.0 LTS Deno version: 2.2.1 Operating System: Ubuntu 24.04.2 LTS
0.4.0
v22.14.0
2.2.1
24.04.2
N/A
npm install -g deno cd $(mktemp -d) deno add @eslint/css
The README > Installation instructions should lead to a successful installation under Deno.
Error message:
deno add @eslint/css Created deno.json configuration file. error: @eslint/css is missing a prefix. Did you mean `deno add jsr:@eslint/css`?
See above
Probably the README > Installation is incorrect and the command should be:
deno add npm:@eslint/css
however this is also not successful. It results in:
$ deno add npm:@eslint/css Add npm:@eslint/[email protected] error: Error in @eslint/[email protected] parsing version requirement for dependency "@types/css-tree": "file:./typings/css-tree" Caused by: 0: Invalid version requirement 1: Unexpected character. file:./typings/css-tree ~
Installing an earlier release is successful:
deno add npm:@eslint/[email protected]
The text was updated successfully, but these errors were encountered:
We do also publish to JSR, so not sure whether the advice should be to install from npm or JSR at this point. Probably JSR?
Sorry, something went wrong.
@nzakas
Probably you are right.
I notice though that https://eslint.org/docs/latest/use/getting-started does not list instructions for installing eslint and @eslint/js with Deno. The same for https://eslint.org/docs/latest/use/command-line-interface which does not cover how to run ESLint under Deno.
eslint
@eslint/js
I have never used Deno before, so I wouldn't be the right person to be filling in these documentation gaps.
with Deno 2.2.2 on Ubuntu 24.04.2 LTS
2.2.2
jsr
npm
so it looks like jsr would be the better recommendation:
$ deno add jsr:@eslint/css Created deno.json configuration file. Add jsr:@eslint/[email protected]
$ deno add npm:@eslint/css Created deno.json configuration file. Add npm:@eslint/[email protected] error: Error in @eslint/[email protected] parsing version requirement for dependency "@types/css-tree": "file:./typings/css-tree" Caused by: 0: Invalid version requirement 1: Unexpected character. file:./typings/css-tree ~
No branches or pull requests
Environment
ESLint version: N/A
@eslint/css version:
0.4.0
Node version:
v22.14.0
LTSDeno version:
2.2.1
Operating System: Ubuntu
24.04.2
LTSWhich language are you using?
N/A
What did you do?
What did you expect to happen?
The README > Installation instructions should lead to a successful installation under Deno.
What actually happened?
Error message:
Link to Minimal Reproducible Example
See above
Participation
Additional comments
Probably the README > Installation is incorrect and the command should be:
however this is also not successful. It results in:
Installing an earlier release is successful:
Related
The text was updated successfully, but these errors were encountered: