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

Slow performance creating new file? #88

Open
IPWright83 opened this issue Mar 24, 2022 · 0 comments
Open

Slow performance creating new file? #88

IPWright83 opened this issue Mar 24, 2022 · 0 comments

Comments

@IPWright83
Copy link
Collaborator

I've started getting a significant performance degradation using this when saving an empty new file. I've gone through packages and narrowed it down to this one, enabled debug output but there's absolutely nothing to see. Unfortunately however the delay is often long enough that Sublime thinks it's crashed. It's also a lot longer than it takes to process an actual file and fix any eslint rules.

SoSlow

I'm interested to know if there's a way to identify why this is happening/how I might fix it? Here's my settings:

// Settings in here override those in "ESLint-Formatter/ESLint-Formatter.sublime-settings",

{
    "format_on_save": true,
    "debug": true,
    "format_on_save_extensions": [
        "js",
        "jsx",
        "es",
        "es6",
        "babel",
        "vue",
        "ts",
        "tsx"
    ],
    "node_path": {
        "linux": "/home/ian/.nvm/versions/node/v12.22.1/bin/node"
    },
    "local_eslint_path": {
        "linux": "/home/ian/.nvm/versions/node/v12.22.1/bin/eslint_d"
    }
}

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

1 participant