Socket
Book a DemoInstallSign in
Socket

@arco-cloud/eslint-config-arco

Package Overview
Dependencies
Maintainers
2
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@arco-cloud/eslint-config-arco

Shared lint configurations

0.0.6
latest
npmnpm
Version published
Weekly downloads
6
Maintainers
2
Weekly downloads
 
Created
Source

ESLint config

ESLint config for JavaScript code.

Table of Contents

  • Overview
  • License
  • Dependencies
  • Usage

Overview

In order to standardize and enforce's JavaScript coding style across multiple codebases, you can adopt ESLint and this shared ESLint config. This document describes the JavaScript style and its inspirations.

Dependencies

ESLint is required to use this package, as it is an ESLint shareable config.

Usage

As this package is held on a private repo, you may want to install it through link, so in this folder, run

npm link
# or
yarn link

To begin using the ESLint config in a codebase, first install ESLint and the config:

# peerdependencies are not installed anymore since npm 3
yarn add @arco-cloud/eslint-config-arco babel-eslint eslint eslint-config-airbnb-base eslint-plugin-import --dev

Then, configure your project's ESLint config to extend eslint-config-arco (see the ESLint docs on Using a Shareable Config)

Basically, create a .eslintrc file with this inside

{
  "extends": "@arco-cloud/eslint-config-arco"
}

or a.eslintrc.js javascript file

module.exports = {
  extends: "@arco-cloud/eslint-config-arco"
}

FAQs

Package last updated on 05 Nov 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.