eslint-config-modul

1.0.4 • Public • Published

eslint-config-modul

JavaScript Style Guide

An ESLint Shareable Config for JavaScript Modul Style

Install

yarn add -D eslint-config-modul

.eslintrc:

{
  "extends": "modul"
}

Rules

Based on Airbnb JavaScript Style Guide with some differences:

  • eol-last - disabled
  • func-names - disabled
  • spaces-comment - disabled
  • import/prefer-default-export - disabled
  • class-methods-use-this - disabled
  • indent - set to 4 spaces
  • react/jsx-indent - set to 4 spaces
  • react/jsx-indent-props - set to 4 spaces
  • react/require-default-props - disabled
  • react/jsx-one-expression-per-line - disabled
  • jsx-a11y/anchor-has-content - disabled
  • jsx-a11y/click-events-have-key-events - disabled
  • jsx-a11y/no-static-element-interactions - disabled
  • jsx-a11y/anchor-is-valid - disabled

Readme

Keywords

none

Package Sidebar

Install

npm i eslint-config-modul

Weekly Downloads

1

Version

1.0.4

License

MIT

Unpacked Size

2.39 kB

Total Files

5

Last publish

Collaborators

  • benderr