question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

eslint missing in angular apps

See original GitHub issue

Please make sure you have read the submission guidelines before posting an issue

Prerequisites

Please answer the following questions for yourself before submitting an issue. YOU MAY DELETE THE PREREQUISITES SECTION.

  • I am running the latest version
  • I checked the documentation and found no answer
  • I checked to make sure that this issue has not already been filed
  • I’m reporting the issue to the correct repository (not related to Angular, AngularCLI or any dependency)

Expected Behavior

Create angular apps using eslint should be possible

Current Behavior

Can’t create a angular app using eslint as linter

Failure Information (for bugs)

Cannot parse arguments. See below for the reasons.
    Argument --linter could not be parsed using value "eslint". Valid values are: "tslint".

Process failed 🐳

Steps to Reproduce

Run ng generate @nrwl/angular:application console --linter=eslint --dry-run --no-interactive

Context

Please provide any relevant information about your setup:

  • version of Nx used: 8.4.6

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Reactions:10
  • Comments:13 (5 by maintainers)

github_iconTop GitHub Comments

12reactions
asherccohencommented, Sep 22, 2020

Hey guys, any news on migrating from tslint to eslint?

3reactions
offworkcommented, Jul 9, 2020

Unfortunately, Angular is trapped in his own shell. The angular team should make CLI freer as soon as possible. To me, a CLI task should be limited. It is a nightmare to constantly consider the compatibility problem of the packages that CLI is dependent on. CLI is betraying its developers by taking responsibility for the lint and test process.

Read more comments on GitHub >

github_iconTop Results From Across the Web

eslint angular - cant find .eslintrc - Stack Overflow
Ok found the missing piece I had to run this command npm install --save-dev eslint-plugin-angular. I then can see an eslint.rs.json file, ...
Read more >
Migrating and configuring Eslint with Angular 11
In this post we will walk through migrating and configuring an Angular 11 project to utilize ESLint and as a bonus add the...
Read more >
@angular-eslint/eslint-plugin - npm package | Snyk
ESLint plugin for Angular applications, following angular.io/styleguide For more ... Looks like @angular-eslint/eslint-plugin is missing a security policy.
Read more >
Angular compiler options
When you use ahead-of-time compilation (AOT), you can control how your application is compiled by specifying template compiler options in the TypeScript ...
Read more >
Rules - ESLint - Pluggable JavaScript Linter
Rules in ESLint are grouped by type to help you understand their purpose. Each rule has emojis denoting: ✓ Recommended. The "extends": "eslint:recommended" ......
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found