New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

@paralect/eslint-config

Package Overview
Dependencies
Maintainers
4
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@paralect/eslint-config

Paralect ESLint config

  • 1.1.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
64
increased by10.34%
Maintainers
4
Weekly downloads
 
Created
Source

ESLint config

ESLint configuration. Currently based on eslint-config-airbnb.

Usage

Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires eslint, babel-eslint, eslint-plugin-import, eslint-plugin-react, and eslint-plugin-jsx-a11y.

  1. Install the correct versions of each package, which are listed by the command:
npm info "@paralect/eslint-config@latest" peerDependencies

Linux/OSX users can run

(
  export PKG=@paralect/eslint-config;
  npm info "$PKG@latest" peerDependencies --json | command sed 's/[\{\},]//g ; s/: /@/g' | xargs npm install --save-dev "$PKG@latest"
)

Which produces and runs a command like:

npm install --save-dev @paralect/eslint-config eslint@#.#.# babel-eslint@#.#.# eslint-plugin-import@#.#.# eslint-plugin-react@#.#.# eslint-plugin-jsx-a11y@#.#.#

Windows users can either install all the peer dependencies manually, or use the install-peerdeps cli tool.

npm install -g install-peerdeps
install-peerdeps --dev @paralect/eslint-config

The cli will produce and run a command like:

npm install --save-dev @paralect/eslint-config eslint@#.#.# babel-eslint@#.#.# eslint-plugin-import@#.#.# eslint-plugin-react@#.#.# eslint-plugin-jsx-a11y@#.#.#
  1. Add "extends": "@paralect/eslint-config" to your .eslintrc
module.exports = {
  "extends": "@paralect/eslint-config"
}

This configuration of the ESLint can be changed. See how to configure ESLint on the official site.

Keywords

FAQs

Package last updated on 25 Jun 2019

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