JSPM

  • ESM via JSPM
  • ES Module Entrypoint
  • Export Map
  • Keywords
  • License
  • Repository URL
  • TypeScript Types
  • README
  • Created
  • Published
  • Downloads 103847
  • Score
    100M100P100Q149924F
  • License MIT

A set of opinionated ESLint rules (all rules included) by me.

Package Exports

  • eslint-config-react

This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (eslint-config-react) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.

Readme

eslint-config-patrio

A set of opinionated ESLint (http://eslint.org) rules by me for React projects.

Usage:

  1. npm install --save-dev eslint-config-patrio babel-eslint eslint-plugin-react
  2. Create a file named .eslintrc in your project:
{
  "extends": "patrio"
  // Your overrides...
}

Why does it complain about bla-blu-blä, what does it all mean?

Read about all the rules here: http://eslint.org/docs/rules/
React plugin rules: https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules

Changelog

1.0.2

jsx-quotes: The react/jsx-quotes rule is deprecated. Using the jsx-quotes rule instead.

1.0.1

no-unused-vars: Ignore React as unused variable. Because you need to import React for JSX (it will reference that variable) without you specifically referencing it.