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

@nexso/eslint-config

v2.0.2

Published

nexso ESLint configuration based on eslint-config-airbnb-extended with ESLint 9 Flat Config support

Readme

@nexso/eslint-config

A comprehensive ESLint configuration based on eslint-config-airbnb-extended with additional security rules and Nexso customizations. Used in the nexso development (an aPaaS).

Version 2.0+: Now fully compatible with ESLint 9.x using Flat Config format!

  • ✅ ESLint 9.x support with Flat Config
  • ✅ Based on eslint-config-airbnb-extended (maintained AirBnB replacement)
  • ✅ Security rules included
  • ✅ Import/export validation
  • ✅ Node.js 18+ environments
  • ❌ No legacy ESLint 8.x support (use v1.x for legacy)

Features

  • AirBnB Extended: Built on top of eslint-config-airbnb-extended - a modern, maintained replacement for AirBnB configs
  • Security: Built-in security linting with eslint-plugin-security
  • Import Management: Proper import/export validation with eslint-plugin-import-x
  • Modern JavaScript: ES2021+ features supported
  • ESLint 9 Only: Full compatibility with ESLint 9.x Flat Config format

Installation

Install the config and its peer dependencies:

npm i -D @nexso/eslint-config

Usage

ESLint 9.x (Flat Config) - Required

Create a eslint.config.js file with:

import nexso from '@nexso/eslint-config';

export default [
  ...nexso,
  {
    rules: {
      // Override rules if needed
    },
  },
];

Migration from v1.x

If you're upgrading from v1.x, you need to:

  1. Update to ESLint 9.x
  2. Convert your .eslintrc.* to eslint.config.js
  3. Install the new peer dependencies
  4. Update your configuration format

For legacy ESLint 8.x support, continue using @nexso/[email protected].

What's Included

This configuration includes:

Base Rules

  • All rules from eslint-config-airbnb-extended
  • JavaScript recommended rules from @eslint/js

Security Rules

  • eslint-plugin-security for security-related linting

Custom nexso Rules

  • import-x/extensions: Enforces file extensions in imports (Node.js ES modules)
  • no-restricted-syntax: Prevents for...in loops, labels, and with statements
  • max-len: 100 characters with comment exception
  • function-paren-newline: Consistent parameter formatting
  • no-underscore-dangle: Allows _id for MongoDB compatibility

Requirements

  • Node.js 18.18.0+ or 20.9.0+ or 21.1.0+
  • ESLint 9.30.1+
  • eslint-plugin-import-x 4.16.1+

Contributing

This package is used internally by nexso. Issues and pull requests are welcome.

Version History

See CHANGELOG

License

Apache-2.0