Skip to content

Commit

Permalink
MI-56: replace @nx/linter by @nx/eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
kai-nguyen-aligent committed Oct 4, 2024
1 parent f9d0995 commit 6877337
Show file tree
Hide file tree
Showing 3 changed files with 71 additions and 102 deletions.
158 changes: 69 additions & 89 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -22,9 +22,9 @@
"@aligent/serverless-conventions": "latest",
"@nx/devkit": "19.8.3",
"@nx/esbuild": "19.8.3",
"@nx/eslint": "^19.8.3",
"@nx/eslint-plugin": "19.8.3",
"@nx/js": "19.8.3",
"@nx/linter": "19.8.3",
"@nx/plugin": "19.8.3",
"@nx/storybook": "19.8.3",
"@nx/vite": "19.8.3",
Expand Down
13 changes: 1 addition & 12 deletions tools/serverless-plugin/src/generators/service/generator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -47,25 +47,14 @@ export async function serviceGenerator(
remove: {
...buildRunCommandConfig('sls remove'),
},
'check-types': {
...buildRunCommandConfig('tsc --noEmit --pretty'),
},
lint: {
executor: '@nx/linter:eslint',
executor: '@nx/eslint:lint',
outputs: ['{options.outputFile}'],
options: {
lintFilePatterns: [projectRoot + '/**/*.ts'],
maxWarnings: 0,
},
},
test: {
executor: '@nx/vite:test',
outputs: ['{options.reportsDirectory}'],
options: {
passWithNoTests: true,
reportsDirectory: `../../coverage/${projectRoot}`,
},
},
},
tags: ['service', type, name],
});
Expand Down

0 comments on commit 6877337

Please sign in to comment.