Latest Threat ResearchGlassWorm Loader Hits Open VSX via Developer Account Compromise.Details
Socket
Book a DemoInstallSign in
Socket

@shorties-io/eslint-config

Package Overview
Dependencies
Maintainers
2
Versions
2
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@shorties-io/eslint-config

Common ESLint config for Shorties Project"

latest
Source
npmnpm
Version
1.1.0
Version published
Maintainers
2
Created
Source

eslint-config

This is the ESLint configuration for the shorties.io codebase(s), it is published to npmjs public registry as @shorties-io/eslint-config

To use this, add it as a dependency of your project and then it's as simple as creating an .eslintrc file with the following contents:

{
	"extends": "@shorties-io/eslint-config"
}

In order to use this with a CommonJS project, you should adjust the settings a bit.

// .eslintrc.js
"use strict";

module.exports = {
  extends: ["@shorties-io/eslint-config"],
  env: {
    browser: false,
    node: true,
    worker: false
  },
  parserOptions: {
    sourceType: "script",
    ecmaFeatures: {}
  }
};

FAQs

Package last updated on 24 Nov 2020

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