Files
test-repo/cspell.json
T
Sosuke SuzukiandSimon Lydell fdccc0f48e Add --cache CLI option (#12800)
* Install `file-entry-cache` and types

* Implement `FormatResultsCache`

* Add `--cache` and `--cache-location` option

* Implement `--cache` and `--cache-location`

* Add tests for `--cache`

* Add tests for `--cache-location`

* Avoid spellcheck error

* Update snapshots for new options

* Add `groupBy` for website

* Use `fs.promises` instead of `fs/promises`

* Use `rimraf` instead of `fs.rm`

* Fix properties order of `options`

* Install `find-cache-dir` and types

* Change default cache file location to `node_modules/.cache/prettier`

* Fix tests following to change default cache file location

* Update snapshots for changing default cache file location

* Set `os.tmpdir()` as a fallback for default cache dir

* Add docs for `--cache` and `--cache-location`

* Use `sdbm` instead of `node:crypto`

* Add changelog

* Fix `getHashOfOptions`

* Remove `cache-location`

* `prettiercache` -> `prettier-cache`

* Remove cache file when run Prettier without `--cache` option

* Implement `--cache-strategy`

* Add tests for invalid cache strategy

* Fix lint problems

* Tweaks tests

* Add tests for timestamp

* Add tests for `--cache-strategy`

* Add docs for cache-strategy

* Address review

* Fix `findCacheFile`

* Use Set.prototype.has

* Throw error with --stdin-filepath

* Update snapshots

* Fix error for cache and stdin

* Use string constructor instead of toString

* Update changelog

* Use flag validation

* Fix `cache-strategy` definition

* Update docs

* Mark highlihgt

* Throw error for `--cache-strategy` without `--cache`

* Update docs

* Fix typo

* Updates snapshots

* Update docs/cli.md

Co-authored-by: Simon Lydell <simon.lydell@gmail.com>

* Fix error message

* Remove `:::` syntax

* Defaults `content`

* Update docs

* Fix by Prettier

Co-authored-by: Simon Lydell <simon.lydell@gmail.com>
2022-06-11 23:32:32 +09:00

414 lines
8.3 KiB
JSON
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
{
"version": "0.2",
"$schema": "https://raw.githubusercontent.com/streetsidesoftware/cspell/master/cspell.schema.json",
"words": [
"ACMR",
"Alexa",
"Amjad",
"Andrey",
"António",
"Apheleia",
"apos",
"arduner",
"arity",
"arrayify",
"Artem",
"Ascher",
"atrule",
"atrules",
"atword",
"autocmd",
"autocrlf",
"autodetects",
"autofix",
"autolinks",
"autoload",
"autoloaded",
"autoloading",
"Azzola",
"backport",
"backticks",
"behaviour",
"Bekkelund",
"Bento",
"bfnrt",
"binaryish",
"bindon",
"bitshift",
"blenda",
"Bopomofo",
"Breakell",
"Brevik",
"browserslist",
"builtins",
"callees",
"camelcase",
"camelified",
"chedeau",
"cherow",
"Cheung",
"chrzosel",
"Clemmons",
"cliify",
"cmds",
"codebases",
"codecov",
"codemirror",
"codemod",
"codemods",
"commonmark",
"compat",
"concating",
"cond",
"corejs",
"csharpier",
"daleroy",
"danez",
"Dara",
"dashify",
"dbaeumer",
"decf",
"declarators",
"defun",
"Deloise",
"deopt",
"deps",
"dessant",
"desugared",
"devcontainer",
"devs",
"docblocks",
"doctag",
"Dodds",
"Dolzhykov",
"Doshi",
"dotfile",
"dotfiles",
"duailibe",
"Duperron",
"Eemeli",
"ekkhus",
"elektronik",
"Eneman",
"ENOENT",
"EOTP",
"eqeqeq",
"Ericsburgh",
"Esben",
"esbenp",
"esbuild",
"eslintignore",
"eslump",
"espree",
"esproposal",
"estree",
"esutils",
"execa",
"fbglyph",
"fdescribe",
"Ficarra",
"Filipe",
"Fiorini",
"Fisker",
"foldgutter",
"formatprg",
"Friedly",
"frobble",
"ftest",
"fuzzer",
"Georgii",
"gettin",
"githook",
"gitter",
"glimmerjs",
"globbing",
"globby",
"glsl",
"gofmt",
"Gregor",
"Hampus",
"hardline",
"hardlines",
"hashbang",
"Hawken",
"Hengles",
"Hersevoort",
"hljs",
"hlsson",
"Horky",
"htmlblock",
"htmlhint",
"hugomrdias",
"hwba",
"iarna",
"ICSS",
"idempotence",
"IIFE",
"IIFEs",
"ikatyang",
"Ilya",
"impltype",
"importee",
"importmap",
"Indentable",
"infc",
"instanceof",
"Intelli",
"intrinsics",
"jackyho",
"Jakefile",
"jakegavin",
"jetbrains",
"jlongster",
"Joar",
"josephfrazier",
"jscodefmt",
"jsesc",
"jsfmt",
"jsonata",
"jsonl",
"judgements",
"kalmanb",
"Karimov",
"Kassens",
"Kasturi",
"kddnewton",
"Kearney",
"keyframes",
"keyof",
"Khatri",
"Konstantin",
"l’objectif",
"lcov",
"libdef",
"linearize",
"linebreak",
"linebreaks",
"literalline",
"loglevel",
"lowercased",
"lowercasing",
"lydell",
"Marek",
"Masad",
"Matejka",
"Mateusz",
"mdast",
"Memberish",
"meriyah",
"metafile",
"Michał",
"Microsyntax",
"Mikael",
"minimalistic",
"minimise",
"miniprettier",
"mitermayer",
"mjml",
"Modifer",
"Moeller",
"Monteiro",
"Morrell",
"motiz",
"mousedown",
"mouseup",
"mprettier",
"multiparser",
"Muntean",
"nargs",
"navbutton",
"neoclide",
"neoformat",
"neovim",
"nocheck",
"nnoremap",
"nonenumerable",
"Nonspacing",
"noopener",
"noreferrer",
"normalise",
"normalised",
"npmrc",
"Nuno",
"nvim",
"octicon",
"Okazaki",
"Okonetchnikov",
"onwarn",
"Oopsy",
"outdent",
"outfile",
"outro",
"overparenthesization",
"Panasenko",
"pandoc",
"Pangsakulyanont",
"paren",
"parens",
"parentless",
"pcss",
"Pierzchała",
"Pieter",
"pnpm",
"postprocess",
"postprocessor",
"preactjs",
"prebuilds",
"precache",
"precommit",
"prefetch",
"preorder",
"prettierformatsource",
"prettiergetsupportinfo",
"prettierignore",
"prettierrc",
"prettierx",
"probot",
"progid",
"proto",
"Pschera",
"quasis",
"Raghuvir",
"Rasmus",
"Rattray",
"raquo",
"rattrayalex",
"readline",
"readlines",
"rebalance",
"Rects",
"Redeclaration",
"refmt",
"regexes",
"Reimplement",
"rhengles",
"Roadmap",
"Rubocop",
"ruleset",
"rulesets",
"sandhose",
"Sapegin",
"sbdchd",
"sdbm",
"scandir",
"Serializers",
"setlocal",
"setq",
"shellsession",
"Shigeaki",
"Simen",
"singleline",
"skratchdot",
"Skyscanner",
"socio",
"softline",
"softlines",
"Sorin",
"Sosuke",
"speculationrules",
"srcset",
"Stachowiak",
"standalones",
"Stankiewicz",
"starturl",
"stringifier",
"stylefmt",
"styleguides",
"stylelint",
"stylelintrc",
"Stylesheet",
"subvalue",
"suchipi",
"Suhail",
"supertypes",
"Supprimer",
"swcrc",
"templating",
"tempy",
"testname",
"tldr",
"Tomasek",
"Tradeshift",
"Transloadit",
"trippable",
"tsep",
"TSES",
"TSJS",
"typeahead",
"typecasted",
"typecheck",
"typeof",
"Ubie",
"Umidbek",
"unaries",
"uncook",
"unignore",
"unist",
"unparenthesised",
"unparenthesized",
"unparseable",
"Unrestrict",
"unstaged",
"valourous",
"Vanderwerff",
"vanguarding",
"versary",
"vimrc",
"vjeux",
"vjeux's",
"vnopts",
"Voyer",
"Wadler",
"Wadler's",
"wcwidth",
"webcompat",
"webstorm",
"Weixin",
"whitespaces",
"wxss",
"xdescribe",
"xtest",
"yamafaktory",
"Yatharth",
"Zatorski",
"Zosel"
],
"ignoreRegExpList": [
"<!-- prettier-ignore -->\\n(`{3,})\\w*\\n[\\s\\S]+?\\1",
"\\[(\\*{2})?@[-\\w]+?\\1\\]",
"by @[-\\w]+(?:, @[-\\w]+)?",
"ve{2,}r{2,}y",
"ve+r+y+long\\w*",
"\\(https?://.*?\\)",
"author: \".*?\"",
"authorURL: \".*?\"",
"\"author\": \".*?\"",
"(long|after){3,}"
],
"files": [
"*",
"bin/**/*",
"changelog_unreleased/**/*",
"docs/**/*",
"scripts/**/*",
"src/**/*",
"types/**/*",
"website/**/*",
"tests/config/**/*",
"tests/integration/**/*",
"tests/format/**/jsfmt.spec.js"
],
"ignorePaths": [
".git",
"cspell.json",
"*.{log,svg,snap,png}",
"website/data/users.yml",
"website/build/**",
"website/playground/codeSamples.js",
"website/pages/googlefe164a33bda4034b.html",
"website/static/lib/**",
"website/static/playground.js",
"scripts/vendors/vendor-meta.json"
]
}