Skip to content

Commit

Permalink
feat(linter): apply changes to nuxt
Browse files Browse the repository at this point in the history
  • Loading branch information
meeroslav committed Oct 10, 2023
1 parent 47cc763 commit 789521b
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion packages/nuxt/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@
"tslib": "^2.3.0",
"@nx/devkit": "file:../devkit",
"@nx/js": "file:../js",
"@nx/linter": "file:../linter",
"@nx/eslint": "file:../eslint",
"@nx/vue": "file:../vue",
"@nx/cypress": "file:../cypress",
"@nx/playwright": "file:../playwright",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ exports[`app generated files content - as-provided should configure tsconfig and
}
},
"lint": {
"executor": "@nx/linter:eslint",
"executor": "@nx/eslint:lint",
"outputs": ["{options.outputFile}"],
"options": {
"lintFilePatterns": ["my-app/**/*.{ts,tsx,js,jsx,vue}"]
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/src/generators/application/application.ts
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ import { createTsConfig } from '../../utils/create-ts-config';
import { getRelativePathToRootTsConfig } from '@nx/js';
import { updateGitIgnore } from '../../utils/update-gitignore';
import { addBuildTarget, addServeTarget } from './lib/add-targets';
import { Linter } from '@nx/linter';
import { Linter } from '@nx/eslint';
import { addJest } from '@nx/vue';
import { addE2e } from './lib/add-e2e';
import { nxVersion } from '../../utils/versions';
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/src/generators/application/lib/add-e2e.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
joinPathFragments,
Tree,
} from '@nx/devkit';
import { Linter } from '@nx/linter';
import { Linter } from '@nx/eslint';

import { nxVersion } from '../../../utils/versions';
import { NormalizedSchema } from '../schema';
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/src/generators/application/schema.d.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import type { ProjectNameAndRootFormat } from '@nx/devkit/src/generators/project-name-and-root-utils';
import type { Linter } from '@nx/linter';
import type { Linter } from '@nx/eslint';

export interface Schema {
name: string;
Expand Down
2 changes: 1 addition & 1 deletion packages/nuxt/src/utils/add-linting.ts
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { Tree } from 'nx/src/generators/tree';
import { lintProjectGenerator, Linter } from '@nx/linter';
import { lintProjectGenerator, Linter } from '@nx/eslint';
import { joinPathFragments } from 'nx/src/utils/path';
import {
GeneratorCallback,
Expand Down

0 comments on commit 789521b

Please sign in to comment.