Skip to content

Commit

Permalink
Fix eslint regression
Browse files Browse the repository at this point in the history
  • Loading branch information
Bond-009 committed Oct 21, 2024
1 parent aac1fdd commit 8d77554
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
4 changes: 2 additions & 2 deletions dependencies.md
Original file line number Diff line number Diff line change
Expand Up @@ -84,13 +84,13 @@ $ cabal v1-install aeson

| Name | Versions | Installation |
|-------------------------|----------|--------------|
| `eslint` | 8.57 | npm package |
| `eslint` | 9.10 | npm package |
| `abstract-syntax-tree` | 2.22 | npm package |

Install npm packages as follows:

```shell
$ npm install eslint@8.57 [email protected]
$ npm install eslint@9.10 [email protected]
```

## Kotlin
Expand Down
7 changes: 6 additions & 1 deletion flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@
(pkgs.haskell.packages.ghc96.ghcWithPackages (p: [ p.aeson ]))
pkgs.hlint
];
node-deps = [ nodejs_base pkgs.nodePackages.eslint ast ];
node-deps = [ nodejs_base pkgs.eslint ast ];
bash-deps = [ pkgs.shellcheck ];
c-deps = [ pkgs.cppcheck pkgs.gcc13 ];
java-deps = [ pkgs.openjdk21 pkgs.checkstyle ];
Expand Down Expand Up @@ -180,6 +180,11 @@
name = "NODE_PATH";
prefix = "${ast}/lib/node_modules";
}

{
name = "ESLINT_USE_FLAT_CONFIG";
eval = "false";
}
{
name = "NXF_VER";
eval = "${builtins.head (pkgs.lib.splitString "-" pkgs.nextflow.version)}";
Expand Down
2 changes: 1 addition & 1 deletion tested/languages/haskell/linter.py
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ def run_hlint(
config: DodonaConfig, remaining: float
) -> tuple[list[Message], list[AnnotateCode]]:
"""
Calls eslint to annotate submitted source code and adds resulting score and
Calls hlint to annotate submitted source code and adds resulting score and
annotations to tab.
"""
submission = config.source
Expand Down

0 comments on commit 8d77554

Please sign in to comment.