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

eslint-config-edited

Package Overview
Dependencies
Maintainers
3
Versions
3
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-edited

A shareable ESLint config for the EDITED styleguide

  • 1.0.2
  • latest
  • Source
  • npm
  • Socket score

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

eslint-config-edited

A shareable ESLint config for the EDITED styleguide

Usage

  • npm install eslint-config-edited --save-dev
  • Don't forget to save the eslint-config-edited peerDependencies to your devDependencies!
  • Change your .eslintrc to the following .eslintrc
{
  "extends": "edited",
}

Import resolver settings

If you're using webpack you should

  • npm install eslint-import-resolver-webpack --save-dev
  • Add the following to your .eslintrc
settings: {
    "import/resolver": {
        webpack: {
            config: "<path-to-project-webpack-config>"
        }
    }
}

If you're not using webpack, but you do have .jsx files that you'd like to resolve then you can add the following settings to your .eslintrc file.

settings: {
    "import/resolver": {
        "node": {
            "extensions": [ ".js", ".jsx" ],
        }
    }
}

Keywords

FAQs

Package last updated on 03 Sep 2019

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