-
Notifications
You must be signed in to change notification settings - Fork 1.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
#Conflicts: # R/bootstrap.R
- Loading branch information
Showing
774 changed files
with
76,975 additions
and
41,049 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
# Browsers that we support | ||
last 2 versions | ||
not dead | ||
> 0.2% | ||
# > 1% | ||
Firefox ESR | ||
phantomjs 2.1 | ||
IE 11 # sorry |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,114 @@ | ||
root: true | ||
env: | ||
browser: true | ||
es6: true | ||
extends: | ||
- 'eslint:recommended' | ||
- 'plugin:@typescript-eslint/recommended' | ||
- 'plugin:jest/recommended' | ||
- 'plugin:prettier/recommended' | ||
- 'plugin:jest-dom/recommended' | ||
globals: | ||
Atomics: readonly | ||
SharedArrayBuffer: readonly | ||
parser: '@typescript-eslint/parser' | ||
parserOptions: | ||
ecmaVersion: 2018 | ||
sourceType: module | ||
project: | ||
- './tsconfig.json' | ||
ignorePatterns: # mirrors tsconfig.json's exclude | ||
- '**/__tests__' | ||
- '**/*.d.ts' | ||
plugins: | ||
- '@typescript-eslint' | ||
- prettier | ||
- jest-dom | ||
- unicorn | ||
rules: | ||
"@typescript-eslint/explicit-function-return-type": | ||
- off | ||
"@typescript-eslint/no-explicit-any": | ||
- off | ||
"@typescript-eslint/explicit-module-boundary-types": | ||
- error | ||
|
||
default-case: | ||
- error | ||
indent: | ||
- error | ||
- 2 | ||
- SwitchCase: 1 | ||
linebreak-style: | ||
- error | ||
- unix | ||
quotes: | ||
- error | ||
- double | ||
- avoid-escape | ||
semi: | ||
- error | ||
- always | ||
dot-location: | ||
- error | ||
- property | ||
|
||
camelcase: | ||
# - error | ||
- "off" | ||
|
||
unicorn/filename-case: | ||
- error | ||
- case: camelCase | ||
|
||
"@typescript-eslint/array-type": | ||
- error | ||
- default: array-simple | ||
readonly: array-simple | ||
|
||
"@typescript-eslint/consistent-indexed-object-style": | ||
- error | ||
- index-signature | ||
|
||
"@typescript-eslint/sort-type-union-intersection-members": | ||
- error | ||
|
||
"@typescript-eslint/consistent-type-imports": | ||
- error | ||
|
||
"@typescript-eslint/no-floating-promises": | ||
- error | ||
|
||
"@typescript-eslint/naming-convention": | ||
- error | ||
|
||
- selector: default | ||
format: [camelCase] | ||
|
||
- selector: method | ||
modifiers: [private] | ||
format: [camelCase] | ||
leadingUnderscore: require | ||
- selector: method | ||
modifiers: [protected] | ||
format: [camelCase] | ||
leadingUnderscore: require | ||
|
||
- selector: variable | ||
format: [camelCase] | ||
trailingUnderscore: forbid | ||
leadingUnderscore: forbid | ||
|
||
- selector: parameter | ||
format: [camelCase] | ||
trailingUnderscore: allow | ||
leadingUnderscore: forbid | ||
|
||
- selector: [enum, enumMember] | ||
format: [PascalCase] | ||
|
||
- selector: typeLike | ||
format: [PascalCase] | ||
custom: | ||
regex: "(t|T)ype$" | ||
match: false |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,6 @@ | ||
/NEWS merge=union | ||
/inst/www/shared/shiny.js -merge -diff | ||
/inst/www/shared/shiny-*.js -merge -diff | ||
/inst/www/shared/shiny*.css -merge -diff | ||
*.min.js -merge -diff | ||
*.js.map -merge -diff |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#!/bin/bash -e | ||
. ./tools/documentation/checkDocsCurrent.sh | ||
|
||
echo "Updating package.json version to match DESCRIPTION Version" | ||
Rscript ./tools/updatePackageJsonVersion.R | ||
if [ -n "$(git status --porcelain package.json)" ] | ||
then | ||
yarn build | ||
git add ./inst package.json && git commit -m 'Sync package version (GitHub Actions)' || echo "No package version to commit" | ||
else | ||
echo "No package version difference detected; package.json is current." | ||
fi |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Workflow derived from https://github.com/rstudio/shiny-workflows | ||
# | ||
# NOTE: This Shiny team GHA workflow is overkill for most R packages. | ||
# For most R packages it is better to use https://github.com/r-lib/actions | ||
on: | ||
push: | ||
branches: [main, rc-**] | ||
pull_request: | ||
branches: [main] | ||
schedule: | ||
- cron: '0 5 * * 1' # every monday | ||
|
||
name: Package checks | ||
|
||
jobs: | ||
website: | ||
uses: rstudio/shiny-workflows/.github/workflows/website.yaml@v1 | ||
routine: | ||
uses: rstudio/shiny-workflows/.github/workflows/routine.yaml@v1 | ||
with: | ||
node-version: "14.x" | ||
R-CMD-check: | ||
uses: rstudio/shiny-workflows/.github/workflows/R-CMD-check.yaml@v1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"detectiveOptions": { | ||
"ts": { | ||
"skipTypeImports": true | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
{ | ||
"recommendations": [ | ||
"arcanis.vscode-zipfs", | ||
"dbaeumer.vscode-eslint", | ||
"esbenp.prettier-vscode" | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{ | ||
"search.exclude": { | ||
"**/.yarn": true, | ||
"**/.pnp.*": true | ||
}, | ||
"prettier.prettierPath": "./node_modules/prettier", | ||
"typescript.enablePromptUseWorkspaceTsdk": true, | ||
"[r]": { | ||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true, | ||
}, | ||
"[typescript]": { | ||
"editor.defaultFormatter": "esbenp.prettier-vscode", | ||
"editor.formatOnSave": true, | ||
"files.trimTrailingWhitespace": true, | ||
"files.insertFinalNewline": true, | ||
}, | ||
} |
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
nodeLinker: node-modules | ||
|
||
plugins: | ||
- path: .yarn/plugins/@yarnpkg/plugin-outdated.cjs | ||
spec: "https://github.com/mskelton/yarn-plugin-outdated/raw/main/bundles/@yarnpkg/plugin-outdated.js" | ||
- path: .yarn/plugins/@yarnpkg/plugin-interactive-tools.cjs | ||
spec: "@yarnpkg/plugin-interactive-tools" | ||
|
||
yarnPath: .yarn/releases/yarn-3.2.3.cjs | ||
checksumBehavior: update |
Oops, something went wrong.