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 🙏

© 2025 – Pkg Stats / Ryan Hefner

@silverchip-labs/eslint-config-phosphor

v1.0.2

Published

eslint-config-phosphor is a custom ESLint configuration package that provides a set of rules and configurations to enforce consistent code style and quality in your TypeScript/React(& Native) projects. It is designed to be flexible, extensible, and highly

Downloads

29

Readme

eslint-config-phosphor

eslint-config-phosphor is a custom ESLint configuration package that provides a set of rules and configurations to enforce consistent code style and quality in your TypeScript/React(& Native) projects. It is designed to be flexible, extensible, and highly customizable, allowing you to tailor the linting rules to suit your specific needs.

Features

Consistent Code Style: eslint-config-phosphor helps maintain a consistent code style across your codebase, ensuring that all team members follow the same conventions and best practices.
Code Quality Assurance: The package includes a set of rules that helps identify potential errors, bugs, and problematic patterns in your code, helping you write higher-quality and more reliable software.
Extensible and Customizable: eslint-config-phosphor provides a solid foundation for linting your code, but it also allows you to customize and extend the rules to fit your project's requirements. You can easily override rules, add your own rules, or include other plugins and shareable configs.

Installation

To start using eslint-config-phosphor, you need to follow these simple steps:

  1. Install the package as a development dependency in your project:

npm install --save-dev eslint-config-phosphor
  1. Create an .eslintrc file in the root of your project or update your existing .eslintrc file.

  2. Extend the eslint-config-phosphor configuration in your .eslintrc file:


{
  "extends": "eslint-config-phosphor"
}
  1. Customize the configuration to meet your project's needs by adding or modifying rules.

Usage

eslint-config-phosphor provides a comprehensive set of linting rules out of the box. However, you can easily override or modify any rule to fit your project's specific requirements. Here are some common scenarios: Extending the Configuration

To extend the default configuration with additional rules or configurations, modify your .eslintrc file:


{
  "extends": [
    "eslint-config-phosphor",
    "plugin:@typescript-eslint/recommended"
  ],
  "rules": {
    // Additional or overridden rules
  }
}

Overriding Rules

To override specific rules provided by eslint-config-phosphor, simply update the rules section in your .eslintrc file:


{
  "extends": "eslint-config-phosphor",
  "rules": {
    "indent": ["error", 4], // Override the indent rule
    // Other rule overrides
  }
}

Adding Custom Rules

eslint-config-phosphor allows you to add your own custom rules or plugins. To add custom rules, first, create a custom plugin or rule file in your project, and then add it to your .eslintrc file:


{
  "extends": "eslint-config-phosphor",
  "plugins": ["my-custom-plugin"],
  "rules": {
    "my-custom-plugin/rule-name": "error"
  }
}

Make sure to install any necessary dependencies for your custom rules or plugins.

Contributing

Contributions are welcome! If you have suggestions, bug reports, or would like to contribute improvements or new features, please open an issue or submit a pull request on the GitHub repository.

Before contributing, please read our Contribution Guidelines for more information on how to get started.

License

eslint-config-phosphor is licensed under the MIT License.