Skip to content

Commit

Permalink
feat: disable aws-related rules to avoid performance impact
Browse files Browse the repository at this point in the history
  • Loading branch information
OmarJaroudi committed Oct 16, 2024
1 parent 9664378 commit 349779c
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 0 deletions.
10 changes: 10 additions & 0 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,16 @@ 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-apigateway-public-api": "off",
"sonarjs/aws-ec2-rds-dms-public": "off",
"sonarjs/aws-iam-all-privileges": "off",
"sonarjs/aws-iam-privilege-escalation": "off",
"sonarjs/aws-iam-public-access": "off",
"sonarjs/aws-restricted-ip-admin-access": "off",
// Already covered with react/no-array-index-key
"sonarjs/no-array-index-key": "off",
// Already covered with react/no-unknown-property
Expand Down
10 changes: 10 additions & 0 deletions legacy.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,6 +50,16 @@ 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-apigateway-public-api": "off",
"sonarjs/aws-ec2-rds-dms-public": "off",
"sonarjs/aws-iam-all-privileges": "off",
"sonarjs/aws-iam-privilege-escalation": "off",
"sonarjs/aws-iam-public-access": "off",
"sonarjs/aws-restricted-ip-admin-access": "off",
// Already covered with react/no-array-index-key
"sonarjs/no-array-index-key": "off",
// Already covered with react/no-unknown-property
Expand Down

0 comments on commit 349779c

Please sign in to comment.