Socket
Socket
Sign inDemoInstall

eslint-config-smashing-boxes

Package Overview
Dependencies
Maintainers
1
Versions
7
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-smashing-boxes

ESLint shareable configuration file


Version published
Weekly downloads
0
decreased by-100%
Maintainers
1
Weekly downloads
 
Created
Source

eslint-config-smashing-boxes

ESLint shareable config for Smashing Boxes' JavaScript Style Guide

Installation

npm install --save-dev eslint eslint-config-smashing-boxes

Usage

Once the eslint-config-smashing-boxes package is installed, you can use it by specifying smashing-boxes or eslint-config-smashing-boxes in the extends section of your ESLint configuration.

{
  "extends": "smashing-boxes", // Or "eslint-config-smashing-boxes"
  "rules": {

    /**
     * Additional, per-project rules can go here.
     * These rules will override the rules in
     * "eslint-config-smashing-boxes"
     */

  }
}

React

For usage in a React project you will need to install the eslint-plugin-react:

npm install --save-dev eslint-plugin-react

Change the "extends" value to "extends": "smashing-boxes/react" or "extends": "eslint-config-smashing-boxes/react"

{
  "extends": "smashing-boxes/react", // Or "eslint-config-smashing-boxes/react"
  "rules": {

    /**
     * Additional, per-project rules can go here.
     * These rules will override the rules in
     * "eslint-config-smashing-boxes"
     */

License

MIT

FAQs

Package last updated on 28 Dec 2017

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