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

ee-eslint-plugin

v1.0.1

Published

EE custom rules

Downloads

8

Readme

EE ESLINT PLUGIN

The EE ESLint plugin is a collection of ESLint rules that enforce the EE coding standards. The plugin is used to ensure that the codebase is consistent and follows the coding standards. The plugin is used in conjunction with ESLint to lint the codebase and enforce the coding standards.

NOTE

THIS PLUGIN IS STILL IN DEVELOPMENT AND NOT READY FOR USE

Features

The EE ESLint plugin provides the following features:

  • A set of rules that enforce the EE coding standards
  • Rules that cover best practices, stylistic issues, ECMAScript 6, variables, Node.js and CommonJS, possible errors, and strict mode

Installation

To install the EE ESLint plugin, follow these steps:

  1. Install ESLint if you haven't already installed it. You can install ESLint using npm or yarn:
npm install eslint --save-dev
  1. Install the EE ESLint plugin using npm or yarn:
npm install ee-eslint-plugin --save-dev
  1. Create an ESLint configuration file (.eslintrc.js) in the root of your project and add the following configuration:
module.exports = {
  plugins: ['@eagleeye'],
  extends: ['plugin:@eagleeye/recommended'],
};
  1. Run ESLint to lint your codebase:
npx eslint .

Usage

The EE ESLint plugin provides a set of rules that enforce the EE coding standards. The rules are categorized into the following categories:

  • Best Practices
  • Stylistic Issues
  • ECMAScript 6
  • Variables
  • Node.js and CommonJS
  • Possible Errors
  • Strict Mode

TESTING THE PLUGIN LOCALLY To test the plugin locally, follow these steps:

  1. Clone the repository:
git clone
  1. Install the dependencies:
npm install

EE DEVELOPMENT

To develop the EE ESLint plugin, follow these steps:

Follow the steps above to install the plugin locally. Once you have installed the plugin, you can make changes to the rules in the lib/rules directory. Run the tests to ensure that the changes are working as expected. Once you are happy with the changes, you can publish the new version of the plugin to npm.

Run the tests before publishing:

npm link

then from the dashboard-ui directory run:

npm link ee-eslint-plugin

finally, Run the tests:

npm test

This will make the plugin available globally on your system. You can then use the plugin in your projects by running npx eslint . in the root of your project.

Contributing

If you would like to contribute to the EE ESLint plugin, please follow these steps:

  1. Fork the repository
  2. Create a new branch
  3. Make your changes
  4. Run the tests
  5. Create a pull request
  6. Wait for feedback
  7. Merge the pull request
  8. Celebrate your contribution
  9. Update the README.md with the new features
  10. Update the CHANGELOG.md with the new features
  11. Update the package.json with the new version number
  12. Publish the new version to npm
  13. Update the documentation with the new features
  14. Update the tests with the new features
  15. Update the examples with the new features