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/FUNDING.yml b/.github/FUNDING.yml deleted file mode 100644 index deda41e7d6..0000000000 --- a/.github/FUNDING.yml +++ /dev/null @@ -1,3 +0,0 @@ -# @see: https://docs.github.com/en/github/administering-a-repository/displaying-a-sponsor-button-in-your-repository -github: trekhleb -patreon: trekhleb diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 912c719df3..8df135bfdc 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -11,14 +11,14 @@ jobs: runs-on: ubuntu-latest strategy: matrix: - node-version: [ 14.x ] + node-version: [ 22.x ] steps: - name: Checkout repository - uses: actions/checkout@v2 + uses: actions/checkout@v4 - name: Setup Node.js ${{ matrix.node-version }} - uses: actions/setup-node@v1 + uses: actions/setup-node@v4 with: node-version: ${{ matrix.node-version }} @@ -32,4 +32,4 @@ jobs: run: npm run coverage - name: Upload coverage to Codecov - uses: codecov/codecov-action@v1 + uses: codecov/codecov-action@v4 diff --git a/.husky/pre-commit b/.husky/pre-commit new file mode 100755 index 0000000000..3867a0feb3 --- /dev/null +++ b/.husky/pre-commit @@ -0,0 +1 @@ +npm run lint 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..53d1c14db3 --- /dev/null +++ b/.nvmrc @@ -0,0 +1 @@ +v22 diff --git a/BACKERS.md b/BACKERS.md index 62c397a38c..a244d3bed3 100644 --- a/BACKERS.md +++ b/BACKERS.md @@ -14,6 +14,24 @@ `null` + +