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

dibslint

Package Overview
Dependencies
Maintainers
1
Versions
15
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

dibslint

1stdibs custom linting

  • 1.4.1
  • Source
  • npm
  • Socket score

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

dibslint

A wrapper around eslint that is smart enough to flag es6 code in files that do not end with .es.js. It uses eslint configs in the eslint-config-1stdibs package

Usage in PHPStorm

Make your eslint configuration settings look like this. Note that the IDE will not be able to show errors for es6 code in files without an .es.js extenstion.

Usage in Sublime Text

In the SublimeLinter settings, set the "args" in the eslint settings: Preferences -> Package Settings -> Sublime Linter -> Settings-User

 "linters": {
            "eslint": {
                "@disable": false,
                "args": [
                    "-c",  "/usr/local/opt/nvm/v0.10.38/lib/node_modules/dibslint/configs/react.js"
                ]
            }
        },

Substitute the appropriate path to dibslint/configs/react.js.

Precommit hook

Use the --git flag with the pre-commit package on npm to lint changed files on each commit.

FAQs

Package last updated on 30 Dec 2015

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