New Case Study:See how Anthropic automated 95% of dependency reviews with Socket.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-globeletjs

Package Overview
Dependencies
Maintainers
1
Versions
5
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-globeletjs

A basic ESLint configuration for GlobeletJS modules

  • 0.0.1
  • Source
  • npm
  • Socket score

Version published
Maintainers
1
Created
Source

eslint-config-globeletjs

A basic ESLint configuration for GlobeletJS modules

Installation

To use this configuration in your module, run:

npm install --save-dev eslint eslint-config-globeletjs

Then add the following in an .eslintrc.json in the project's root directory:

{
  "extends": "globeletjs"
}

Finally, add a linting script to your package.json file:

"scripts": {
  "lint": "eslint src examples/*/*.js",
  "pretest": "npm run lint"
}

Usage

To see which of your code is inconsistent with the GlobeletJS coding style, you can run

npm run lint

If you are brave, you can automatically fix errors in a given file as follows:

npx eslint --fix file.js

Keywords

FAQs

Package last updated on 05 Jul 2021

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