├── .coveralls.yml ├── .dockerignore ├── .eslintignore ├── .eslintrc.js ├── .gitattributes ├── .github └── workflows │ ├── DOCKER.yml │ ├── E2E.yml │ ├── PRE-COMMIT-HOOK-TEST.yml │ └── TESTS.yml ├── .gitignore ├── .pre-commit-hooks.yaml ├── .prettierrc ├── CHANGELOG.md ├── DEV-README.md ├── LICENSE ├── README.md ├── conf └── rulesets │ ├── solhint-all.js │ └── solhint-recommended.js ├── docker ├── Dockerfile └── docker.md ├── docs ├── _includes │ ├── head.html │ ├── page-footer.html │ └── page-header.html ├── _layouts │ └── default.html ├── architecture.md ├── configuration.md ├── contributing.md ├── css │ ├── cayman.css │ └── normalize.css ├── rules.md ├── rules │ ├── best-practices │ │ ├── code-complexity.md │ │ ├── constructor-syntax.md │ │ ├── explicit-types.md │ │ ├── function-max-lines.md │ │ ├── max-line-length.md │ │ ├── max-states-count.md │ │ ├── no-console.md │ │ ├── no-empty-blocks.md │ │ ├── no-global-import.md │ │ ├── no-unused-import.md │ │ ├── no-unused-vars.md │ │ ├── one-contract-per-file.md │ │ ├── payable-fallback.md │ │ ├── reason-string.md │ │ └── use-natspec.md │ ├── gas-consumption │ │ ├── gas-calldata-parameters.md │ │ ├── gas-custom-errors.md │ │ ├── gas-increment-by-one.md │ │ ├── gas-indexed-events.md │ │ ├── gas-length-in-loops.md │ │ ├── gas-multitoken1155.md │ │ ├── gas-named-return-values.md │ │ ├── gas-small-strings.md │ │ ├── gas-strict-inequalities.md │ │ └── gas-struct-packing.md │ ├── miscellaneous │ │ ├── comprehensive-interface.md │ │ ├── duplicated-imports.md │ │ ├── import-path-check.md │ │ └── quotes.md │ ├── naming │ │ ├── const-name-snakecase.md │ │ ├── contract-name-camelcase.md │ │ ├── contract-name-capwords.md │ │ ├── event-name-camelcase.md │ │ ├── event-name-capwords.md │ │ ├── event-name-pascalcase.md │ │ ├── foundry-test-function-naming.md │ │ ├── foundry-test-functions.md │ │ ├── func-name-mixedcase.md │ │ ├── func-named-parameters.md │ │ ├── func-param-name-mixedcase.md │ │ ├── immutable-vars-naming.md │ │ ├── interface-starts-with-i.md │ │ ├── modifier-name-mixedcase.md │ │ ├── named-parameters-mapping.md │ │ ├── private-vars-leading-underscore.md │ │ ├── use-forbidden-name.md │ │ └── var-name-mixedcase.md │ ├── order │ │ ├── func-order.md │ │ ├── imports-on-top.md │ │ ├── imports-order.md │ │ ├── ordering.md │ │ └── visibility-modifier-order.md │ └── security │ │ ├── avoid-call-value.md │ │ ├── avoid-low-level-calls.md │ │ ├── avoid-sha3.md │ │ ├── avoid-suicide.md │ │ ├── avoid-throw.md │ │ ├── avoid-tx-origin.md │ │ ├── check-send-result.md │ │ ├── compiler-version.md │ │ ├── func-visibility.md │ │ ├── multiple-sends.md │ │ ├── no-complex-fallback.md │ │ ├── no-inline-assembly.md │ │ ├── not-rely-on-block-hash.md │ │ ├── not-rely-on-time.md │ │ ├── reentrancy.md │ │ └── state-visibility.md ├── shareable-configs.md ├── use-in-app.md └── writing-plugins.md ├── e2e ├── 01-no-config │ └── Foo.sol ├── 02-empty-solhint-json │ ├── .solhint.json │ └── Foo.sol ├── 03-no-empty-blocks │ ├── .solhint.json │ └── Foo.sol ├── 04-dotSol-on-path │ ├── .solhint.json │ └── contracts │ │ └── ERC20.sol │ │ ├── ERC20.dbg.js │ │ └── Foo.sol ├── 05-max-warnings │ ├── .solhint.json │ └── contracts │ │ ├── Foo.sol │ │ └── Foo2.sol ├── 06-formatters │ ├── .solhint.json │ ├── contracts │ │ ├── Foo.sol │ │ ├── Foo2.sol │ │ └── Foo3.sol │ └── helpers │ │ └── helpers.js ├── 07-foundry-test │ ├── .solhint.json │ ├── contracts │ │ └── Foo.sol │ └── test │ │ ├── .solhint.json │ │ ├── FooTest.sol │ │ └── Test.sol ├── 08-autofix │ ├── _commands │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── avoid-suicide │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── contract-name-capwords │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── event-name-capwords │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── explicit-types │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── imports-order │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ ├── Foo1BeforeFix.sol │ │ ├── Foo2.sol │ │ ├── Foo2AfterFix.sol │ │ └── Foo2BeforeFix.sol │ ├── no-console │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── no-unused-import │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── payable-fallback │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ ├── private-vars-underscore │ │ ├── .solhint.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFix.sol │ │ └── Foo1BeforeFix.sol │ └── quotes │ │ ├── .doubleQuotes.json │ │ ├── .singleQuotes.json │ │ ├── Foo1.sol │ │ ├── Foo1AfterFixDouble.sol │ │ ├── Foo1AfterFixSingle.sol │ │ └── Foo1BeforeFix.sol ├── 10-import-path-check │ ├── filesystem01 │ │ └── project │ │ │ ├── .solhintS01.json │ │ │ └── contracts │ │ │ ├── Lib.sol │ │ │ └── Test.sol │ ├── filesystem02 │ │ └── project │ │ │ ├── .solhintS02.json │ │ │ ├── contracts │ │ │ └── Test.sol │ │ │ └── shared │ │ │ └── Helper.sol │ ├── filesystem03 │ │ └── project │ │ │ ├── .solhintS03.json │ │ │ └── contracts │ │ │ └── Test.sol │ └── filesystem04 │ │ └── project │ │ ├── .solhintF04.json │ │ └── contracts │ │ └── Test.sol ├── 11-multiple-configs │ ├── .solhint.json │ ├── contracts │ │ ├── .solhint.json │ │ └── RootAndContractRules.sol │ └── src │ │ ├── RootRules.sol │ │ └── interfaces │ │ ├── .solhint.json │ │ └── InterfaceRules.sol ├── 12-cache-support │ ├── .solhint.json │ ├── Foo.sol │ ├── FooError.sol │ └── FooValid.sol ├── 13-solhintignore-check │ ├── filesystem01 │ │ └── project │ │ │ ├── .solhintS01.json │ │ │ ├── .solhintignore │ │ │ └── contracts │ │ │ ├── Lib.sol │ │ │ └── Skip.sol │ ├── filesystem02 │ │ └── project │ │ │ ├── .solhintS02.json │ │ │ ├── .solhintignore │ │ │ └── contracts │ │ │ ├── Lib.sol │ │ │ └── skip │ │ │ ├── Skip1.sol │ │ │ └── Skip2.sol │ ├── filesystem03 │ │ └── project │ │ │ ├── .solhintS03.json │ │ │ ├── .solhintignore │ │ │ └── contracts │ │ │ ├── Lib.sol │ │ │ └── Skip.sol │ ├── filesystem04 │ │ └── project │ │ │ ├── .solhintS04.json │ │ │ ├── .solhintignore │ │ │ └── contracts │ │ │ ├── Lib.sol │ │ │ └── Skip.sol │ ├── filesystem05 │ │ └── project │ │ │ ├── .solhintS05.json │ │ │ ├── .solhintignore │ │ │ └── contracts │ │ │ ├── Lib1.sol │ │ │ ├── Lib2.sol │ │ │ └── tokens │ │ │ ├── erc20 │ │ │ ├── Skip.sol │ │ │ ├── permit │ │ │ │ └── ERC20Permit.sol │ │ │ └── standard │ │ │ │ ├── ERC20A.sol │ │ │ │ └── ERC20B.sol │ │ │ └── nfts │ │ │ └── Nft.sol │ ├── filesystem06 │ │ └── project │ │ │ └── .solhintS06.json │ └── filesystem07 │ │ └── project │ │ ├── .ignoresolhint │ │ ├── .solhintS07.json │ │ └── contracts │ │ ├── Lib.sol │ │ └── Skip.sol ├── autofix-test.js ├── formatters-test.js ├── pre-commit-hook │ ├── .solhint.json │ ├── Counter.sol │ └── test.sh └── test.js ├── funding.json ├── lib ├── apply-fixes.js ├── cache │ └── cache-manager.js ├── comment-directive-parser.js ├── common │ ├── ajv.js │ ├── ast-printer.js │ ├── ast-types.js │ ├── blank-line-counter.js │ ├── errors.js │ ├── identifier-naming.js │ ├── statements-indent-validator.js │ ├── tokens.js │ ├── tree-traversing.js │ └── utils.js ├── config.js ├── config │ ├── config-file.js │ ├── config-schema.js │ └── config-validator.js ├── doc │ └── utils.js ├── formatters │ ├── LICENSE │ ├── README.md │ ├── compact.js │ ├── json.js │ ├── sarif.js │ ├── stylish.js │ ├── table.js │ ├── tap.js │ └── unix.js ├── index.js ├── load-rules.js ├── reporter.js ├── rule-fixer.js ├── rules │ ├── base-checker.js │ ├── best-practices │ │ ├── code-complexity.js │ │ ├── explicit-types.js │ │ ├── function-max-lines.js │ │ ├── index.js │ │ ├── interface-starts-with-i.js │ │ ├── max-line-length.js │ │ ├── max-states-count.js │ │ ├── no-console.js │ │ ├── no-empty-blocks.js │ │ ├── no-global-import.js │ │ ├── no-unused-import.js │ │ ├── no-unused-vars.js │ │ ├── one-contract-per-file.js │ │ ├── payable-fallback.js │ │ ├── reason-string.js │ │ └── use-natspec.js │ ├── deprecations │ │ ├── base-deprecation.js │ │ ├── constructor-syntax.js │ │ └── index.js │ ├── gas-consumption │ │ ├── gas-calldata-parameters.js │ │ ├── gas-custom-errors.js │ │ ├── gas-increment-by-one.js │ │ ├── gas-indexed-events.js │ │ ├── gas-length-in-loops.js │ │ ├── gas-multitoken1155.js │ │ ├── gas-named-return-values.js │ │ ├── gas-small-strings.js │ │ ├── gas-strict-inequalities.js │ │ ├── gas-struct-packing.js │ │ └── index.js │ ├── index.js │ ├── miscellaneous │ │ ├── comprehensive-interface.js │ │ ├── duplicated-imports.js │ │ ├── import-path-check.js │ │ ├── index.js │ │ └── quotes.js │ ├── naming │ │ ├── const-name-snakecase.js │ │ ├── contract-name-capwords.js │ │ ├── event-name-capwords.js │ │ ├── foundry-test-function-naming.js │ │ ├── foundry-test-functions.js │ │ ├── func-name-mixedcase.js │ │ ├── func-named-parameters.js │ │ ├── func-param-name-mixedcase.js │ │ ├── immutable-vars-naming.js │ │ ├── index.js │ │ ├── modifier-name-mixedcase.js │ │ ├── named-parameters-mapping.js │ │ ├── private-vars-leading-underscore.js │ │ ├── use-forbidden-name.js │ │ └── var-name-mixedcase.js │ ├── order │ │ ├── imports-on-top.js │ │ ├── imports-order.js │ │ ├── index.js │ │ ├── ordering.js │ │ └── visibility-modifier-order.js │ └── security │ │ ├── avoid-call-value.js │ │ ├── avoid-low-level-calls.js │ │ ├── avoid-sha3.js │ │ ├── avoid-suicide.js │ │ ├── avoid-throw.js │ │ ├── avoid-tx-origin.js │ │ ├── check-send-result.js │ │ ├── compiler-version.js │ │ ├── func-visibility.js │ │ ├── index.js │ │ ├── multiple-sends.js │ │ ├── no-complex-fallback.js │ │ ├── no-inline-assembly.js │ │ ├── not-rely-on-block-hash.js │ │ ├── not-rely-on-time.js │ │ ├── reentrancy.js │ │ └── state-visibility.js └── tree-listener.js ├── package.json ├── scripts ├── check-changes.js ├── generate-rule-docs.js └── generate-rulesets.js ├── solhint-icon.png ├── solhint.js ├── solhint.png └── test ├── common ├── apply-extends.js ├── apply-fixes.js ├── asserts.js ├── config-file.js ├── config-validator.js ├── contract-builder.js ├── errors.js ├── load-rules.js ├── misc.js └── utils.js ├── fixtures ├── align │ ├── array_declaration.js │ ├── array_declaration_with_spaces.js │ ├── correctly_aligned_function_brackets.js │ ├── correctly_indented_contract.js │ ├── expression_with_mixed_tabs_and_spaces.js │ ├── expressions_with_correct_comma_align.js │ ├── expressions_with_correct_indents.js │ ├── expressions_with_correct_semicolon_align.js │ ├── expressions_with_incorrect_comma_align.js │ ├── expressions_with_incorrect_indents.js │ ├── expressions_with_incorrect_semicolon_align.js │ ├── incorrectly_aligned_forloop_brackets.js │ ├── incorrectly_aligned_function_brackets.js │ ├── incorrectly_indented_contract.js │ ├── statements_with_correct_indents.js │ └── statements_with_incorrect_indents.js ├── best-practices │ ├── --fallback-not-payable.js │ ├── --fallback-payable.js │ ├── code-complexity-high.js │ ├── code-complexity-low.js │ ├── explicit-types.js │ ├── number-of-states-high.js │ ├── number-of-states-low.js │ ├── one-contract-per-file.js │ ├── require-with-reason.js │ └── require-without-reason.js ├── gas-consumption │ └── gas-struct-packing-data.js ├── miscellaneous │ ├── duplicated-imports-data.js │ ├── import-path-check.js │ ├── public-function-no-override.js │ ├── public-function-with-override.js │ ├── string-with-double-quotes.js │ └── string-with-single-quotes.js ├── naming │ ├── func-named-parameters.js │ └── named-parameters-mapping.js ├── order │ ├── ordering-correct.js │ ├── ordering-incorrect.js │ ├── visibility-modifier-first.js │ └── visibility-modifier-not-first.js └── security │ ├── contracts-with-free-functions.js │ ├── functions-with-visibility.js │ ├── functions-without-visibility.js │ ├── low-level-calls.js │ ├── reentrancy-invulnerable.js │ └── reentrancy-vulnerable.js ├── helpers └── solhint_config_test.json ├── parse-error.js └── rules ├── best-practices ├── code-complexity.js ├── explicit-types.js ├── function-max-lines.js ├── interface-starts-with-i.js ├── max-line-length.js ├── max-states-count.js ├── no-console.js ├── no-empty-blocks.js ├── no-global-import.js ├── no-unused-import.js ├── no-unused-vars.js ├── one-contract-per-file.js ├── payable-fallback.js ├── reason-string.js └── use-natspec.js ├── deprecations └── constructor-syntax.js ├── gas-consumption ├── gas-calldata-parameters.js ├── gas-custom-errors.js ├── gas-increment-by-one.js ├── gas-indexed-events.js ├── gas-length-in-loops.js ├── gas-multitoken1155.js ├── gas-named-return-values.js ├── gas-small-strings.js ├── gas-strict-inequalities.js └── gas-struct-packing.js ├── miscellaneous ├── comprehensive-interface.js ├── config-hierarchy.js ├── duplicated-imports.js ├── import-path-check.js └── quotes.js ├── naming ├── const-name-snakecase.js ├── contract-name-capwords.js ├── event-name-capwords.js ├── foundry-test-function-naming.js ├── foundry-test-functions.js ├── func-name-mixedcase.js ├── func-named-parameters.js ├── func-param-name-mixedcase.js ├── immutable-vars-naming.js ├── modifier-name-mixedcase.js ├── named-parameters-mapping.js ├── private-vars-leading-underscore.js ├── use-forbidden-name.js └── var-name-mixedcase.js ├── order ├── imports-on-top.js ├── imports-order.js ├── ordering.js └── visibility-modifier-order.js └── security ├── avoid-call-value.js ├── avoid-low-level-calls.js ├── avoid-sha3.js ├── avoid-suicide.js ├── avoid-throw.js ├── avoid-tx-origin.js ├── check-send-result.js ├── compiler-version.js ├── func-visibility.js ├── multiple-sends.js ├── no-complex-fallback.js ├── no-inline-assembly.js ├── not-rely-on-block-hash.js ├── not-rely-on-time.js ├── reentrancy.js └── state-visibility.js /.coveralls.yml: -------------------------------------------------------------------------------- 1 | repo_token: mkBlONxsK3bKnfkvXoIJRg8AmpBaBeLp4 -------------------------------------------------------------------------------- /.dockerignore: -------------------------------------------------------------------------------- 1 | .git/ 2 | node_modules/ 3 | -------------------------------------------------------------------------------- /.eslintignore: -------------------------------------------------------------------------------- 1 | coverage 2 | node_modules 3 | e2e 4 | /_temp 5 | -------------------------------------------------------------------------------- /.eslintrc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.eslintrc.js -------------------------------------------------------------------------------- /.gitattributes: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.gitattributes -------------------------------------------------------------------------------- /.github/workflows/DOCKER.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.github/workflows/DOCKER.yml -------------------------------------------------------------------------------- /.github/workflows/E2E.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.github/workflows/E2E.yml -------------------------------------------------------------------------------- /.github/workflows/PRE-COMMIT-HOOK-TEST.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.github/workflows/PRE-COMMIT-HOOK-TEST.yml -------------------------------------------------------------------------------- /.github/workflows/TESTS.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.github/workflows/TESTS.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.gitignore -------------------------------------------------------------------------------- /.pre-commit-hooks.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.pre-commit-hooks.yaml -------------------------------------------------------------------------------- /.prettierrc: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/.prettierrc -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /DEV-README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/DEV-README.md -------------------------------------------------------------------------------- /LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/LICENSE -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/README.md -------------------------------------------------------------------------------- /conf/rulesets/solhint-all.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/conf/rulesets/solhint-all.js -------------------------------------------------------------------------------- /conf/rulesets/solhint-recommended.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/conf/rulesets/solhint-recommended.js -------------------------------------------------------------------------------- /docker/Dockerfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docker/Dockerfile -------------------------------------------------------------------------------- /docker/docker.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docker/docker.md -------------------------------------------------------------------------------- /docs/_includes/head.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/_includes/head.html -------------------------------------------------------------------------------- /docs/_includes/page-footer.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/_includes/page-footer.html -------------------------------------------------------------------------------- /docs/_includes/page-header.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/_includes/page-header.html -------------------------------------------------------------------------------- /docs/_layouts/default.html: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/_layouts/default.html -------------------------------------------------------------------------------- /docs/architecture.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/architecture.md -------------------------------------------------------------------------------- /docs/configuration.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/configuration.md -------------------------------------------------------------------------------- /docs/contributing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/contributing.md -------------------------------------------------------------------------------- /docs/css/cayman.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/css/cayman.css -------------------------------------------------------------------------------- /docs/css/normalize.css: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/css/normalize.css -------------------------------------------------------------------------------- /docs/rules.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules.md -------------------------------------------------------------------------------- /docs/rules/best-practices/code-complexity.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/code-complexity.md -------------------------------------------------------------------------------- /docs/rules/best-practices/constructor-syntax.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/constructor-syntax.md -------------------------------------------------------------------------------- /docs/rules/best-practices/explicit-types.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/explicit-types.md -------------------------------------------------------------------------------- /docs/rules/best-practices/function-max-lines.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/function-max-lines.md -------------------------------------------------------------------------------- /docs/rules/best-practices/max-line-length.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/max-line-length.md -------------------------------------------------------------------------------- /docs/rules/best-practices/max-states-count.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/max-states-count.md -------------------------------------------------------------------------------- /docs/rules/best-practices/no-console.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/no-console.md -------------------------------------------------------------------------------- /docs/rules/best-practices/no-empty-blocks.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/no-empty-blocks.md -------------------------------------------------------------------------------- /docs/rules/best-practices/no-global-import.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/no-global-import.md -------------------------------------------------------------------------------- /docs/rules/best-practices/no-unused-import.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/no-unused-import.md -------------------------------------------------------------------------------- /docs/rules/best-practices/no-unused-vars.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/no-unused-vars.md -------------------------------------------------------------------------------- /docs/rules/best-practices/one-contract-per-file.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/one-contract-per-file.md -------------------------------------------------------------------------------- /docs/rules/best-practices/payable-fallback.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/payable-fallback.md -------------------------------------------------------------------------------- /docs/rules/best-practices/reason-string.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/reason-string.md -------------------------------------------------------------------------------- /docs/rules/best-practices/use-natspec.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/best-practices/use-natspec.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-calldata-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-calldata-parameters.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-custom-errors.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-custom-errors.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-increment-by-one.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-increment-by-one.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-indexed-events.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-indexed-events.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-length-in-loops.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-length-in-loops.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-multitoken1155.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-multitoken1155.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-named-return-values.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-named-return-values.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-small-strings.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-small-strings.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-strict-inequalities.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-strict-inequalities.md -------------------------------------------------------------------------------- /docs/rules/gas-consumption/gas-struct-packing.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/gas-consumption/gas-struct-packing.md -------------------------------------------------------------------------------- /docs/rules/miscellaneous/comprehensive-interface.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/miscellaneous/comprehensive-interface.md -------------------------------------------------------------------------------- /docs/rules/miscellaneous/duplicated-imports.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/miscellaneous/duplicated-imports.md -------------------------------------------------------------------------------- /docs/rules/miscellaneous/import-path-check.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/miscellaneous/import-path-check.md -------------------------------------------------------------------------------- /docs/rules/miscellaneous/quotes.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/miscellaneous/quotes.md -------------------------------------------------------------------------------- /docs/rules/naming/const-name-snakecase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/const-name-snakecase.md -------------------------------------------------------------------------------- /docs/rules/naming/contract-name-camelcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/contract-name-camelcase.md -------------------------------------------------------------------------------- /docs/rules/naming/contract-name-capwords.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/contract-name-capwords.md -------------------------------------------------------------------------------- /docs/rules/naming/event-name-camelcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/event-name-camelcase.md -------------------------------------------------------------------------------- /docs/rules/naming/event-name-capwords.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/event-name-capwords.md -------------------------------------------------------------------------------- /docs/rules/naming/event-name-pascalcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/event-name-pascalcase.md -------------------------------------------------------------------------------- /docs/rules/naming/foundry-test-function-naming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/foundry-test-function-naming.md -------------------------------------------------------------------------------- /docs/rules/naming/foundry-test-functions.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/foundry-test-functions.md -------------------------------------------------------------------------------- /docs/rules/naming/func-name-mixedcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/func-name-mixedcase.md -------------------------------------------------------------------------------- /docs/rules/naming/func-named-parameters.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/func-named-parameters.md -------------------------------------------------------------------------------- /docs/rules/naming/func-param-name-mixedcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/func-param-name-mixedcase.md -------------------------------------------------------------------------------- /docs/rules/naming/immutable-vars-naming.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/immutable-vars-naming.md -------------------------------------------------------------------------------- /docs/rules/naming/interface-starts-with-i.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/interface-starts-with-i.md -------------------------------------------------------------------------------- /docs/rules/naming/modifier-name-mixedcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/modifier-name-mixedcase.md -------------------------------------------------------------------------------- /docs/rules/naming/named-parameters-mapping.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/named-parameters-mapping.md -------------------------------------------------------------------------------- /docs/rules/naming/private-vars-leading-underscore.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/private-vars-leading-underscore.md -------------------------------------------------------------------------------- /docs/rules/naming/use-forbidden-name.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/use-forbidden-name.md -------------------------------------------------------------------------------- /docs/rules/naming/var-name-mixedcase.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/naming/var-name-mixedcase.md -------------------------------------------------------------------------------- /docs/rules/order/func-order.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/order/func-order.md -------------------------------------------------------------------------------- /docs/rules/order/imports-on-top.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/order/imports-on-top.md -------------------------------------------------------------------------------- /docs/rules/order/imports-order.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/order/imports-order.md -------------------------------------------------------------------------------- /docs/rules/order/ordering.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/order/ordering.md -------------------------------------------------------------------------------- /docs/rules/order/visibility-modifier-order.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/order/visibility-modifier-order.md -------------------------------------------------------------------------------- /docs/rules/security/avoid-call-value.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/avoid-call-value.md -------------------------------------------------------------------------------- /docs/rules/security/avoid-low-level-calls.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/avoid-low-level-calls.md -------------------------------------------------------------------------------- /docs/rules/security/avoid-sha3.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/avoid-sha3.md -------------------------------------------------------------------------------- /docs/rules/security/avoid-suicide.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/avoid-suicide.md -------------------------------------------------------------------------------- /docs/rules/security/avoid-throw.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/avoid-throw.md -------------------------------------------------------------------------------- /docs/rules/security/avoid-tx-origin.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/avoid-tx-origin.md -------------------------------------------------------------------------------- /docs/rules/security/check-send-result.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/check-send-result.md -------------------------------------------------------------------------------- /docs/rules/security/compiler-version.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/compiler-version.md -------------------------------------------------------------------------------- /docs/rules/security/func-visibility.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/func-visibility.md -------------------------------------------------------------------------------- /docs/rules/security/multiple-sends.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/multiple-sends.md -------------------------------------------------------------------------------- /docs/rules/security/no-complex-fallback.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/no-complex-fallback.md -------------------------------------------------------------------------------- /docs/rules/security/no-inline-assembly.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/no-inline-assembly.md -------------------------------------------------------------------------------- /docs/rules/security/not-rely-on-block-hash.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/not-rely-on-block-hash.md -------------------------------------------------------------------------------- /docs/rules/security/not-rely-on-time.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/not-rely-on-time.md -------------------------------------------------------------------------------- /docs/rules/security/reentrancy.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/reentrancy.md -------------------------------------------------------------------------------- /docs/rules/security/state-visibility.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/rules/security/state-visibility.md -------------------------------------------------------------------------------- /docs/shareable-configs.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/shareable-configs.md -------------------------------------------------------------------------------- /docs/use-in-app.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/use-in-app.md -------------------------------------------------------------------------------- /docs/writing-plugins.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/docs/writing-plugins.md -------------------------------------------------------------------------------- /e2e/01-no-config/Foo.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.5.0; 2 | 3 | contract Foo { 4 | } 5 | -------------------------------------------------------------------------------- /e2e/02-empty-solhint-json/.solhint.json: -------------------------------------------------------------------------------- 1 | {} 2 | -------------------------------------------------------------------------------- /e2e/02-empty-solhint-json/Foo.sol: -------------------------------------------------------------------------------- 1 | pragma solidity ^0.5.0; 2 | 3 | contract Foo { 4 | } 5 | -------------------------------------------------------------------------------- /e2e/03-no-empty-blocks/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/03-no-empty-blocks/.solhint.json -------------------------------------------------------------------------------- /e2e/03-no-empty-blocks/Foo.sol: -------------------------------------------------------------------------------- 1 | pragma solidity >=0.5.0; 2 | 3 | contract Foo { 4 | } 5 | -------------------------------------------------------------------------------- /e2e/04-dotSol-on-path/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/04-dotSol-on-path/.solhint.json -------------------------------------------------------------------------------- /e2e/04-dotSol-on-path/contracts/ERC20.sol/ERC20.dbg.js: -------------------------------------------------------------------------------- 1 | -------------------------------------------------------------------------------- /e2e/04-dotSol-on-path/contracts/ERC20.sol/Foo.sol: -------------------------------------------------------------------------------- 1 | pragma solidity >=0.5.0; 2 | 3 | contract Foo { 4 | } 5 | -------------------------------------------------------------------------------- /e2e/05-max-warnings/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/05-max-warnings/.solhint.json -------------------------------------------------------------------------------- /e2e/05-max-warnings/contracts/Foo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/05-max-warnings/contracts/Foo.sol -------------------------------------------------------------------------------- /e2e/05-max-warnings/contracts/Foo2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/05-max-warnings/contracts/Foo2.sol -------------------------------------------------------------------------------- /e2e/06-formatters/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/06-formatters/.solhint.json -------------------------------------------------------------------------------- /e2e/06-formatters/contracts/Foo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/06-formatters/contracts/Foo.sol -------------------------------------------------------------------------------- /e2e/06-formatters/contracts/Foo2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/06-formatters/contracts/Foo2.sol -------------------------------------------------------------------------------- /e2e/06-formatters/contracts/Foo3.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/06-formatters/contracts/Foo3.sol -------------------------------------------------------------------------------- /e2e/06-formatters/helpers/helpers.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/06-formatters/helpers/helpers.js -------------------------------------------------------------------------------- /e2e/07-foundry-test/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/07-foundry-test/.solhint.json -------------------------------------------------------------------------------- /e2e/07-foundry-test/contracts/Foo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/07-foundry-test/contracts/Foo.sol -------------------------------------------------------------------------------- /e2e/07-foundry-test/test/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/07-foundry-test/test/.solhint.json -------------------------------------------------------------------------------- /e2e/07-foundry-test/test/FooTest.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/07-foundry-test/test/FooTest.sol -------------------------------------------------------------------------------- /e2e/07-foundry-test/test/Test.sol: -------------------------------------------------------------------------------- 1 | // SPDX-License-Identifier: MIT 2 | pragma solidity >=0.6.0; 3 | 4 | contract Test {} 5 | -------------------------------------------------------------------------------- /e2e/08-autofix/_commands/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/_commands/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/_commands/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/_commands/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/_commands/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/_commands/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/_commands/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/_commands/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/avoid-suicide/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/avoid-suicide/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/avoid-suicide/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/avoid-suicide/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/avoid-suicide/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/avoid-suicide/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/avoid-suicide/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/avoid-suicide/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/contract-name-capwords/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/contract-name-capwords/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/contract-name-capwords/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/contract-name-capwords/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/contract-name-capwords/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/contract-name-capwords/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/contract-name-capwords/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/contract-name-capwords/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/event-name-capwords/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/event-name-capwords/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/event-name-capwords/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/event-name-capwords/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/event-name-capwords/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/event-name-capwords/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/event-name-capwords/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/event-name-capwords/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/explicit-types/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/explicit-types/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/explicit-types/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/explicit-types/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/explicit-types/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/explicit-types/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/explicit-types/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/explicit-types/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/Foo2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/Foo2.sol -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/Foo2AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/Foo2AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/imports-order/Foo2BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/imports-order/Foo2BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/no-console/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-console/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/no-console/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-console/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/no-console/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-console/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/no-console/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-console/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/no-unused-import/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-unused-import/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/no-unused-import/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-unused-import/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/no-unused-import/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-unused-import/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/no-unused-import/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/no-unused-import/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/payable-fallback/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/payable-fallback/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/payable-fallback/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/payable-fallback/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/payable-fallback/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/payable-fallback/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/payable-fallback/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/payable-fallback/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/private-vars-underscore/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/private-vars-underscore/.solhint.json -------------------------------------------------------------------------------- /e2e/08-autofix/private-vars-underscore/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/private-vars-underscore/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/private-vars-underscore/Foo1AfterFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/private-vars-underscore/Foo1AfterFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/private-vars-underscore/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/private-vars-underscore/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/08-autofix/quotes/.doubleQuotes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/quotes/.doubleQuotes.json -------------------------------------------------------------------------------- /e2e/08-autofix/quotes/.singleQuotes.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/quotes/.singleQuotes.json -------------------------------------------------------------------------------- /e2e/08-autofix/quotes/Foo1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/quotes/Foo1.sol -------------------------------------------------------------------------------- /e2e/08-autofix/quotes/Foo1AfterFixDouble.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/quotes/Foo1AfterFixDouble.sol -------------------------------------------------------------------------------- /e2e/08-autofix/quotes/Foo1AfterFixSingle.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/quotes/Foo1AfterFixSingle.sol -------------------------------------------------------------------------------- /e2e/08-autofix/quotes/Foo1BeforeFix.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/08-autofix/quotes/Foo1BeforeFix.sol -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem01/project/.solhintS01.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { "import-path-check": [ "error", [] ] } 3 | } 4 | -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem01/project/contracts/Lib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/10-import-path-check/filesystem01/project/contracts/Lib.sol -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem01/project/contracts/Test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/10-import-path-check/filesystem01/project/contracts/Test.sol -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem02/project/.solhintS02.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { "import-path-check": [ "error", ["/blockchain"] ] } 3 | } 4 | -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem02/project/contracts/Test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/10-import-path-check/filesystem02/project/contracts/Test.sol -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem02/project/shared/Helper.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/10-import-path-check/filesystem02/project/shared/Helper.sol -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem03/project/.solhintS03.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { "import-path-check": [ "error", [] ] } 3 | } 4 | -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem03/project/contracts/Test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/10-import-path-check/filesystem03/project/contracts/Test.sol -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem04/project/.solhintF04.json: -------------------------------------------------------------------------------- 1 | { 2 | "rules": { "import-path-check": [ "error", [] ] } 3 | } 4 | -------------------------------------------------------------------------------- /e2e/10-import-path-check/filesystem04/project/contracts/Test.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/10-import-path-check/filesystem04/project/contracts/Test.sol -------------------------------------------------------------------------------- /e2e/11-multiple-configs/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/11-multiple-configs/.solhint.json -------------------------------------------------------------------------------- /e2e/11-multiple-configs/contracts/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/11-multiple-configs/contracts/.solhint.json -------------------------------------------------------------------------------- /e2e/11-multiple-configs/contracts/RootAndContractRules.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/11-multiple-configs/contracts/RootAndContractRules.sol -------------------------------------------------------------------------------- /e2e/11-multiple-configs/src/RootRules.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/11-multiple-configs/src/RootRules.sol -------------------------------------------------------------------------------- /e2e/11-multiple-configs/src/interfaces/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/11-multiple-configs/src/interfaces/.solhint.json -------------------------------------------------------------------------------- /e2e/11-multiple-configs/src/interfaces/InterfaceRules.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/11-multiple-configs/src/interfaces/InterfaceRules.sol -------------------------------------------------------------------------------- /e2e/12-cache-support/.solhint.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/12-cache-support/.solhint.json -------------------------------------------------------------------------------- /e2e/12-cache-support/Foo.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/12-cache-support/Foo.sol -------------------------------------------------------------------------------- /e2e/12-cache-support/FooError.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/12-cache-support/FooError.sol -------------------------------------------------------------------------------- /e2e/12-cache-support/FooValid.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/12-cache-support/FooValid.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem01/project/.solhintS01.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem01/project/.solhintS01.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem01/project/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/Skip.sol 2 | -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem01/project/contracts/Lib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem01/project/contracts/Lib.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem01/project/contracts/Skip.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem01/project/contracts/Skip.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem02/project/.solhintS02.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem02/project/.solhintS02.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem02/project/.solhintignore: -------------------------------------------------------------------------------- 1 | contracts/skip/ 2 | -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem02/project/contracts/Lib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem02/project/contracts/Lib.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem02/project/contracts/skip/Skip1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem02/project/contracts/skip/Skip1.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem02/project/contracts/skip/Skip2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem02/project/contracts/skip/Skip2.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem03/project/.solhintS03.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem03/project/.solhintS03.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem03/project/.solhintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem03/project/.solhintignore -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem03/project/contracts/Lib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem03/project/contracts/Lib.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem03/project/contracts/Skip.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem03/project/contracts/Skip.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem04/project/.solhintS04.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem04/project/.solhintS04.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem04/project/.solhintignore: -------------------------------------------------------------------------------- 1 | **/*.sol 2 | -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem04/project/contracts/Lib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem04/project/contracts/Lib.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem04/project/contracts/Skip.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem04/project/contracts/Skip.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/.solhintS05.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/.solhintS05.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/.solhintignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/.solhintignore -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/Lib1.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/Lib1.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/Lib2.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/Lib2.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/Skip.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/Skip.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/permit/ERC20Permit.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/permit/ERC20Permit.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/standard/ERC20A.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/standard/ERC20A.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/standard/ERC20B.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/erc20/standard/ERC20B.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/nfts/Nft.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem05/project/contracts/tokens/nfts/Nft.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem06/project/.solhintS06.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem06/project/.solhintS06.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem07/project/.ignoresolhint: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem07/project/.ignoresolhint -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem07/project/.solhintS07.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem07/project/.solhintS07.json -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem07/project/contracts/Lib.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem07/project/contracts/Lib.sol -------------------------------------------------------------------------------- /e2e/13-solhintignore-check/filesystem07/project/contracts/Skip.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/13-solhintignore-check/filesystem07/project/contracts/Skip.sol -------------------------------------------------------------------------------- /e2e/autofix-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/autofix-test.js -------------------------------------------------------------------------------- /e2e/formatters-test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/formatters-test.js -------------------------------------------------------------------------------- /e2e/pre-commit-hook/.solhint.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": "solhint:recommended" 3 | } 4 | -------------------------------------------------------------------------------- /e2e/pre-commit-hook/Counter.sol: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/pre-commit-hook/Counter.sol -------------------------------------------------------------------------------- /e2e/pre-commit-hook/test.sh: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/pre-commit-hook/test.sh -------------------------------------------------------------------------------- /e2e/test.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/e2e/test.js -------------------------------------------------------------------------------- /funding.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/funding.json -------------------------------------------------------------------------------- /lib/apply-fixes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/apply-fixes.js -------------------------------------------------------------------------------- /lib/cache/cache-manager.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/cache/cache-manager.js -------------------------------------------------------------------------------- /lib/comment-directive-parser.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/comment-directive-parser.js -------------------------------------------------------------------------------- /lib/common/ajv.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/ajv.js -------------------------------------------------------------------------------- /lib/common/ast-printer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/ast-printer.js -------------------------------------------------------------------------------- /lib/common/ast-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/ast-types.js -------------------------------------------------------------------------------- /lib/common/blank-line-counter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/blank-line-counter.js -------------------------------------------------------------------------------- /lib/common/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/errors.js -------------------------------------------------------------------------------- /lib/common/identifier-naming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/identifier-naming.js -------------------------------------------------------------------------------- /lib/common/statements-indent-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/statements-indent-validator.js -------------------------------------------------------------------------------- /lib/common/tokens.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/tokens.js -------------------------------------------------------------------------------- /lib/common/tree-traversing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/tree-traversing.js -------------------------------------------------------------------------------- /lib/common/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/common/utils.js -------------------------------------------------------------------------------- /lib/config.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/config.js -------------------------------------------------------------------------------- /lib/config/config-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/config/config-file.js -------------------------------------------------------------------------------- /lib/config/config-schema.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/config/config-schema.js -------------------------------------------------------------------------------- /lib/config/config-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/config/config-validator.js -------------------------------------------------------------------------------- /lib/doc/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/doc/utils.js -------------------------------------------------------------------------------- /lib/formatters/LICENSE: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/LICENSE -------------------------------------------------------------------------------- /lib/formatters/README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/README.md -------------------------------------------------------------------------------- /lib/formatters/compact.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/compact.js -------------------------------------------------------------------------------- /lib/formatters/json.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/json.js -------------------------------------------------------------------------------- /lib/formatters/sarif.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/sarif.js -------------------------------------------------------------------------------- /lib/formatters/stylish.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/stylish.js -------------------------------------------------------------------------------- /lib/formatters/table.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/table.js -------------------------------------------------------------------------------- /lib/formatters/tap.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/tap.js -------------------------------------------------------------------------------- /lib/formatters/unix.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/formatters/unix.js -------------------------------------------------------------------------------- /lib/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/index.js -------------------------------------------------------------------------------- /lib/load-rules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/load-rules.js -------------------------------------------------------------------------------- /lib/reporter.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/reporter.js -------------------------------------------------------------------------------- /lib/rule-fixer.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rule-fixer.js -------------------------------------------------------------------------------- /lib/rules/base-checker.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/base-checker.js -------------------------------------------------------------------------------- /lib/rules/best-practices/code-complexity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/code-complexity.js -------------------------------------------------------------------------------- /lib/rules/best-practices/explicit-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/explicit-types.js -------------------------------------------------------------------------------- /lib/rules/best-practices/function-max-lines.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/function-max-lines.js -------------------------------------------------------------------------------- /lib/rules/best-practices/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/index.js -------------------------------------------------------------------------------- /lib/rules/best-practices/interface-starts-with-i.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/interface-starts-with-i.js -------------------------------------------------------------------------------- /lib/rules/best-practices/max-line-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/max-line-length.js -------------------------------------------------------------------------------- /lib/rules/best-practices/max-states-count.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/max-states-count.js -------------------------------------------------------------------------------- /lib/rules/best-practices/no-console.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/no-console.js -------------------------------------------------------------------------------- /lib/rules/best-practices/no-empty-blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/no-empty-blocks.js -------------------------------------------------------------------------------- /lib/rules/best-practices/no-global-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/no-global-import.js -------------------------------------------------------------------------------- /lib/rules/best-practices/no-unused-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/no-unused-import.js -------------------------------------------------------------------------------- /lib/rules/best-practices/no-unused-vars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/no-unused-vars.js -------------------------------------------------------------------------------- /lib/rules/best-practices/one-contract-per-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/one-contract-per-file.js -------------------------------------------------------------------------------- /lib/rules/best-practices/payable-fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/payable-fallback.js -------------------------------------------------------------------------------- /lib/rules/best-practices/reason-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/reason-string.js -------------------------------------------------------------------------------- /lib/rules/best-practices/use-natspec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/best-practices/use-natspec.js -------------------------------------------------------------------------------- /lib/rules/deprecations/base-deprecation.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/deprecations/base-deprecation.js -------------------------------------------------------------------------------- /lib/rules/deprecations/constructor-syntax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/deprecations/constructor-syntax.js -------------------------------------------------------------------------------- /lib/rules/deprecations/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/deprecations/index.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-calldata-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-calldata-parameters.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-custom-errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-custom-errors.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-increment-by-one.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-increment-by-one.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-indexed-events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-indexed-events.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-length-in-loops.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-length-in-loops.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-multitoken1155.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-multitoken1155.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-named-return-values.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-named-return-values.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-small-strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-small-strings.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-strict-inequalities.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-strict-inequalities.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/gas-struct-packing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/gas-struct-packing.js -------------------------------------------------------------------------------- /lib/rules/gas-consumption/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/gas-consumption/index.js -------------------------------------------------------------------------------- /lib/rules/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/index.js -------------------------------------------------------------------------------- /lib/rules/miscellaneous/comprehensive-interface.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/miscellaneous/comprehensive-interface.js -------------------------------------------------------------------------------- /lib/rules/miscellaneous/duplicated-imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/miscellaneous/duplicated-imports.js -------------------------------------------------------------------------------- /lib/rules/miscellaneous/import-path-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/miscellaneous/import-path-check.js -------------------------------------------------------------------------------- /lib/rules/miscellaneous/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/miscellaneous/index.js -------------------------------------------------------------------------------- /lib/rules/miscellaneous/quotes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/miscellaneous/quotes.js -------------------------------------------------------------------------------- /lib/rules/naming/const-name-snakecase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/const-name-snakecase.js -------------------------------------------------------------------------------- /lib/rules/naming/contract-name-capwords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/contract-name-capwords.js -------------------------------------------------------------------------------- /lib/rules/naming/event-name-capwords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/event-name-capwords.js -------------------------------------------------------------------------------- /lib/rules/naming/foundry-test-function-naming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/foundry-test-function-naming.js -------------------------------------------------------------------------------- /lib/rules/naming/foundry-test-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/foundry-test-functions.js -------------------------------------------------------------------------------- /lib/rules/naming/func-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/func-name-mixedcase.js -------------------------------------------------------------------------------- /lib/rules/naming/func-named-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/func-named-parameters.js -------------------------------------------------------------------------------- /lib/rules/naming/func-param-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/func-param-name-mixedcase.js -------------------------------------------------------------------------------- /lib/rules/naming/immutable-vars-naming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/immutable-vars-naming.js -------------------------------------------------------------------------------- /lib/rules/naming/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/index.js -------------------------------------------------------------------------------- /lib/rules/naming/modifier-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/modifier-name-mixedcase.js -------------------------------------------------------------------------------- /lib/rules/naming/named-parameters-mapping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/named-parameters-mapping.js -------------------------------------------------------------------------------- /lib/rules/naming/private-vars-leading-underscore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/private-vars-leading-underscore.js -------------------------------------------------------------------------------- /lib/rules/naming/use-forbidden-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/use-forbidden-name.js -------------------------------------------------------------------------------- /lib/rules/naming/var-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/naming/var-name-mixedcase.js -------------------------------------------------------------------------------- /lib/rules/order/imports-on-top.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/order/imports-on-top.js -------------------------------------------------------------------------------- /lib/rules/order/imports-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/order/imports-order.js -------------------------------------------------------------------------------- /lib/rules/order/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/order/index.js -------------------------------------------------------------------------------- /lib/rules/order/ordering.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/order/ordering.js -------------------------------------------------------------------------------- /lib/rules/order/visibility-modifier-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/order/visibility-modifier-order.js -------------------------------------------------------------------------------- /lib/rules/security/avoid-call-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/avoid-call-value.js -------------------------------------------------------------------------------- /lib/rules/security/avoid-low-level-calls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/avoid-low-level-calls.js -------------------------------------------------------------------------------- /lib/rules/security/avoid-sha3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/avoid-sha3.js -------------------------------------------------------------------------------- /lib/rules/security/avoid-suicide.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/avoid-suicide.js -------------------------------------------------------------------------------- /lib/rules/security/avoid-throw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/avoid-throw.js -------------------------------------------------------------------------------- /lib/rules/security/avoid-tx-origin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/avoid-tx-origin.js -------------------------------------------------------------------------------- /lib/rules/security/check-send-result.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/check-send-result.js -------------------------------------------------------------------------------- /lib/rules/security/compiler-version.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/compiler-version.js -------------------------------------------------------------------------------- /lib/rules/security/func-visibility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/func-visibility.js -------------------------------------------------------------------------------- /lib/rules/security/index.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/index.js -------------------------------------------------------------------------------- /lib/rules/security/multiple-sends.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/multiple-sends.js -------------------------------------------------------------------------------- /lib/rules/security/no-complex-fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/no-complex-fallback.js -------------------------------------------------------------------------------- /lib/rules/security/no-inline-assembly.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/no-inline-assembly.js -------------------------------------------------------------------------------- /lib/rules/security/not-rely-on-block-hash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/not-rely-on-block-hash.js -------------------------------------------------------------------------------- /lib/rules/security/not-rely-on-time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/not-rely-on-time.js -------------------------------------------------------------------------------- /lib/rules/security/reentrancy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/reentrancy.js -------------------------------------------------------------------------------- /lib/rules/security/state-visibility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/rules/security/state-visibility.js -------------------------------------------------------------------------------- /lib/tree-listener.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/lib/tree-listener.js -------------------------------------------------------------------------------- /package.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/package.json -------------------------------------------------------------------------------- /scripts/check-changes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/scripts/check-changes.js -------------------------------------------------------------------------------- /scripts/generate-rule-docs.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/scripts/generate-rule-docs.js -------------------------------------------------------------------------------- /scripts/generate-rulesets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/scripts/generate-rulesets.js -------------------------------------------------------------------------------- /solhint-icon.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/solhint-icon.png -------------------------------------------------------------------------------- /solhint.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/solhint.js -------------------------------------------------------------------------------- /solhint.png: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/solhint.png -------------------------------------------------------------------------------- /test/common/apply-extends.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/apply-extends.js -------------------------------------------------------------------------------- /test/common/apply-fixes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/apply-fixes.js -------------------------------------------------------------------------------- /test/common/asserts.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/asserts.js -------------------------------------------------------------------------------- /test/common/config-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/config-file.js -------------------------------------------------------------------------------- /test/common/config-validator.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/config-validator.js -------------------------------------------------------------------------------- /test/common/contract-builder.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/contract-builder.js -------------------------------------------------------------------------------- /test/common/errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/errors.js -------------------------------------------------------------------------------- /test/common/load-rules.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/load-rules.js -------------------------------------------------------------------------------- /test/common/misc.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/misc.js -------------------------------------------------------------------------------- /test/common/utils.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/common/utils.js -------------------------------------------------------------------------------- /test/fixtures/align/array_declaration.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/array_declaration.js -------------------------------------------------------------------------------- /test/fixtures/align/array_declaration_with_spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/array_declaration_with_spaces.js -------------------------------------------------------------------------------- /test/fixtures/align/correctly_aligned_function_brackets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/correctly_aligned_function_brackets.js -------------------------------------------------------------------------------- /test/fixtures/align/correctly_indented_contract.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/correctly_indented_contract.js -------------------------------------------------------------------------------- /test/fixtures/align/expression_with_mixed_tabs_and_spaces.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expression_with_mixed_tabs_and_spaces.js -------------------------------------------------------------------------------- /test/fixtures/align/expressions_with_correct_comma_align.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expressions_with_correct_comma_align.js -------------------------------------------------------------------------------- /test/fixtures/align/expressions_with_correct_indents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expressions_with_correct_indents.js -------------------------------------------------------------------------------- /test/fixtures/align/expressions_with_correct_semicolon_align.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expressions_with_correct_semicolon_align.js -------------------------------------------------------------------------------- /test/fixtures/align/expressions_with_incorrect_comma_align.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expressions_with_incorrect_comma_align.js -------------------------------------------------------------------------------- /test/fixtures/align/expressions_with_incorrect_indents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expressions_with_incorrect_indents.js -------------------------------------------------------------------------------- /test/fixtures/align/expressions_with_incorrect_semicolon_align.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/expressions_with_incorrect_semicolon_align.js -------------------------------------------------------------------------------- /test/fixtures/align/incorrectly_aligned_forloop_brackets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/incorrectly_aligned_forloop_brackets.js -------------------------------------------------------------------------------- /test/fixtures/align/incorrectly_aligned_function_brackets.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/incorrectly_aligned_function_brackets.js -------------------------------------------------------------------------------- /test/fixtures/align/incorrectly_indented_contract.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/incorrectly_indented_contract.js -------------------------------------------------------------------------------- /test/fixtures/align/statements_with_correct_indents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/statements_with_correct_indents.js -------------------------------------------------------------------------------- /test/fixtures/align/statements_with_incorrect_indents.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/align/statements_with_incorrect_indents.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/--fallback-not-payable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/--fallback-not-payable.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/--fallback-payable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/--fallback-payable.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/code-complexity-high.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/code-complexity-high.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/code-complexity-low.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/code-complexity-low.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/explicit-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/explicit-types.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/number-of-states-high.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/number-of-states-high.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/number-of-states-low.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/number-of-states-low.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/one-contract-per-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/one-contract-per-file.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/require-with-reason.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/require-with-reason.js -------------------------------------------------------------------------------- /test/fixtures/best-practices/require-without-reason.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/best-practices/require-without-reason.js -------------------------------------------------------------------------------- /test/fixtures/gas-consumption/gas-struct-packing-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/gas-consumption/gas-struct-packing-data.js -------------------------------------------------------------------------------- /test/fixtures/miscellaneous/duplicated-imports-data.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/miscellaneous/duplicated-imports-data.js -------------------------------------------------------------------------------- /test/fixtures/miscellaneous/import-path-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/miscellaneous/import-path-check.js -------------------------------------------------------------------------------- /test/fixtures/miscellaneous/public-function-no-override.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/miscellaneous/public-function-no-override.js -------------------------------------------------------------------------------- /test/fixtures/miscellaneous/public-function-with-override.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/miscellaneous/public-function-with-override.js -------------------------------------------------------------------------------- /test/fixtures/miscellaneous/string-with-double-quotes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/miscellaneous/string-with-double-quotes.js -------------------------------------------------------------------------------- /test/fixtures/miscellaneous/string-with-single-quotes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/miscellaneous/string-with-single-quotes.js -------------------------------------------------------------------------------- /test/fixtures/naming/func-named-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/naming/func-named-parameters.js -------------------------------------------------------------------------------- /test/fixtures/naming/named-parameters-mapping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/naming/named-parameters-mapping.js -------------------------------------------------------------------------------- /test/fixtures/order/ordering-correct.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/order/ordering-correct.js -------------------------------------------------------------------------------- /test/fixtures/order/ordering-incorrect.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/order/ordering-incorrect.js -------------------------------------------------------------------------------- /test/fixtures/order/visibility-modifier-first.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/order/visibility-modifier-first.js -------------------------------------------------------------------------------- /test/fixtures/order/visibility-modifier-not-first.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/order/visibility-modifier-not-first.js -------------------------------------------------------------------------------- /test/fixtures/security/contracts-with-free-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/security/contracts-with-free-functions.js -------------------------------------------------------------------------------- /test/fixtures/security/functions-with-visibility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/security/functions-with-visibility.js -------------------------------------------------------------------------------- /test/fixtures/security/functions-without-visibility.js: -------------------------------------------------------------------------------- 1 | module.exports = ['function b() { }'] 2 | -------------------------------------------------------------------------------- /test/fixtures/security/low-level-calls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/security/low-level-calls.js -------------------------------------------------------------------------------- /test/fixtures/security/reentrancy-invulnerable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/security/reentrancy-invulnerable.js -------------------------------------------------------------------------------- /test/fixtures/security/reentrancy-vulnerable.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/fixtures/security/reentrancy-vulnerable.js -------------------------------------------------------------------------------- /test/helpers/solhint_config_test.json: -------------------------------------------------------------------------------- 1 | { 2 | "extends": ["solhint:recommended"] 3 | } -------------------------------------------------------------------------------- /test/parse-error.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/parse-error.js -------------------------------------------------------------------------------- /test/rules/best-practices/code-complexity.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/code-complexity.js -------------------------------------------------------------------------------- /test/rules/best-practices/explicit-types.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/explicit-types.js -------------------------------------------------------------------------------- /test/rules/best-practices/function-max-lines.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/function-max-lines.js -------------------------------------------------------------------------------- /test/rules/best-practices/interface-starts-with-i.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/interface-starts-with-i.js -------------------------------------------------------------------------------- /test/rules/best-practices/max-line-length.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/max-line-length.js -------------------------------------------------------------------------------- /test/rules/best-practices/max-states-count.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/max-states-count.js -------------------------------------------------------------------------------- /test/rules/best-practices/no-console.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/no-console.js -------------------------------------------------------------------------------- /test/rules/best-practices/no-empty-blocks.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/no-empty-blocks.js -------------------------------------------------------------------------------- /test/rules/best-practices/no-global-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/no-global-import.js -------------------------------------------------------------------------------- /test/rules/best-practices/no-unused-import.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/no-unused-import.js -------------------------------------------------------------------------------- /test/rules/best-practices/no-unused-vars.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/no-unused-vars.js -------------------------------------------------------------------------------- /test/rules/best-practices/one-contract-per-file.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/one-contract-per-file.js -------------------------------------------------------------------------------- /test/rules/best-practices/payable-fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/payable-fallback.js -------------------------------------------------------------------------------- /test/rules/best-practices/reason-string.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/reason-string.js -------------------------------------------------------------------------------- /test/rules/best-practices/use-natspec.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/best-practices/use-natspec.js -------------------------------------------------------------------------------- /test/rules/deprecations/constructor-syntax.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/deprecations/constructor-syntax.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-calldata-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-calldata-parameters.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-custom-errors.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-custom-errors.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-increment-by-one.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-increment-by-one.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-indexed-events.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-indexed-events.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-length-in-loops.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-length-in-loops.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-multitoken1155.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-multitoken1155.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-named-return-values.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-named-return-values.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-small-strings.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-small-strings.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-strict-inequalities.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-strict-inequalities.js -------------------------------------------------------------------------------- /test/rules/gas-consumption/gas-struct-packing.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/gas-consumption/gas-struct-packing.js -------------------------------------------------------------------------------- /test/rules/miscellaneous/comprehensive-interface.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/miscellaneous/comprehensive-interface.js -------------------------------------------------------------------------------- /test/rules/miscellaneous/config-hierarchy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/miscellaneous/config-hierarchy.js -------------------------------------------------------------------------------- /test/rules/miscellaneous/duplicated-imports.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/miscellaneous/duplicated-imports.js -------------------------------------------------------------------------------- /test/rules/miscellaneous/import-path-check.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/miscellaneous/import-path-check.js -------------------------------------------------------------------------------- /test/rules/miscellaneous/quotes.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/miscellaneous/quotes.js -------------------------------------------------------------------------------- /test/rules/naming/const-name-snakecase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/const-name-snakecase.js -------------------------------------------------------------------------------- /test/rules/naming/contract-name-capwords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/contract-name-capwords.js -------------------------------------------------------------------------------- /test/rules/naming/event-name-capwords.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/event-name-capwords.js -------------------------------------------------------------------------------- /test/rules/naming/foundry-test-function-naming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/foundry-test-function-naming.js -------------------------------------------------------------------------------- /test/rules/naming/foundry-test-functions.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/foundry-test-functions.js -------------------------------------------------------------------------------- /test/rules/naming/func-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/func-name-mixedcase.js -------------------------------------------------------------------------------- /test/rules/naming/func-named-parameters.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/func-named-parameters.js -------------------------------------------------------------------------------- /test/rules/naming/func-param-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/func-param-name-mixedcase.js -------------------------------------------------------------------------------- /test/rules/naming/immutable-vars-naming.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/immutable-vars-naming.js -------------------------------------------------------------------------------- /test/rules/naming/modifier-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/modifier-name-mixedcase.js -------------------------------------------------------------------------------- /test/rules/naming/named-parameters-mapping.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/named-parameters-mapping.js -------------------------------------------------------------------------------- /test/rules/naming/private-vars-leading-underscore.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/private-vars-leading-underscore.js -------------------------------------------------------------------------------- /test/rules/naming/use-forbidden-name.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/use-forbidden-name.js -------------------------------------------------------------------------------- /test/rules/naming/var-name-mixedcase.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/naming/var-name-mixedcase.js -------------------------------------------------------------------------------- /test/rules/order/imports-on-top.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/order/imports-on-top.js -------------------------------------------------------------------------------- /test/rules/order/imports-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/order/imports-order.js -------------------------------------------------------------------------------- /test/rules/order/ordering.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/order/ordering.js -------------------------------------------------------------------------------- /test/rules/order/visibility-modifier-order.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/order/visibility-modifier-order.js -------------------------------------------------------------------------------- /test/rules/security/avoid-call-value.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/avoid-call-value.js -------------------------------------------------------------------------------- /test/rules/security/avoid-low-level-calls.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/avoid-low-level-calls.js -------------------------------------------------------------------------------- /test/rules/security/avoid-sha3.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/avoid-sha3.js -------------------------------------------------------------------------------- /test/rules/security/avoid-suicide.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/avoid-suicide.js -------------------------------------------------------------------------------- /test/rules/security/avoid-throw.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/avoid-throw.js -------------------------------------------------------------------------------- /test/rules/security/avoid-tx-origin.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/avoid-tx-origin.js -------------------------------------------------------------------------------- /test/rules/security/check-send-result.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/check-send-result.js -------------------------------------------------------------------------------- /test/rules/security/compiler-version.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/compiler-version.js -------------------------------------------------------------------------------- /test/rules/security/func-visibility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/func-visibility.js -------------------------------------------------------------------------------- /test/rules/security/multiple-sends.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/multiple-sends.js -------------------------------------------------------------------------------- /test/rules/security/no-complex-fallback.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/no-complex-fallback.js -------------------------------------------------------------------------------- /test/rules/security/no-inline-assembly.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/no-inline-assembly.js -------------------------------------------------------------------------------- /test/rules/security/not-rely-on-block-hash.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/not-rely-on-block-hash.js -------------------------------------------------------------------------------- /test/rules/security/not-rely-on-time.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/not-rely-on-time.js -------------------------------------------------------------------------------- /test/rules/security/reentrancy.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/reentrancy.js -------------------------------------------------------------------------------- /test/rules/security/state-visibility.js: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/protofire/solhint/HEAD/test/rules/security/state-visibility.js --------------------------------------------------------------------------------