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.

Provide "recommended" and "latest" configurations

See original GitHub issue

Enhancement Request

tslint supports configuration extensions via "extends" json option. This is a very convenient way of reusing configurations and keeping up-to-date with latest linter advancements.

Given the roadmap for codelyzer, it’s obvious that there will be linting rules added in the future. To allow developers take advantage of these, it would be convenient if codelyzer provided a set of preconfigured settings. There’s already a “Recommended Configuration” section in the readme, so why not extract that to a “.json” file?

Given that "extends" option also supports “the name of an NPM module which has a “main” file that exports a config object”, the package.json file could also be modified to export the, say, “recommended” configuration:

  "main": "presets/ng2-recommended.json"

Or, even better, “recommended” and “latest” configurations could be their separate npm packages.

Issue Analytics

  • State:closed
  • Created 7 years ago
  • Reactions:3
  • Comments:5 (1 by maintainers)

github_iconTop GitHub Comments

1reaction
NiKlimenkocommented, Oct 13, 2017

@mgechev any updates about this suggestion?

0reactions
michaeljotacommented, Aug 16, 2018

@mgechev Have you though about this? I think it will be useful to include the recommended rules to be active, and a great way to have the Codelyzer Verify.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Recommended & Minimum Computer Configurations for ...
We support the following minimum computer configurations. Note: The following lists minimum requirements that allow for network connectivity and other basic ...
Read more >
Recommended hardware - Configuration Manager
Clients. This section provides recommended hardware configurations for computers that you manage by using Configuration Manager client software.
Read more >
Recommended Computers and Configurations
These are all tested to perform well with our currently supported Windows, Linux and macOS operating systems. We also provide recommendations for docking ......
Read more >
Recommended Personal Computer Configurations
Following are the computer configurations we recommend for UWSP students. ... A new OS version is typically provided by Apple each year.
Read more >
Evaluating Resources with AWS Config Rules
Use AWS Config to evaluate the configuration settings of your AWS resources. You do this by creating AWS Config rules, which represent your...
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