@arcteryx/eslint-config-arcteryx

ESLint rules for Arc'teryx web dev

Usage no npm install needed!

<script type="module">
  import arcteryxEslintConfigArcteryx from 'https://cdn.skypack.dev/@arcteryx/eslint-config-arcteryx';
</script>

README

eslint-config-arcteryx

This package provides the Arc'teryx ESLint formatting and styling convention as an extensible shared config.

Usage

  1. Install the package
    npm install eslint-config-arcteryx
  1. Create an .eslintrc file in your project root:
    {
        "extends": "@arcteryx/eslint-config-arcteryx"
    }
  1. Create a prettier.config.js file in your project root:
module.exports = {
    extends: "./@arcteryx/eslint-config-arcteryx/prettier.js"
};
  1. Configure your build process AND find the correct plugin for your editor to display the output.

Notes

  • Disallow specific global variables (no-restricted-globals) can be overwritten for projects that don't make use of the global ARCTERYX object.

To Do

  • Add ES6 specific rules