eslint-config-plural
Advanced tools
Comparing version 0.4.3 to 0.5.0
{ | ||
"name": "eslint-config-plural", | ||
"version": "0.4.3", | ||
"version": "0.5.0", | ||
"description": "🎨 How plural paints its code.", | ||
@@ -62,2 +62,3 @@ "main": "index.js", | ||
"eslint-plugin-react-hooks": "^4 || ^3 || ^2.3.0 || ^1.7.0", | ||
"eslint-plugin-react-perf": "^3.2.4", | ||
"in-publish": "^2.0.1", | ||
@@ -73,3 +74,4 @@ "react": ">= 0.13.0", | ||
"eslint-plugin-react": "^7.20.0", | ||
"eslint-plugin-react-hooks": "^4 || ^3 || ^2.3.0 || ^1.7.0" | ||
"eslint-plugin-react-hooks": "^4 || ^3 || ^2.3.0 || ^1.7.0", | ||
"eslint-plugin-react-perf": "^3" | ||
}, | ||
@@ -76,0 +78,0 @@ "engines": { |
@@ -8,3 +8,3 @@ # Plural's Javascript Styleguide { | ||
Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires `eslint`, `eslint-plugin-import`, `eslint-plugin-react`, and `eslint-plugin-jsx-a11y`. If you don't need React, see [base entry point](#base-entry-point). | ||
Our default export contains all of our ESLint rules, including ECMAScript 6+ and React. It requires `eslint`, `eslint-plugin-import`, `eslint-plugin-react`, `eslint-plugin-jsx-a11y` and `eslint-plugin-react-perf`. If you don't need React, see [base entry point](#base-entry-point). | ||
@@ -11,0 +11,0 @@ If using yarn, you can also use the shortcut described above if you have npm 5+ installed on your machine, as the command will detect that you are using yarn and will act accordingly. Otherwise, run npm info "eslint-config-plural@latest" peerDependencies to list the peer dependencies and versions, then run yarn add --dev <dependency>@<version> for each listed peer dependency. |
module.exports = { | ||
plugins: ['react'], | ||
plugins: ['react', 'eslint-plugin-react-perf'], | ||
extends: ['plugin:react-perf/recommended'], | ||
parserOptions: { | ||
@@ -5,0 +7,0 @@ ecmaFeatures: { |
18648
117
8
15