Skip to content
This repository has been archived by the owner on Mar 25, 2021. It is now read-only.

custom rule for specific files/folder #4570

Closed
yantrab opened this issue Mar 7, 2019 · 2 comments
Closed

custom rule for specific files/folder #4570

yantrab opened this issue Mar 7, 2019 · 2 comments

Comments

@yantrab
Copy link

yantrab commented Mar 7, 2019

Hi, i wont to create custom rule that fit only for models.
So, any suggestion how can i do that?
rule config should look like:

    "no-property-without-decorator":{
        "options": {
            "paths": [
                "path/to/models1"
            ],
            "files":["*/**model.ts"]
        }
    }
@JoshuaKGoldberg
Copy link
Contributor

Hi @yantrab! It's a little unclear what you're asking here. Are you...

  • ...asking for help implementing a custom rule?
  • ...trying to change which rules are applied to certain files?
  • ...trying to do something else?

@JoshuaKGoldberg
Copy link
Contributor

😢. Please do post here if you're still interested!

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants