Skip to content
eslint-config / 1.2.0

eslint-config 1.2.0

Install from the command line:
Learn more about npm packages
$ npm install @arcadiapower/eslint-config@1.2.0
Install via package.json:
"@arcadiapower/eslint-config": "1.2.0"

About this version

eslint-config-arcadia

ESLint rules for Arcadia's JavaScript projects


Table of Contents

Installation

This library has a required peerDependencies for eslint

Github packages

Follow the Github Packages setup instructions.

$ npm install --save-dev @arcadiapower/eslint-config

Gemfury (Legacy)

Follow the Gemfury setup instructions.

$ npm intsall --save-dev eslint-config-arcadia

Usage

Extend your .eslintrc.js:

module.exports = {
  extends: '@arcadiapower', // For Gemfury installations, use "arcadia"
  rules: {
    // your overrides
  },
};

This config also exposes a React-specific config, which is intended for apps that use React.

module.exports = {
  extends: '@arcadiapower/eslint-config/react', // For Gemfury installations, use "arcadia/react"
};

Note: Due to this bug you need to have associated plugins installed to make things work. Add them as dependencies to your project:

Publishing

The config is hosted as an NPM package on Github Packages, with legacy support for Gemfury.

To publish a new version after your pull request is merged, go to the releases page and draft a new release. This will automatically kick off the publish workflow.

Gemfury (Legacy)

  1. In your pull request, bump the version.
  2. After merging, pull master and run npm pack
  3. Upload the resulting package on the Gemfury dashboard.

Details


Assets

  • eslint-config-1.2.0.tgz

Download activity

  • Total downloads 28,694
  • Last 30 days 186
  • Last week 56
  • Today 0

Recent versions

View all