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

eslint-config-hss

Package Overview
Dependencies
Maintainers
2
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-hss

Default style for JavaScript at Hearsay Social

  • 7.0.0
  • latest
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
5
decreased by-76.19%
Maintainers
2
Weekly downloads
 
Created
Source

eslint-config-hss

Hearsay Social's base JavaScript style.

Usage

Install this package, and eslint:

npm install --save-dev eslint eslint-config-hss

Add this extends value to the root level of your .eslintrc:

{
    "extends": "eslint-config-hss",
    // ...
}

Additional Configurations

ESLint allows you to "extend" from multiple base configurations. If you use any of the below features, you may add these additional specialized base configurations. Each configuration contains only the rules associated with the given feature so you may combine them as your project demands.

ES6

{
    "extends": [
        "eslint-config-hss",
        "eslint-config-hss/es6"
    ],
    // ...
}

React

Note: This config requires that the package being linted have eslint-plugin-react@^6.7.1 installed .

{
    "extends": [
        "eslint-config-hss",
        "eslint-config-hss/es6",
        "eslint-config-hss/react"
    ],
    // ...
}

Microtemplates

When linting Underscore templates with eslint-plugin-microtemplates, some rules don't make sense. To ignore those rules, extend from this config. Note: This config should not be applied to any js files, just html files.

{
    "extends": [
        "eslint-config-hss/microtemplates"
    ],
    // ...
}

Changelog

5.1.0

  • Add shared config for Underscore templates.

5.0.0

  • Add shared config for React code.
  • Convert no-mixed-operators and no-multi-spaces from warnings to errors.
  • Disable max-statements.

4.0.0

  • Begin enforcing indentation. (#7)

Keywords

FAQs

Package last updated on 28 Jun 2020

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