@ubc-farm/eslint-config

5.3.0 • Public • Published

eslint-config

ESLint configuration for ubc-farm modules. Includes multiple configurations, based on eslint-config-airbnb. Most style rules have been switched to warnings or turned off.

/index.js

Enables some code for use in generators and restricts CommonJS for Rollup.

/react

Requires eslint-plugin-react and eslint-plugin-jsx-a11y

Adds the React oriented rules of the full airbnb config and enforces tab usage.

Installation

yarn add @ubc-farm/eslint-config eslint eslint-plugin-import eslint-plugin-react eslint-plugin-jsx-a11y

usage

---
  extends: '@ubc-farm/eslint-config'

Readme

Keywords

none

Package Sidebar

Install

npm i @ubc-farm/eslint-config

Weekly Downloads

1

Version

5.3.0

License

MIT

Last publish

Collaborators

  • notwoods
  • ubc-farm-team