Socket
Socket
Sign inDemoInstall

brackets-eslint

Package Overview
Dependencies
Maintainers
1
Versions
56
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

brackets-eslint

Adds ESLint support to Brackets


Version published
Weekly downloads
13
increased by8.33%
Maintainers
1
Weekly downloads
 
Created
Source

ESLint Build Status

Brackets extension which provides file linting with ESLint.

Uses CLIEngine from https://www.npmjs.com/package/eslint which should provide same results as linting in the command line (respecting all .eslintrc files)

Includes support for custom parsers and plugins.

How to install

Use brackets-npm-registry

How to configure

Use standard .eslintrc file like this one

Configuring ESLint

More information here

How to use custom rules

Move them to .eslintrules folder in your project root like you can see in this repo.

Custom parsers and plugins

Extension uses eslint plugins installed in the current project. If you're missing a plugin, then in your project directory do:

npm install eslint-plugin-react

Configuration defaults

To disable the both warning and error icons in the gutter you can configure the brackets.json as followed:

{
  "brackets-eslint.gutterMarks": false
}

or only disable warnings icons:

{
  "brackets-eslint.gutterMarks": { "error": true, "warning" : false }
}

To force the extension to use its own local version of ESLint:

{
  "brackets-eslint.useLocalESLint": true
}

Keywords

FAQs

Package last updated on 19 Sep 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