Socket
Book a DemoInstallSign in
Socket

eslint-config-unu

Package Overview
Dependencies
Maintainers
6
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-unu

This package provides unu's .eslintrc as an extensible shared config. And optional rulesets for different type of projects.

1.2.4
latest
Source
npmnpm
Version published
Weekly downloads
13
30%
Maintainers
6
Weekly downloads
 
Created
Source

eslint-config-unu

This package provides unu's .eslintrc as an extensible shared config. And optional rulesets for different type of projects.

Usage

This package should be included in package.json dependencies (devDependencies prereffably). So first install it with npm install --dev eslint-config-unu.

For using sharable configurations in your projects, please follow insturctions in eslint's webpage: https://eslint.org/docs/developer-guide/shareable-configs

A simple setup example:

Create a .eslintrc.js file with content:

module.exports = {
    extends: 'unu'
};

Will allow you to use shared configuration right away.

Or if you need to include different rulesets and custom globals, you can extend your configuration with any setting you like.

module.exports = {
    extends: [
        'unu',
        'unu/rules/closure-compiler'
    ],
    globals: {
        'analytics': false
    }
};

Keywords

eslint

FAQs

Package last updated on 31 Jul 2018

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.