Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-welly

Package Overview
Dependencies
Maintainers
1
Versions
83
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-welly

ESLint configuration for React projects that I do. Feel free to use this!

  • 1.11.0
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
1.1K
increased by619.33%
Maintainers
1
Weekly downloads
 
Created
Source

ESLINT-CONFIG-WELLY

ESlint configuration for my personal React projects, which integrates TypeScript and many awesome features.

build status npm version npm downloads npm downloads dependencies status devDependencies status All Contributors PRs welcome Twitter URL

Installation

This package is distributed via npm. It requires eslint and typescript.

Install the correct version of each package, which are listed by the command:

npm info "eslint-config-welly@latest" peerDependencies

If using npm 5+, use this shortcut:

npx install-peerdeps --dev eslint-config-welly

Or install each package by yourself:

npm install --save-dev eslint-config-welly eslint@^x.x.x typescript@^x.x.x
# or
yarn add --dev eslint-config-welly eslint@^x.x.x typescript@^x.x.x

Usage

Add the extends to your .eslintrc.js:

module.exports = {
  extends: "welly",
  rules: {
    // your overrides
  },
};

Eliminate Prettier Conflicts for You

Prettier is a great code formatter, I highly recommend you guys give it a try. This package built-ins the eslint-config-prettier for you, all you need to do is setup the Prettier CLI to use it.

// package.json

"format": "prettier --check ."
// or
"format": "prettier --write ."

What's Inside?

This configuration contains the following cool packages.

PackageDescriptionNote
typescript-eslintMonorepo for all the tooling which enables ESLint to support TypeScript.
eslint-config-airbnbThis package provides Airbnb's .eslintrc as an extensible shared config.
eslint-plugin-reactReact specific linting rules for ESLint.
eslint-plugin-react-hooksThis ESLint plugin enforces the Rules of Hooks.
eslint-plugin-importESLint plugin with rules that help validate proper imports.
eslint-plugin-jsx-a11yStatic AST checker for a11y rules on JSX elements.
eslint-plugin-promiseEnforce best practices for JavaScript promises.
eslint-plugin-compatLint the browser compatibility of your code.
eslint-plugin-jestESLint plugin for Jest.
eslint-plugin-jest-domESLint rules for use with jest-dom.Dynamic enabled
eslint-plugin-testing-libraryESLint plugin for Testing Library.Dynamic enabled
eslint-config-prettierTurns off all rules that are unnecessary or might conflict with Prettier.Dynamic enabled
@emotion/eslint-pluginESLint rules for emotion.Dynamic enabled

Contributors ✨

Thanks goes to these wonderful people (emoji key):


Welly

💻 📖 🚧

Alex Du

📖

This project follows the all-contributors specification. Contributions of any kind welcome!

Keywords

FAQs

Package last updated on 13 Jun 2021

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc