diff --git a/index.js b/index.js index 33b05b7..8dcf009 100644 --- a/index.js +++ b/index.js @@ -53,6 +53,15 @@ module.exports = { "react/state-in-constructor": "off", // This allows static properties to be placed within the class declaration "react/static-property-placement": "off", + /* + * Rules that significantly impact performance time of eslint, and are not + * necessarily relevant for react applications. + */ + "sonarjs/aws-restricted-ip-admin-access": "off", + "sonarjs/aws-iam-privilege-escalation": "off", + "sonarjs/aws-iam-all-privileges": "off", + "sonarjs/aws-iam-public-access": "off", + "sonarjs/aws-apigateway-public-api": "off", // Already covered with react/no-array-index-key "sonarjs/no-array-index-key": "off", // Already covered with react/no-unknown-property diff --git a/legacy.js b/legacy.js index 1cd955f..87de36b 100644 --- a/legacy.js +++ b/legacy.js @@ -50,6 +50,15 @@ module.exports = { "react/state-in-constructor": "off", // This allows static properties to be placed within the class declaration "react/static-property-placement": "off", + /** + * Rules that significantly impact performance time of eslint, and are not + * necessarily relevant for react applications. + */ + "sonarjs/aws-restricted-ip-admin-access": "off", + "sonarjs/aws-iam-privilege-escalation": "off", + "sonarjs/aws-iam-all-privileges": "off", + "sonarjs/aws-iam-public-access": "off", + "sonarjs/aws-apigateway-public-api": "off", // Already covered with react/no-array-index-key "sonarjs/no-array-index-key": "off", // Already covered with react/no-unknown-property