diff --git a/e2e/linter/src/linter.test.ts b/e2e/linter/src/linter.test.ts index 222290b9ee..e453449017 100644 --- a/e2e/linter/src/linter.test.ts +++ b/e2e/linter/src/linter.test.ts @@ -79,7 +79,7 @@ describe('Linter', () => { return config; }); expect(() => runCLI(`lint ${myapp} --linter=tslint`)).toThrow( - /"@nrwl\/linter:lint" was deprecated in v10 and is no longer supported\. Update your angular\.json to use "@nrwl\/linter:eslint" builder instead\./ + /"@nrwl\/linter:lint" was deprecated in v10 and is no longer supported\. Update your project configuration to use "@nrwl\/linter:eslint" builder instead\./ ); expect(() => runCLI(`lint ${myapp} --linter=random`)).toThrow( /'random' should be one of eslint,tslint/ diff --git a/packages/linter/src/executors/lint/lint.impl.ts b/packages/linter/src/executors/lint/lint.impl.ts index c0325dffff..c16742548d 100644 --- a/packages/linter/src/executors/lint/lint.impl.ts +++ b/packages/linter/src/executors/lint/lint.impl.ts @@ -5,6 +5,6 @@ export default async function run( _context: ExecutorContext ): Promise { throw new Error( - `"@nrwl/linter:lint" was deprecated in v10 and is no longer supported. Update your angular.json to use "@nrwl/linter:eslint" builder instead.` + `"@nrwl/linter:lint" was deprecated in v10 and is no longer supported. Update your project configuration to use "@nrwl/linter:eslint" builder instead.` ); }