Skip to content
eslint-config / 1.3.1

eslint-config 1.3.1

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

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:

Releasing a new version

Author your changes, update the CHANGELOG.md with a brief description of the release, and merge your changes into main. Our GitHub Packages Workflow will automatically publish your build and trigger a release notification.

Occasionally you may need to bugfix an old version - for example, the latest version is v3.0.0, but you need to publish a fix for v2.1.0. In that case:

  1. Checkout the tag version you'd like to change:
$ git checkout v2.1.0
$ git switch -c bugfix/fix-something-broken
  1. Author your changes. Push up your branch.
  2. Run the publish workflow manually on the branch with your fix.

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.3.1.tgz

Download activity

  • Total downloads 13,698
  • Last 30 days 627
  • Last week 101
  • Today 0

Recent versions

View all