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

gluestick-plugin-eslint

Package Overview
Dependencies
Maintainers
4
Versions
91
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

gluestick-plugin-eslint

Adds `eslint-loader` to lint files when compiling them with Webpack.

  • 4.6.3-prerelease.2
  • Source
  • npm
  • Socket score

Version published
Weekly downloads
10
increased by42.86%
Maintainers
4
Weekly downloads
 
Created
Source

gluestick-plugin-eslint

Adds eslint-loader to lint files when compiling them with Webpack.

How to use

  • Install plugin
npm install --save eslint-loader gluestick-plugin-eslint
  • Define (and configure) plugin in src/gluestick.plugins.js:
export default [
  'gluestick-plugin-eslint'
]

// or

export default [
  {
    plugin: 'gluestick-plugin-eslint',
    options: {
      enableInProduction: true,
      loaderOptions: {
        configFile: 'path/to/eslint-config-file'
      }
    },
  },
]

Configuration

  • enableInProduction: boolean (default: false) - enable linting in production
  • loaderOptions: Object (default: { configFile: path.join(process.cwd(), '.eslintrc') }) - eslint-loader options

FAQs

Package last updated on 16 Jan 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