Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Refactoring detector #65

Merged
merged 5 commits into from
Feb 26, 2017
Merged

Refactoring detector #65

merged 5 commits into from
Feb 26, 2017

Conversation

wata727
Copy link
Member

@wata727 wata727 commented Feb 26, 2017

This PR includes three changes.

Introduce PreProcess step

For example, to detect invalid references, TFLint needs to call AWS API. However, this process is not detection. We should give a different process name like the PreProcess.
In PreProcess step, It does not need AST, although it is necessary for detection.

Embed deep check etc

If disabled deep check mode, ignore some deep check detectors. This logic is outside the each detectors by embedding as attributes value of detector.

Simplify Detect method

Simplify Detect method by putting resource iterations out.

@wata727 wata727 merged commit f6b9e01 into master Feb 26, 2017
@wata727 wata727 deleted the refactor_preprocess branch February 26, 2017 13:14
bendrucker pushed a commit that referenced this pull request Jun 13, 2023
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant