@open-turo/eslint-config-react 7.0.18 → 7.1.0
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/index.js
CHANGED
|
@@ -53,6 +53,16 @@ module.exports = {
|
|
|
53
53
|
"react/state-in-constructor": "off",
|
|
54
54
|
// This allows static properties to be placed within the class declaration
|
|
55
55
|
"react/static-property-placement": "off",
|
|
56
|
+
/*
|
|
57
|
+
* Rules that significantly impact performance time of eslint, and are not
|
|
58
|
+
* necessarily relevant for react applications.
|
|
59
|
+
*/
|
|
60
|
+
"sonarjs/aws-apigateway-public-api": "off",
|
|
61
|
+
"sonarjs/aws-ec2-rds-dms-public": "off",
|
|
62
|
+
"sonarjs/aws-iam-all-privileges": "off",
|
|
63
|
+
"sonarjs/aws-iam-privilege-escalation": "off",
|
|
64
|
+
"sonarjs/aws-iam-public-access": "off",
|
|
65
|
+
"sonarjs/aws-restricted-ip-admin-access": "off",
|
|
56
66
|
// Already covered with react/no-array-index-key
|
|
57
67
|
"sonarjs/no-array-index-key": "off",
|
|
58
68
|
// Already covered with react/no-unknown-property
|
package/legacy.js
CHANGED
|
@@ -50,6 +50,16 @@ module.exports = {
|
|
|
50
50
|
"react/state-in-constructor": "off",
|
|
51
51
|
// This allows static properties to be placed within the class declaration
|
|
52
52
|
"react/static-property-placement": "off",
|
|
53
|
+
/**
|
|
54
|
+
* Rules that significantly impact performance time of eslint, and are not
|
|
55
|
+
* necessarily relevant for react applications.
|
|
56
|
+
*/
|
|
57
|
+
"sonarjs/aws-apigateway-public-api": "off",
|
|
58
|
+
"sonarjs/aws-ec2-rds-dms-public": "off",
|
|
59
|
+
"sonarjs/aws-iam-all-privileges": "off",
|
|
60
|
+
"sonarjs/aws-iam-privilege-escalation": "off",
|
|
61
|
+
"sonarjs/aws-iam-public-access": "off",
|
|
62
|
+
"sonarjs/aws-restricted-ip-admin-access": "off",
|
|
53
63
|
// Already covered with react/no-array-index-key
|
|
54
64
|
"sonarjs/no-array-index-key": "off",
|
|
55
65
|
// Already covered with react/no-unknown-property
|
|
Binary file
|
package/package.json
CHANGED
|
Binary file
|