npm package discovery and stats viewer.

Discover Tips

  • General search

    [free text search, go nuts!]

  • Package details

    pkg:[package-name]

  • User packages

    @[username]

Sponsor

Optimize Toolset

I’ve always been into building performant and accessible sites, but lately I’ve been taking it extremely seriously. So much so that I’ve been building a tool to help me optimize and monitor the sites that I build to make sure that I’m making an attempt to offer the best experience to those who visit them. If you’re into performant, accessible and SEO friendly sites, you might like it too! You can check it out at Optimize Toolset.

About

Hi, 👋, I’m Ryan Hefner  and I built this site for me, and you! The goal of this site was to provide an easy way for me to check the stats on my npm packages, both for prioritizing issues and updates, and to give me a little kick in the pants to keep up on stuff.

As I was building it, I realized that I was actually using the tool to build the tool, and figured I might as well put this out there and hopefully others will find it to be a fast and useful way to search and browse npm packages as I have.

If you’re interested in other things I’m working on, follow me on Twitter or check out the open source projects I’ve been publishing on GitHub.

I am also working on a Twitter bot for this site to tweet the most popular, newest, random packages from npm. Please follow that account now and it will start sending out packages soon–ish.

Open Software & Tools

This site wouldn’t be possible without the immense generosity and tireless efforts from the people who make contributions to the world and share their work via open source initiatives. Thank you 🙏

© 2024 – Pkg Stats / Ryan Hefner

@fimbul/circular

v0.0.1

Published

Angular integration of the Fimbullinter project

Downloads

4

Readme

@fimbul/circular

Angular integration of the Fimbullinter project.

Install

npm install --save-dev @fimbul/circular
# or
yarn add -D @fimbul/circular

Linting via Angular CLI

In your angular.json, under projects / <projectName> / architect / lint, replace the existing TSLint builder as follows:

"lint": {
  "builder": "@fimbul/circular:lint",
  "options": {
  }
}

If you now run ng lint [projectName], you are executing Fimbullinter instead of TSLint.

"options" can be used to configure the linter using configuration options of the wotan CLI. For example wotan --cache --config wotan:recommended --fix translates to the following options object:

"options": {
  "cache": true,
  "config": "wotan:recommended",
  "fix": true
}

If you do not explicitly configure the project option, it will automatically use the tsConfig options of that project's build and test targets.

Global default options for all projects

If you find yourself specifying the same options for all projects, consider creating a .fimbullinter.yaml. This file contains default options used for all projects and the wotan CLI (in case you want to use that too). You can still override specific configurations per project using "options" as described above.

Replacing TSLint

As you might know TSLint reached its end of life. Instead of jumping on the typescript-eslint hype-train, consider Fimbullinter as a replacement. Spoiler: Fimbullinter will eventually be able to execute ESLint rules, so you can tap into the vast ecosystem of existing rules while using a linter that is actually intended to work with TypeScript.

The builtin rules provide improved versions of TSLint rules as well as completely new and original ones.

If you still want to use TSLint rules to ease the transition, there are two possibilites:

  • @fimbul/valtyr provides full compatibility with TSLint and your existing tslint.json with almost no setup.
  • @fimbul/heimdall allows using TSLint rules and formatters within Fimbullinter, so you can still use the rules you know and love while getting all the benefits of Fimbullinter's builtin rules.

What's next?

This repository is intended to contain all sorts of Angular-related goodness for Fimbullinter. You can expect the addition of rules and configuration presets in the future.

License

Apache-2.0 © Klaus Meinhardt