Skip to content

eslint/rules/other-frameworks ​

Other frameworks: Rules for frameworks this stack does not use (React, Vue, jQuery, Cypress, Lodash, AWS CDK): kept listed so that a plugin update never enables them silently. Rules of SonarJS on this subject (the Sonar way profile of SonarQube), every rule listed.

34 rules, 16 on. Source: lint/eslint/rules/other-frameworks.mjs.

RuleSettingFilesWhat it checksWhy
sonarjs/aws-apigateway-public-apioffJS + TSAWS API Gateway should require authenticationOff: AWS CDK infrastructure code only; together they cost about 20 % of the lint time.
sonarjs/aws-ec2-rds-dms-publicoffJS + TSPublic network access to cloud resources should be disabled—
sonarjs/aws-ec2-unencrypted-ebs-volumeoffJS + TSEBS volumes should be encrypted—
sonarjs/aws-efs-unencryptedoffJS + TSAmazon EFS file systems should be encrypted—
sonarjs/aws-iam-all-privilegesoffJS + TSPolicies should not grant all privileges—
sonarjs/aws-iam-all-resources-accessibleoffJS + TSIAM policies should not grant access to all account resourcesOff: not in the Sonar way profile of SonarQube.
sonarjs/aws-iam-privilege-escalationoffJS + TSAWS IAM policies should limit the scope of permissions given—
sonarjs/aws-iam-public-accessoffJS + TSAWS resource-based policies should not grant public access—
sonarjs/aws-opensearchservice-domainoffJS + TSOpenSearch domains should have encryption at rest enabled—
sonarjs/aws-rds-unencrypted-databasesoffJS + TSAmazon RDS resources should be encrypted at rest—
sonarjs/aws-restricted-ip-admin-accessoffJS + TSAdministration services access should be restricted to specific IP addresses—
sonarjs/aws-s3-bucket-granted-accessoffJS + TSS3 buckets should not grant access to all users or authenticated users—
sonarjs/aws-s3-bucket-insecure-httpoffJS + TSS3 buckets should enforce HTTPS-only access—
sonarjs/aws-s3-bucket-public-accessoffJS + TSAmazon S3 bucket public access should be fully blocked—
sonarjs/aws-s3-bucket-versioningoffJS + TSAmazon S3 buckets should have versioning enabled—
sonarjs/aws-sagemaker-unencrypted-notebookoffJS + TSSageMaker notebook instances should be encrypted at rest—
sonarjs/aws-sns-unencrypted-topicsoffJS + TSAmazon SNS topics should be encrypted at rest—
sonarjs/aws-sqs-unencrypted-queueoffJS + TSSQS queues should be encrypted—
sonarjs/hooks-before-test-caseswarnJS + TSLifecycle hooks should not be interleaved with test cases or nested suites—
sonarjs/chai-determinate-assertionwarnJS + TSChai assertions should have only one reason to succeed—
sonarjs/jsx-no-leaked-rendererrorJS + TSReact components should not render non-boolean condition values—
sonarjs/no-debounce-throttle-in-rendererrorJS + TSLodash and Underscore.js debounced or throttled functions should not be recreated on every React render—
sonarjs/no-hook-setter-in-bodyerrorJS + TSReact's useState hook should not be used directly in the render function or body of a component—
sonarjs/no-mutate-reactive-state-in-updated-hookerrorJS + TSReactive state should not be unconditionally mutated inside Vue's "updated" lifecycle hook—
sonarjs/no-uniq-keywarnJS + TSJSX list components keys should match up between renders—
sonarjs/no-useless-react-setstateerrorJS + TSReact state setter function should not be called with its matching state variable—
sonarjs/no-vue-class-componentwarnJS + TSVue components should not use the deprecated "vue-class-component" or "vue-property-decorator" libraries—
sonarjs/no-vue-mixinswarnJS + TSVue components should not use mixins—
sonarjs/prefer-cypress-shouldwarnJS + TSCypress assertions should be retryable—
sonarjs/prefer-native-axios-alternativewarnJS + TSNative APIs should be preferred over Axios utility methods—
sonarjs/prefer-native-jquery-alternativewarnJS + TSNative APIs should be preferred over jQuery utility methods—
sonarjs/prefer-native-lodash-alternativewarnJS + TSNative APIs should be preferred over Lodash and Underscore.js methods—
sonarjs/prefer-read-only-propswarnJS + TSReact props should be read-only—
sonarjs/review-blockchain-mnemonicerrorJS + TSWallet phrases should not be hard-coded—

Generated from the JSDoc of the sources.