website: spell check js code, add twitterImage
This commit is contained in:
1 parent
0e26eae8d2
commit
e23e5ccbb6
4 files changed
+31
-7
No files matched your search
+26
-5
@@ -2,8 +2,10 @@
|
||||
"version": "0.1",
|
||||
"words": [
|
||||
"ACMR",
|
||||
"algolia",
|
||||
"Amjad",
|
||||
"Andrey",
|
||||
"animationend",
|
||||
"apos",
|
||||
"aquibm",
|
||||
"arduner",
|
||||
@@ -96,6 +98,7 @@
|
||||
"ENOENT",
|
||||
"ericsakmar",
|
||||
"Ericsburgh",
|
||||
"errored",
|
||||
"Esben",
|
||||
"esbenp",
|
||||
"eslint's",
|
||||
@@ -149,6 +152,7 @@
|
||||
"Horky",
|
||||
"hotpink",
|
||||
"hsla",
|
||||
"htmlblock",
|
||||
"htmlhint",
|
||||
"hugomrdias",
|
||||
"hwba",
|
||||
@@ -242,6 +246,8 @@
|
||||
"noncharacters",
|
||||
"nonenumerable",
|
||||
"nonspacing",
|
||||
"noopener",
|
||||
"noreferrer",
|
||||
"normalise",
|
||||
"normalised",
|
||||
"nrvtbfux",
|
||||
@@ -249,6 +255,7 @@
|
||||
"nullish",
|
||||
"Nuno",
|
||||
"nvim",
|
||||
"octicon",
|
||||
"Okazaki",
|
||||
"Okonetchnikov",
|
||||
"oneth",
|
||||
@@ -256,6 +263,7 @@
|
||||
"onwarn",
|
||||
"Oopsy",
|
||||
"overparenthesization",
|
||||
"overscroll",
|
||||
"packagejson",
|
||||
"Panasenko",
|
||||
"Pangsakulyanont",
|
||||
@@ -270,6 +278,7 @@
|
||||
"pomber",
|
||||
"postprocess",
|
||||
"postprocessor",
|
||||
"precache",
|
||||
"precommit",
|
||||
"prefetch",
|
||||
"preorder",
|
||||
@@ -299,8 +308,8 @@
|
||||
"refmt",
|
||||
"regexes",
|
||||
"reimplement",
|
||||
"repo's",
|
||||
"repo",
|
||||
"repo's",
|
||||
"repos",
|
||||
"reselect",
|
||||
"rhengles",
|
||||
@@ -309,11 +318,13 @@
|
||||
"rreverser",
|
||||
"ruleset",
|
||||
"rulesets",
|
||||
"sandhose",
|
||||
"Sapegin",
|
||||
"sbdchd",
|
||||
"scandir",
|
||||
"schemastore",
|
||||
"serializer",
|
||||
"serviceworker",
|
||||
"setlocal",
|
||||
"shellscape",
|
||||
"shellsession",
|
||||
@@ -349,8 +360,9 @@
|
||||
"templating",
|
||||
"tempy",
|
||||
"tgriesser",
|
||||
"tidelift’s",
|
||||
"tidelift",
|
||||
"tidelift’s",
|
||||
"tldr",
|
||||
"Tomasek",
|
||||
"Tradeshift",
|
||||
"Transloadit",
|
||||
@@ -359,6 +371,7 @@
|
||||
"TSJS",
|
||||
"Typeahead",
|
||||
"typecasted",
|
||||
"typecheck",
|
||||
"typeof",
|
||||
"udbff",
|
||||
"udfff",
|
||||
@@ -370,6 +383,7 @@
|
||||
"uncook",
|
||||
"uniqby",
|
||||
"unist",
|
||||
"unmount",
|
||||
"unparenthesised",
|
||||
"unparenthesized",
|
||||
"unparseable",
|
||||
@@ -384,13 +398,13 @@
|
||||
"vanguarding",
|
||||
"versary",
|
||||
"vimrc",
|
||||
"vjeux's",
|
||||
"vjeux",
|
||||
"vjeux's",
|
||||
"vnopts",
|
||||
"Voyer",
|
||||
"Vue's",
|
||||
"Wadler's",
|
||||
"Wadler",
|
||||
"Wadler's",
|
||||
"warrenseine",
|
||||
"webstorm",
|
||||
"whitespaces",
|
||||
@@ -410,5 +424,12 @@
|
||||
"\\[`\\w+`\\]",
|
||||
"ve{2,}r{2,}y",
|
||||
"ve+r+y+long\\w*"
|
||||
],
|
||||
"ignorePaths": [
|
||||
"**/node_modules/**",
|
||||
"website/build/**",
|
||||
"website/playground/codeSamples.js",
|
||||
"website/static/lib/**",
|
||||
"website/static/playground.js"
|
||||
]
|
||||
}
|
||||
}
|
||||
+1
-1
@@ -125,7 +125,7 @@
|
||||
"lint:changelog": "node ./scripts/lint-changelog.js",
|
||||
"lint:prettier": "prettier \"**/*.{md,json,yml,html,css}\" --check",
|
||||
"lint:dist": "eslint --no-eslintrc --no-ignore --env=es6,browser --parser-options=ecmaVersion:2016 \"dist/!(bin-prettier|index|third-party).js\"",
|
||||
"lint:spellcheck": "cspell {bin,scripts,src}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md",
|
||||
"lint:spellcheck": "cspell {bin,scripts,src,website}/**/*.js {docs,website/blog,changelog_unreleased}/**/*.md",
|
||||
"lint:deps": "node ./scripts/check-deps.js",
|
||||
"build": "node --max-old-space-size=3072 ./scripts/build/build.js",
|
||||
"build-docs": "node ./scripts/build-docs.js"
|
||||
|
||||
@@ -236,7 +236,7 @@ class Playground extends React.Component {
|
||||
<ClipboardButton
|
||||
copy={JSON.stringify(
|
||||
// Remove `parser` since people usually paste this
|
||||
// into their .prettierrc and specifying a toplevel
|
||||
// into their .prettierrc and specifying a top-level
|
||||
// parser there is an anti-pattern. Note:
|
||||
// `JSON.stringify` omits keys whose values are
|
||||
// `undefined`.
|
||||
|
||||
@@ -86,6 +86,9 @@ const siteConfig = {
|
||||
separateCss: ["static/separate-css"],
|
||||
gaTrackingId: "UA-111350464-1",
|
||||
twitter: true,
|
||||
twitterUsername: "PrettierCode",
|
||||
twitterImage: "icon.png",
|
||||
ogImage: "icon.png",
|
||||
onPageNav: "separate",
|
||||
};
|
||||
|
||||
|
||||
Reference in new issue
Block a user