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

eslint-config-louffee

v2.3.6

Published

The ESLint profile settings used for the projects developed @ Louffee.

Downloads

5

Readme

Louffee ESLint Configuration

A great way to start.

Note: The configuration is based on the ESLint plugin for the IDE or code editor of your choice, and is compatible with the ESLint ecosystem present in the NPM Package of same name.

The configuration assumes that you've got a prettier plugin installed and configured, both in your IDE or code editor, and via your Node Package Manager.

Downloads Gitter

Instead of reinventing the wheel, we know that there are talented people out there who made possible the open source, so we evaluate these people’s work by using its implementations of ESLint. What we mean is, please consider eslint-config-louffee not just as a contribution to the open source, but also a gathering of all the incredible work that is being done by the people who contributed to the open source in the ESLint community and ecosystem.

Packages that we count on

As we said above, we know there are talented people doing their contribution to the community expecting nothing less than a high quality of the configuration. So we separate the packages in the nicest way possible, and we count on the following packages:

  • @typescript-eslint/eslint-plugin to implement the TypeScript ESLint compatibility
  • @typescript-eslint/parser to implement the TypeScript ESLint parser
  • eslint-plugin-compat to warn us about the compatibility across browsers and environments at specific native functions or points of the code we’re writing.
  • eslint-plugin-import to help us organise the import statements.
  • eslint-plugin-jest to handle the linting in test unit files.
  • eslint-plugin-jest-dom to handle the linting in the browser-compatibility tests.
  • eslint-plugin-jsx-a11y to handle the linting of accessibility issues.
  • eslint-plugin-react to handle the linting of React components.
  • eslint-plugin-react-hooks to handle the linting of React hooks.
  • eslint-plugin-react-native to handle the linting of React Native-related features.
  • eslint-plugin-security to handle the linting of security issues.
  • eslint-plugin-storybook to handle the linting of Storybook-related features.
  • eslint-plugin-testing-library to handle the linting of testing-library-related features.
  • eslint-plugin-unicorn to give the linting processes some powers.
  • eslint-plugin-regexp to handle the linting of regular expressions.

Installation

Install the package, follow the instructions according to the package manager of your choice, we ranked the top three most popular ones:

With NPM

npm install --dev eslint-config-louffee @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-compat eslint-plugin-import eslint-plugin-jest eslint-plugin-jest-dom eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-security eslint-plugin-storybook eslint-plugin-testing-library

With Yarn

yarn add -D eslint-config-louffee @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-compat eslint-plugin-import eslint-plugin-jest eslint-plugin-jest-dom eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-security eslint-plugin-storybook eslint-plugin-testing-library

With PNPM

pnpm install --dev eslint-config-louffee @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-compat eslint-plugin-import eslint-plugin-jest eslint-plugin-jest-dom eslint-plugin-jsx-a11y eslint-plugin-react eslint-plugin-react-hooks eslint-plugin-react-native eslint-plugin-security eslint-plugin-storybook eslint-plugin-testing-library

Usage 📖

To use the Louffee’s configuration, create a new file named .eslintrc.js in the root of your project, and add the following content:

module.exports = require('eslint-config-louffee')

(Optional) Also create a .eslintignore file in the root of your project, then add the following line:

.eslintrc.js