diff --git a/.editorconfig b/.editorconfig index 11c2bd2445..086af2d930 100644 --- a/.editorconfig +++ b/.editorconfig @@ -8,3 +8,4 @@ charset = utf-8 indent_style = space indent_size = 2 trim_trailing_whitespace = true +quote_type = single diff --git a/.eslintrc b/.eslintrc index 076399682c..88af3ecf32 100644 --- a/.eslintrc +++ b/.eslintrc @@ -11,5 +11,11 @@ "class-methods-use-this": "off", "arrow-body-style": "off", "no-loop-func": "off" + }, + "ignorePatterns": ["*.md", "*.png", "*.jpeg", "*.jpg"], + "settings": { + "react": { + "version": "18.2.0" + } } } diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 912c719df3..e007b6c910 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,7 +11,7 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 14.x ] + node-version: [ 16.x ] steps: - name: Checkout repository diff --git a/.husky/.gitignore b/.husky/.gitignore new file mode 100644 index 0000000000..31354ec138 --- /dev/null +++ b/.husky/.gitignore @@ -0,0 +1 @@ +_ diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000000..598a5dceaa --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1,5 @@ +#!/bin/sh +. "$(dirname "$0")/_/husky.sh" + +npm run lint +# npm run test diff --git a/.huskyrc.json b/.huskyrc.json deleted file mode 100644 index 6e9b7b23b7..0000000000 --- a/.huskyrc.json +++ /dev/null @@ -1,5 +0,0 @@ -{ - "hooks": { - "pre-commit": "npm run lint && npm run test" - } -} diff --git a/.npmrc b/.npmrc new file mode 100644 index 0000000000..b6f27f1359 --- /dev/null +++ b/.npmrc @@ -0,0 +1 @@ +engine-strict=true diff --git a/.nvmrc b/.nvmrc new file mode 100644 index 0000000000..7fd023741b --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v16.15.0 diff --git a/BACKERS.md b/BACKERS.md index 62c397a38c..a244d3bed3 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -14,6 +14,24 @@ `null` + +