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

Example of how to use .flayignore #75

Open
rlgreen91 opened this issue Sep 17, 2018 · 2 comments
Open

Example of how to use .flayignore #75

rlgreen91 opened this issue Sep 17, 2018 · 2 comments
Assignees

Comments

@rlgreen91
Copy link

Is there an example of how to use .flayignore? I'm trying to ignore GraphQL type files because the nature of their typing requires a lot of duplication. I created a .flayignore in the root level that contains the following lines:

# Ignore all GraphQL type files
/app/graphql/types/*

However, that doesn't work - it's still doing a duplicate code check in the files. What do I need to change here?

@ylecuyer
Copy link

You should try with relative path instead of an absolute path and a glob that also includes sub folders:

app/graphql/types/**/*

@jellythomas
Copy link

Is there an example of how to use .flayignore? I'm trying to ignore GraphQL type files because the nature of their typing requires a lot of duplication. I created a .flayignore in the root level that contains the following lines:

# Ignore all GraphQL type files
/app/graphql/types/*

However, that doesn't work - it's still doing a duplicate code check in the files. What do I need to change here?

hi guys can we flayignore on specific line in the file instead of the whole file?

@zenspider zenspider self-assigned this Apr 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants