chore: json files should be linted (#4462)

This commit is contained in:
Sébastien Lorber 2021-03-18 19:39:50 +01:00 committed by GitHub
parent 892d832a3e
commit 5543f09ed1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
19 changed files with 40 additions and 41 deletions

View file

@ -1,9 +1,16 @@
{
"ci": {
"collect": {
"settings": {
"skipAudits": ["robots-txt", "canonical", "tap-targets", "is-crawlable", "works-offline", "offline-start-url"]
}
}
"ci": {
"collect": {
"settings": {
"skipAudits": [
"robots-txt",
"canonical",
"tap-targets",
"is-crawlable",
"works-offline",
"offline-start-url"
]
}
}
}
}

View file

@ -35,4 +35,4 @@
]
},
"description": "Docusaurus example project (bootstrap template)"
}
}

View file

@ -3,4 +3,4 @@
"hardReloadOnChange": true,
"view": "browser",
"template": "docusaurus"
}
}

View file

@ -35,4 +35,4 @@
]
},
"description": "Docusaurus example project"
}
}

View file

@ -3,4 +3,4 @@
"hardReloadOnChange": true,
"view": "browser",
"template": "docusaurus"
}
}

View file

@ -52,4 +52,4 @@
]
},
"description": "Docusaurus example project (facebook template)"
}
}

View file

@ -3,4 +3,4 @@
"hardReloadOnChange": true,
"view": "browser",
"template": "docusaurus"
}
}

View file

@ -39,8 +39,8 @@
"postinstall": "run-p postinstall:**",
"postinstall:main": "yarn lock:update && yarn build:packages",
"postinstall:dev": "is-ci || husky install",
"prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx}\"",
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx}\"",
"prettier": "prettier --config .prettierrc --write \"**/*.{js,jsx,ts,tsx,json}\"",
"prettier:diff": "prettier --config .prettierrc --list-different \"**/*.{js,jsx,ts,tsx,json}\"",
"prettier-docs": "prettier --config .prettierrc --write \"**/*.{md,mdx}\"",
"prettier-docs:diff": "prettier --config .prettierrc --list-different \"**/*.{md,mdx}\"",
"lint": "yarn lint:js && yarn lint:style",

View file

@ -1,10 +1,10 @@
{
"extends": "../../tsconfig.json",
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"typeRoots": [ "./external_types", "./node_modules/@types"]
}
}
"extends": "../../tsconfig.json",
"compilerOptions": {
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"typeRoots": ["./external_types", "./node_modules/@types"]
}
}

View file

@ -5,6 +5,6 @@
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"typeRoots": [ "./types", "./node_modules/@types"]
"typeRoots": ["./types", "./node_modules/@types"]
}
}

View file

@ -4,6 +4,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"outDir": "lib"
}
}

View file

@ -4,6 +4,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"outDir": "lib"
}
}

View file

@ -4,6 +4,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"outDir": "lib"
}
}

View file

@ -4,6 +4,6 @@
"incremental": true,
"tsBuildInfoFile": "./lib/.tsbuildinfo",
"rootDir": "src",
"outDir": "lib",
"outDir": "lib"
}
}

View file

@ -7,7 +7,7 @@
"tsBuildInfoFile": "./lib/client/.tsbuildinfo",
"outDir": "lib/client",
"noImplicitAny": false,
"jsx": "react",
"jsx": "react"
},
"include": ["src/client"]
}

View file

@ -34,7 +34,7 @@
/* Use tslib */
"importHelpers": true,
"noEmitHelpers": true,
"noEmitHelpers": true
},
"exclude": ["node_modules", "**/__tests__/**/*", "**/lib/**/*"]
}

View file

@ -3,7 +3,7 @@
"localized-strings": {
"translation": "Translations and Localization"
},
"pages-strings" : {
"pages-strings": {
"Help Translate|recruit community translators for your project": "Help Us Translate"
}
}

View file

@ -15,12 +15,7 @@
"translation",
"versioning"
],
"API": [
"commands",
"doc-markdown",
"api-pages",
"site-config"
]
"API": ["commands", "doc-markdown", "api-pages", "site-config"]
},
"tutorial": {
"Tutorial": [

View file

@ -1,4 +1 @@
[
"2.0.0-alpha.72",
"2.0.0-alpha.71"
]
["2.0.0-alpha.72", "2.0.0-alpha.71"]