Socket
Book a DemoInstallSign in
Socket

@arco-cloud/eslint-config-arco

Package Overview
Dependencies
Maintainers
1
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

npmnpm
Version
0.0.1
Version published
Weekly downloads
0
-100%
Maintainers
1
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:

yarn add --dev eslint
yarn link eslint-config-fanzone
# peerdependencies are not installed anymore since npm 3
yarn add 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"
}

FAQs

Package last updated on 13 Sep 2017

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