question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Hello,

Could be possible that prettier-standard ignore files based on standard ignore property?

"standard": {
    "globals": [
      "fetch"
    ],
    "parser": "babel-eslint",
    "ignore": [ ←yep
      "/lib/"
    ]
  }

Issue Analytics

  • State:closed
  • Created 6 years ago
  • Comments:9 (3 by maintainers)

github_iconTop GitHub Comments

2reactions
millettecommented, Jul 13, 2018

I copied the content of my .gitignore to .eslintignore:

node_modules/
public
.gatsby-context.js
.DS_Store
.intermediate-representation/
.cache/
.vscode/

That works. The original standard linter uses the .gitignore file by default. That would be handy here too.

2reactions
rafaelrinaldicommented, Mar 1, 2018

I’ve been trying to achieve the same result via .prettierignore without success. It seems prettier-standard ignores this feature.

Read more comments on GitHub >

github_iconTop Results From Across the Web

Ignoring files - GitHub Docs
Configuring ignored files for a single repository · Open TerminalTerminalGit Bash. · Navigate to the location of your Git repository. · Create a...
Read more >
.gitignore file - ignoring files in Git | Atlassian Git Tutorial
Ignored files are usually build artifacts and machine generated files that can be derived from your repository source or should otherwise not be...
Read more >
How to ignore certain files in Git - Stack Overflow
The problem is that .gitignore ignores just files that weren't tracked before (by git add ). Run git reset name_of_file to unstage the...
Read more >
.gitignore File – How to Ignore Files and Folders in Git
Inside .gitignore , you can tell Git to ignore only a single file or a single folder by mentioning the name or pattern...
Read more >
gitignore Documentation - Git
A gitignore file specifies intentionally untracked files that Git should ignore. Files already tracked by Git are not affected; see the NOTES below...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found