reenable eslint
This commit is contained in:
parent
f627adc2a7
commit
c3fdbf1658
1 changed files with 25 additions and 25 deletions
50
flake.nix
50
flake.nix
|
|
@ -30,7 +30,6 @@
|
||||||
|
|
||||||
devShells.x86_64-linux = {
|
devShells.x86_64-linux = {
|
||||||
default = with pkgs; mkShell {
|
default = with pkgs; mkShell {
|
||||||
# FIXME "composer lint" only works with PHP 8.2 at the moment
|
|
||||||
nativeBuildInputs = with php84Packages; [
|
nativeBuildInputs = with php84Packages; [
|
||||||
php84
|
php84
|
||||||
composer
|
composer
|
||||||
|
|
@ -43,30 +42,31 @@
|
||||||
npm-check-updates
|
npm-check-updates
|
||||||
licensedigger
|
licensedigger
|
||||||
reuse
|
reuse
|
||||||
#(eslint.overrideAttrs (oldAttrs: rec {
|
# FIXME nextcloud should support latest eslint version
|
||||||
# version = "8.57.0";
|
(eslint.overrideAttrs (oldAttrs: rec {
|
||||||
# src = fetchFromGitHub {
|
version = "8.57.0";
|
||||||
# owner = "eslint";
|
src = fetchFromGitHub {
|
||||||
# repo = "eslint";
|
owner = "eslint";
|
||||||
# rev = "refs/tags/v${version}";
|
repo = "eslint";
|
||||||
# hash = "sha256-nXlS+k8FiN7rbxhMmRPb3OplHpl+8fWdn1nY0cjL75c=";
|
rev = "refs/tags/v${version}";
|
||||||
# };
|
hash = "sha256-nXlS+k8FiN7rbxhMmRPb3OplHpl+8fWdn1nY0cjL75c=";
|
||||||
# postPatch = ''
|
};
|
||||||
# cp ${./package-lock.json} package-lock.json
|
postPatch = ''
|
||||||
# '';
|
cp ${./package-lock.json} package-lock.json
|
||||||
# npmDepsHash = "sha256-DiXgAD0PvIIBxPAsdU8OOJIyvYI0JyPqu6sj7XN94hE=";
|
'';
|
||||||
# npmDeps = pkgs.fetchNpmDeps {
|
npmDepsHash = "sha256-DiXgAD0PvIIBxPAsdU8OOJIyvYI0JyPqu6sj7XN94hE=";
|
||||||
# src = lib.fileset.toSource {
|
npmDeps = pkgs.fetchNpmDeps {
|
||||||
# root = ./.;
|
src = lib.fileset.toSource {
|
||||||
# fileset = lib.fileset.unions [
|
root = ./.;
|
||||||
# ./package-lock.json
|
fileset = lib.fileset.unions [
|
||||||
# ./package.json
|
./package-lock.json
|
||||||
# ];
|
./package.json
|
||||||
# };
|
];
|
||||||
# name = "eslint-${version}-npm-deps";
|
};
|
||||||
# hash = npmDepsHash;
|
name = "eslint-${version}-npm-deps";
|
||||||
# };
|
hash = npmDepsHash;
|
||||||
#}))
|
};
|
||||||
|
}))
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue