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

@tedconf/eslint-config

Package Overview
Dependencies
Maintainers
9
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@tedconf/eslint-config

Shared eslint config for TED projects

  • 0.4.0
  • latest
  • npm
  • Socket score

Version published
Maintainers
9
Created
Source

TED Conferences shared extensible eslint config

Installation

Because of how eslint does config and plugin resolution this is a two step process for now. (For more details read: https://github.com/eslint/eslint/issues/3458)

# For yarn
yarn add --dev @tedconf/eslint-config
# For npm
npm install -D @tedconf/eslint-config

Then you need to install the peer dependencies

# If you have npm > 5
npx install-peerdeps --dev @tedconf/eslint-config
# If you are somehow stuck on an older version of npm (reconsider your lifechoices then)
npm info "@tedconf/eslint-config" peerDependencies

Usage

Read up on how to use sharable configs at the ESLint website. Essentially, add the following to the project's .eslintrc file:

{
  "extends": "@tedconf"
}

Philosophy

We want to minimize the bikeshedding and discussion of rules. Our rule set is based of of airbnb-eslint-config, which is widely used in the community. The basic change to that rule set is to apply eslint-config-prettier afterwards and to let prettier handle the formatting.

Notes

Non-Prettier variant

In particular, for existing projects already using airbnb's formatting rules an reasonable argument can be made that the history noise converting to prettier is not worth it. With that in mind a ruleset without prettier is also provided and is accessible by:

{
  "extends": "@tedconf/eslint-config/no-prettier"
}

This ruleset is otherwise identical to the default ruleset.

FAQs

Package last updated on 03 Oct 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