@clipboard-health/eslint-config 6.6.7 → 6.6.9

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@clipboard-health/eslint-config",
3
3
  "description": "Our ESLint configuration.",
4
- "version": "6.6.7",
4
+ "version": "6.6.9",
5
5
  "bugs": "https://github.com/ClipboardHealth/core-utils/issues",
6
6
  "keywords": [
7
7
  "config",
package/src/react.d.ts CHANGED
@@ -2,6 +2,7 @@ declare let _extends: string[];
2
2
  export { _extends as extends };
3
3
  export declare let rules: {
4
4
  "react/prefer-read-only-props": string;
5
+ "react/require-default-props": string;
5
6
  };
6
7
  export declare namespace parserOptions {
7
8
  let project: string;
package/src/react.js CHANGED
@@ -4,6 +4,8 @@ module.exports = {
4
4
  rules: {
5
5
  // Adds bloat, and is redundant with no-param-reassign
6
6
  "react/prefer-read-only-props": "off",
7
+ // Not the recommended way of specifying default params for functional components
8
+ "react/require-default-props": "off",
7
9
  },
8
10
  parserOptions: {
9
11
  project: "tsconfig.json",
package/src/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../../packages/eslint-config/src/react.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC;IACtC,KAAK,EAAE;QACL,sDAAsD;QACtD,8BAA8B,EAAE,KAAK;KACtC;IACD,aAAa,EAAE;QACb,OAAO,EAAE,eAAe;KACzB;CACF,CAAC"}
1
+ {"version":3,"file":"react.js","sourceRoot":"","sources":["../../../../packages/eslint-config/src/react.js"],"names":[],"mappings":";AAAA,MAAM,CAAC,OAAO,GAAG;IACf,OAAO,EAAE,CAAC,SAAS,EAAE,gBAAgB,CAAC;IACtC,KAAK,EAAE;QACL,sDAAsD;QACtD,8BAA8B,EAAE,KAAK;QAErC,iFAAiF;QACjF,6BAA6B,EAAE,KAAK;KACrC;IACD,aAAa,EAAE;QACb,OAAO,EAAE,eAAe;KACzB;CACF,CAAC"}