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

eslint-config-kswedberg

Package Overview
Dependencies
Maintainers
1
Versions
62
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-kswedberg

A shareable eslint config

  • 1.1.5
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
42
increased by31.25%
Maintainers
1
Weekly downloads
 
Created
Source

eslint config

Usage

Run the following from the project's root:

npm install eslint-config-kswedberg --save-dev

In the project's .eslintrc.js file* for linting with es6 features enabled:

module.exports = {
  'extends': 'kswedberg'
};

If you want react (as well as es6) features enabled:

module.exports = {
  'extends': 'kswedberg/react'
};

Note that you'll need to have eslint-plugin-react installed.

If you don't want es6 or react features:

module.exports = {
  'extends': 'kswedberg/es5'
};

* Note: eslint supports a few different formats for the ...rc file, including JavaScript, JSON, and YAML. You may use any format that eslint supports.

Keywords

FAQs

Package last updated on 07 Sep 2016

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