feat(node): switch to TS config for eslint
All checks were successful
Discord / discord commits (push) Has been skipped
All checks were successful
Discord / discord commits (push) Has been skipped
This commit is contained in:
parent
72cdffbedf
commit
a7d8dfbc69
7 changed files with 14 additions and 12 deletions
|
@ -107,6 +107,9 @@ in
|
||||||
workingDirectory = {
|
workingDirectory = {
|
||||||
mode = 'location',
|
mode = 'location',
|
||||||
},
|
},
|
||||||
|
options = {
|
||||||
|
flags = {'unstable_ts_config'},
|
||||||
|
},
|
||||||
},
|
},
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|
|
@ -1,5 +1,3 @@
|
||||||
// TODO: switch to typescript https://github.com/eslint/eslint/pull/18134
|
|
||||||
|
|
||||||
import eslint from '@eslint/js';
|
import eslint from '@eslint/js';
|
||||||
import jsdoc from 'eslint-plugin-jsdoc';
|
import jsdoc from 'eslint-plugin-jsdoc';
|
||||||
import stylistic from '@stylistic/eslint-plugin';
|
import stylistic from '@stylistic/eslint-plugin';
|
BIN
nixosModules/ags/config/package-lock.json
generated
BIN
nixosModules/ags/config/package-lock.json
generated
Binary file not shown.
|
@ -4,14 +4,15 @@
|
||||||
"main": "config.js",
|
"main": "config.js",
|
||||||
"type": "module",
|
"type": "module",
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"fzf": "0.5.2",
|
"@eslint/js": "9.10.0",
|
||||||
"@eslint/js": "9.8.0",
|
"@stylistic/eslint-plugin": "2.8.0",
|
||||||
"@stylistic/eslint-plugin": "2.6.1",
|
|
||||||
"@types/eslint__js": "8.42.3",
|
"@types/eslint__js": "8.42.3",
|
||||||
"@types/node": "22.1.0",
|
"@types/node": "22.5.4",
|
||||||
"eslint": "9.8.0",
|
"eslint": "9.10.0",
|
||||||
"eslint-plugin-jsdoc": "48.11.0",
|
"eslint-plugin-jsdoc": "50.2.2",
|
||||||
"typescript": "5.5.4",
|
"fzf": "0.5.2",
|
||||||
"typescript-eslint": "8.0.1"
|
"jiti": "1.21.6",
|
||||||
|
"typescript": "5.6.2",
|
||||||
|
"typescript-eslint": "8.5.0"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -104,7 +104,7 @@ in {
|
||||||
'';
|
'';
|
||||||
|
|
||||||
"${agsConfigDir}/config/node_modules".source =
|
"${agsConfigDir}/config/node_modules".source =
|
||||||
buildNodeModules ./config "sha256-Jt7HRrQ8xrpkku51zFbJ44IgPaKKXerZBJUyjo5VudQ=";
|
buildNodeModules ./config "sha256-77AvDMxAtEJAFh8euStbTKLOQt6WQdgw+gjFeO5/fOA=";
|
||||||
}
|
}
|
||||||
// (import ./icons.nix {inherit pkgs agsConfigDir;})
|
// (import ./icons.nix {inherit pkgs agsConfigDir;})
|
||||||
);
|
);
|
||||||
|
|
|
@ -1 +0,0 @@
|
||||||
../../../ags/config/eslint.config.js
|
|
1
nixosModules/desktop/manager/ags/eslint.config.ts
Symbolic link
1
nixosModules/desktop/manager/ags/eslint.config.ts
Symbolic link
|
@ -0,0 +1 @@
|
||||||
|
../../../ags/config/eslint.config.ts
|
Loading…
Reference in a new issue