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

eslint-config-jane

Package Overview
Dependencies
Maintainers
8
Versions
87
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-jane

Deprecated: use eslint-plugin-jane.

  • 2.4.5
  • latest
  • Source
  • npm
  • Socket score

Version published
Maintainers
8
Created
Source

eslint-config-jane

Deprecated

Use eslint-plugin-jane.

Shared eslint config for front-end projects at Jane.


Installation

npm i -D eslint-config-jane

You'll also need to install some plugins (peerDependencies), at least until there's some sort of resolution for this issue:

npm i -D babel-eslint eslint-plugin-babel eslint-plugin-promise eslint-plugin-import eslint-plugin-unicorn.

Optionally, you can also install any or all of:

  • eslint-plugin-jest
  • eslint-plugin-jsx-a11y
  • eslint-plugin-prettier
  • eslint-plugin-react

If they're installed, their rules will be used. If eslint-plugin-prettier is installed, our style rules are removed.

Usage

.eslintrc

{
  "root": true,
  "extends": "eslint-config-jane"
  // any custom configs
}

.prettierrc.js

module.exports = require('eslint-config-jane/prettier')

Notes

Our rules are heavily based on Standard.

Most rules only warn. Exceptions (rules that error):

  • comma-dangle: es5 compatible
  • eol-last
  • indent: 2, SwitchCase 1
  • new-cap: newIsCap true, capIsNew false
  • no-duplicate-imports
  • no-eval
  • no-extend-native
  • no-global-assign
  • no-mixed-tabs-and-spaces
  • no-tabs
  • no-undef
  • no-undef-init
  • no-with
  • quotes: single, avoidEscape true
  • unicode-bom: never
  • unicorn/filename-case: kebab

LICENSE

MIT

Keywords

FAQs

Package last updated on 21 Jul 2018

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