-
-
Notifications
You must be signed in to change notification settings - Fork 191
Permalink
Choose a base ref
{{ refName }}
default
Choose a head ref
{{ refName }}
default
Comparing changes
Choose two branches to see what’s changed or to start a new pull request.
If you need to, you can also or
learn more about diff comparisons.
Open a pull request
Create a new pull request by comparing changes across two branches. If you need to, you can also .
Learn more about diff comparisons here.
base repository: prettier/eslint-plugin-prettier
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: v3.1.3
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
...
head repository: prettier/eslint-plugin-prettier
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: v3.1.4
Could not load branches
Nothing to show
Loading
Could not load tags
Nothing to show
{{ refName }}
default
Loading
- 8 commits
- 5 files changed
- 4 contributors
Commits on Apr 22, 2020
-
build(deps-dev): bump eslint-config-prettier from 6.10.1 to 6.11.0
Bumps [eslint-config-prettier](https://github.com/prettier/eslint-config-prettier) from 6.10.1 to 6.11.0. - [Release notes](https://github.com/prettier/eslint-config-prettier/releases) - [Changelog](https://github.com/prettier/eslint-config-prettier/blob/master/CHANGELOG.md) - [Commits](prettier/eslint-config-prettier@v6.10.1...v6.11.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Configuration menu - View commit details
-
Copy full SHA for 35a7ee6 - Browse repository at this point
Copy the full SHA 35a7ee6View commit details
Commits on May 9, 2020
-
Configuration menu - View commit details
-
Copy full SHA for cc2979b - Browse repository at this point
Copy the full SHA cc2979bView commit details
Commits on May 25, 2020
-
build(deps-dev): bump eslint from 7.0.0 to 7.1.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.0.0 to 7.1.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](eslint/eslint@v7.0.0...v7.1.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Configuration menu - View commit details
-
Copy full SHA for fd30022 - Browse repository at this point
Copy the full SHA fd30022View commit details
Commits on May 27, 2020
-
build(deps-dev): bump eslint-plugin-self from 1.2.0 to 1.2.1
Bumps [eslint-plugin-self](https://github.com/not-an-aardvark/eslint-plugin-self) from 1.2.0 to 1.2.1. - [Release notes](https://github.com/not-an-aardvark/eslint-plugin-self/releases) - [Changelog](https://github.com/not-an-aardvark/eslint-plugin-self/blob/master/CHANGELOG.md) - [Commits](not-an-aardvark/eslint-plugin-self@v1.2.0...v1.2.1) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Configuration menu - View commit details
-
Copy full SHA for 6449ec1 - Browse repository at this point
Copy the full SHA 6449ec1View commit details
Commits on Jun 8, 2020
-
build(deps-dev): bump eslint from 7.1.0 to 7.2.0
Bumps [eslint](https://github.com/eslint/eslint) from 7.1.0 to 7.2.0. - [Release notes](https://github.com/eslint/eslint/releases) - [Changelog](https://github.com/eslint/eslint/blob/master/CHANGELOG.md) - [Commits](eslint/eslint@v7.1.0...v7.2.0) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Configuration menu - View commit details
-
Copy full SHA for 650ac7a - Browse repository at this point
Copy the full SHA 650ac7aView commit details
Commits on Jun 10, 2020
-
build(deps-dev): bump eslint-plugin-eslint-plugin from 2.2.1 to 2.2.2
Bumps [eslint-plugin-eslint-plugin](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin) from 2.2.1 to 2.2.2. - [Release notes](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/releases) - [Changelog](https://github.com/not-an-aardvark/eslint-plugin-eslint-plugin/blob/master/CHANGELOG.md) - [Commits](eslint-community/eslint-plugin-eslint-plugin@v2.2.1...v2.2.2) Signed-off-by: dependabot-preview[bot] <support@dependabot.com>
Configuration menu - View commit details
-
Copy full SHA for 93f7c8b - Browse repository at this point
Copy the full SHA 93f7c8bView commit details
Commits on Jun 14, 2020
-
Avoid clearing Prettier cache when not using prettierrc (#303)
At Airbnb we've noticed that the Prettier ESLint rule is extraordinarily slow. When running ESLint with `TIMING=1`, Prettier is two orders of magnitude slower than our other slowest rules (which come from eslint-plugin-import mostly). I spent some time investigating this today. I ran the Chrome DevTools profiler while running ESLint on a directory with 480 files in it. Looking at the flame charts, I noticed that this plugin ended up calling Prettier's pluginSearchDirs.map.pluginSearchDir for every file that was being linted, even though it was being memoized. Through some logging, I determined that the Prettier cache was being cleared between every file, and narrowed it down to this line, which was added here: #55 (comment) It looks like this cache busting was added to make it so long-running ESLint processes (e.g. for vscode-eslint) would be able to pick up changes to prettierrc files without having to reload the process. Thankfully, we don't use a prettierrc file at Airbnb right now, in favor of putting our Prettier config inline with our ESLint config. So the quick performance fix for us is to simply skip the cache busting when this option is not enabled. In my profiling, this reduces the time spent in ESLint's verifyAndFix when running on the same 480 files from 34 seconds to 26 seconds, for a total savings of 8 seconds. For folks who are using prettierrc files, this is still pretty crappy, so it would be great to find a better way to do this. Unfortunately my knowledge of the inner workings of vscode-eslint and ESLint are not enough to know if there might be a better way to do this--e.g. maybe there's some ESLint option that we can respect here?
Configuration menu - View commit details
-
Copy full SHA for 3c8e2d9 - Browse repository at this point
Copy the full SHA 3c8e2d9View commit details -
Configuration menu - View commit details
-
Copy full SHA for f0394c4 - Browse repository at this point
Copy the full SHA f0394c4View commit details
There are no files selected for viewing
Large diffs are not rendered by default.