eslint-plugin-react-perf
Advanced tools
Comparing version 3.3.1 to 3.3.2
@@ -1,2 +0,2 @@ | ||
# Prevent `function` as JSX prop values (jsx-no-new-object-as-prop) | ||
# Prevent `function` as JSX prop values (jsx-no-new-function-as-prop) | ||
@@ -3,0 +3,0 @@ Prevent Functions that are local to the current method from being used as values of JSX props |
{ | ||
"name": "eslint-plugin-react-perf", | ||
"version": "3.3.1", | ||
"version": "3.3.2", | ||
"description": "Performance-minded React linting rules for ESLint", | ||
@@ -36,5 +36,4 @@ "main": "index.js", | ||
"eslint-plugin-standard": "^2.0.1", | ||
"eslint-watch": "^2.1.14", | ||
"istanbul": "^0.4.5", | ||
"mocha": "^5.2.0" | ||
"mocha": "^10.2.0" | ||
}, | ||
@@ -41,0 +40,0 @@ "peerDependencies": { |
"use strict"; | ||
const { testRule} = require("../utils/common"); | ||
@@ -18,3 +19,3 @@ var invalidJSXElements = [ | ||
module.exports = require("../utils/common").testRule( | ||
module.exports = testRule( | ||
"../../../lib/rules/jsx-no-jsx-as-prop", | ||
@@ -21,0 +22,0 @@ "jsx-no-jsx-as-prop", |
"use strict"; | ||
const { testRule} = require("../utils/common"); | ||
@@ -49,3 +50,3 @@ var invalidArrayExpressions = [ | ||
module.exports = require("../utils/common").testRule( | ||
module.exports = testRule( | ||
"../../../lib/rules/jsx-no-new-array-as-prop", | ||
@@ -52,0 +53,0 @@ "jsx-no-new-array-as-prop", |
"use strict"; | ||
const { testRule} = require("../utils/common"); | ||
@@ -69,3 +70,3 @@ var invalidFunctionExpressions = [ | ||
module.exports = require("../utils/common").testRule( | ||
module.exports = testRule( | ||
"../../../lib/rules/jsx-no-new-function-as-prop", | ||
@@ -72,0 +73,0 @@ "jsx-no-new-function-as-prop", |
"use strict"; | ||
const { testRule} = require("../utils/common"); | ||
@@ -49,3 +50,3 @@ var invalidObjectExpressions = [ | ||
module.exports = require("../utils/common").testRule( | ||
module.exports = testRule( | ||
"../../../lib/rules/jsx-no-new-object-as-prop", | ||
@@ -52,0 +53,0 @@ "jsx-no-new-object-as-prop", |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
97686
7
34
1021