feat(node): switch to TS config for eslint
All checks were successful
Discord / discord commits (push) Has been skipped

This commit is contained in:
matt1432 2024-09-12 10:42:35 -04:00
parent 72cdffbedf
commit a7d8dfbc69
7 changed files with 14 additions and 12 deletions

View file

@ -107,6 +107,9 @@ in
workingDirectory = {
mode = 'location',
},
options = {
flags = {'unstable_ts_config'},
},
},
});

View file

@ -1,5 +1,3 @@
// TODO: switch to typescript https://github.com/eslint/eslint/pull/18134
import eslint from '@eslint/js';
import jsdoc from 'eslint-plugin-jsdoc';
import stylistic from '@stylistic/eslint-plugin';

Binary file not shown.

View file

@ -4,14 +4,15 @@
"main": "config.js",
"type": "module",
"dependencies": {
"fzf": "0.5.2",
"@eslint/js": "9.8.0",
"@stylistic/eslint-plugin": "2.6.1",
"@eslint/js": "9.10.0",
"@stylistic/eslint-plugin": "2.8.0",
"@types/eslint__js": "8.42.3",
"@types/node": "22.1.0",
"eslint": "9.8.0",
"eslint-plugin-jsdoc": "48.11.0",
"typescript": "5.5.4",
"typescript-eslint": "8.0.1"
"@types/node": "22.5.4",
"eslint": "9.10.0",
"eslint-plugin-jsdoc": "50.2.2",
"fzf": "0.5.2",
"jiti": "1.21.6",
"typescript": "5.6.2",
"typescript-eslint": "8.5.0"
}
}

View file

@ -104,7 +104,7 @@ in {
'';
"${agsConfigDir}/config/node_modules".source =
buildNodeModules ./config "sha256-Jt7HRrQ8xrpkku51zFbJ44IgPaKKXerZBJUyjo5VudQ=";
buildNodeModules ./config "sha256-77AvDMxAtEJAFh8euStbTKLOQt6WQdgw+gjFeO5/fOA=";
}
// (import ./icons.nix {inherit pkgs agsConfigDir;})
);

View file

@ -1 +0,0 @@
../../../ags/config/eslint.config.js

View file

@ -0,0 +1 @@
../../../ags/config/eslint.config.ts