diff --git a/.eslintrc.js b/.eslintrc.js index 7ba765b4..17580314 100644 --- a/.eslintrc.js +++ b/.eslintrc.js @@ -153,11 +153,22 @@ module.exports = { caseInsensitive: true, }, pathGroups: [ + { + pattern: 'react', + group: 'external', + position: 'before', + }, { pattern: '@sourcegraph/**', group: 'external', position: 'after', }, + { + pattern: '*.scss', + group: 'index', + patternOptions: { matchBase: true }, + position: 'after', + }, ], pathGroupsExcludedImportTypes: [], }, diff --git a/.tool-versions b/.tool-versions new file mode 100644 index 00000000..0f85a9c8 --- /dev/null +++ b/.tool-versions @@ -0,0 +1,14 @@ +golang 1.17.5 +nodejs 16.7.0 +yarn 1.22.17 +fd 7.4.0 +shfmt 3.2.0 +shellcheck 0.7.1 +kubectl 1.21.7 +github-cli 2.0.0 +packer 1.7.10 +trivy 0.20.0 +kustomize 4.0.5 +awscli 2.4.7 +python system +rust 1.58.0 diff --git a/check_dependent.sh b/check_dependent.sh index 2b2b4d18..89bd957f 100755 --- a/check_dependent.sh +++ b/check_dependent.sh @@ -8,6 +8,7 @@ CONFIG_DIR=$(pwd) CLONE_DIR=$(mktemp -d) git clone --depth 1 https://github.com/sourcegraph/sourcegraph "$CLONE_DIR" cd "$CLONE_DIR" +mkdir -p annotations echo "--- install nodejs" asdf install echo "--- yarn"