eslint-config-arcteryx
This package provides the Arc'teryx ESLint formatting and styling convention as an extensible shared config.
Usage
- Install the package
npm install eslint-config-arcteryx
- Create an
.eslintrc
file in your project root:
{
"extends": "@arcteryx/eslint-config-arcteryx"
}
- Create a
prettier.config.js
file in your project root:
module.exports = {
extends: "./@arcteryx/eslint-config-arcteryx/prettier.js"
};
- 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 globalARCTERYX
object.
To Do
- Add ES6 specific rules