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 🙏

© 2026 – Pkg Stats / Ryan Hefner

@interaktiv/eslint-config-dia

v1.0.0

Published

ESLint shareable config for most sort of projects at DIA

Readme

eslint-config-dia

ESLint > shareable config for most sort of projects at DIA

Commitizen friendly Conventional Commits Code of Conduct semantic-release MIT License

npm latest version npm next version

Table of Contents

Installation

npm install --save-dev @interaktiv/eslint-config-dia

Usage

Once the @interaktiv/eslint-config-dia package is installed, you can use it by specifying @interaktiv/dia in the extends section of your ESLint configuration.

{
  "extends": "@interaktiv/dia",
  "rules": {
    // Additional, per-project rules...
  }
}

Notes

Please note that most of the stylistic rules are disabled cause we are using Prettier to format our code. Therefore the eslint-config-prettier plugin is included.

Our Prettier shareable config can be found here @interaktiv/prettier-config-dia.

Provided configurations

The default config actually is composed of several configurations and you can use those individually. These are the configs it's using:

You can use each of these configs yourself. Also, the es6, import, promise, security configs each have a possible-errors.js, best-practices.js (and stylistic.js) which they are composed of as well.

But not only these, others too, checkout out the source.

Optional configurations

Other configs are exposed also. You can use them standalone:

{
  "extends": "@interaktiv/dia/<config-name>"
}

or in combination with the base config (recommended):

{
  "extends": [
    "@interaktiv/dia",
    "@interaktiv/dia/<config-name>"
  ]
}

for example

{
  "extends": [
    "@interaktiv/dia",
    "@interaktiv/dia/titanium",
    "@interaktiv/dia/jest",
  ]
}

Things to know

  • All plugins needed for rules used by these configs are dependencies of this module so you don't have to install anything on your own.

  • Almost all of the stylistic rules are disabled cause we are using prettier to format our code. To ensure this the eslint-config-prettier is included too.

    Our Prettier shareable config can be found here @interaktiv/prettier-config-dia.

  • The lwc and aura configs disable some import config rules cause there is no lwc module resolver package available at the moment of time.

ESLint Dependencies

Example Implementations

Salesforce Platform Development with LWC and Aura

{
  extends: [
    '@interaktiv/dia',
    '@interaktiv/dia/jest',
    '@interaktiv/dia/salesforce'
  ],
  // Custom rules if needed
  rules: {}
}

Node.js Package / App with Jest

{
  extends: [
    '@interaktiv/dia',
    '@interaktiv/dia/jest'
  ],
  // Custom rules if needed
  rules: {}
}

Appcelerator Titanium Mobile App

{
  extends: [
    '@interaktiv/dia',
    '@interaktiv/dia/titanium'
  ],
  // Custom rules if needed
  rules: {}
}

License

MIT Copyright © 2019-present die.interaktiven GmbH & Co. KG