diff --git a/azure-pipelines.yml b/azure-pipelines.yml index 49fef77..d2a1ccb 100644 --- a/azure-pipelines.yml +++ b/azure-pipelines.yml @@ -61,6 +61,10 @@ steps: kill -2 %1 %2 2>/dev/null displayName: 'Test on Node.js 18.x Latest' +- bash: | + pnpm run linter + displayName: 'Run eslint on src' + - publish: $(System.DefaultWorkingDirectory)/dist artifact: svg-layout-designer diff --git a/package.json b/package.json index 1cda99c..9304f23 100644 --- a/package.json +++ b/package.json @@ -8,6 +8,7 @@ "build": "tsc && vite build", "build:dotnet": "dotnet build ./csharp/SVGLDLibs/SVGLDLibs/SVGLDLibs.csproj", "preview": "vite preview", + "linter": "eslint src", "test": "vitest", "test:ui": "vitest --ui", "test:nowatch": "vitest run",