Skip to content

Commit 0d6370d

Browse files
2 parents d57e1b3 + 1215e57 commit 0d6370d

22 files changed

+579
-325
lines changed

.eslintrc

Lines changed: 21 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
{
22
"extends": [
3-
"devextreme/typescript"
3+
"devextreme/typescript",
4+
"devextreme/spell-check"
45
],
56
"env": {
67
"browser": true,
@@ -15,14 +16,30 @@
1516
"import/no-cycle": "warn",
1617
"no-param-reassign": "warn",
1718
"no-underscore-dangle": "warn",
18-
"@typescript-eslint/no-explicit-any": "warn"
19+
"@typescript-eslint/no-explicit-any": "warn",
20+
"spellcheck/spell-checker": [1, {
21+
"lang": "en_US",
22+
"comments": false,
23+
"strings": false,
24+
"identifiers": true,
25+
"templates": false,
26+
"skipIfMatch": [ "^\\$?..$" ],
27+
"skipWords": [
28+
"unschedule",
29+
"subscribable",
30+
"renderer",
31+
"rerender"
32+
]
33+
}
34+
]
1935
},
2036
"overrides": [
2137
{
22-
"files": [ "./packages/sandbox/*.ts", "./packages/sandbox/*.tsx" ],
38+
"files": [ "./packages/sandbox/*.ts", "./packages/sandbox/*.tsx", "packages/devextreme-react/src/*.ts" ],
2339
"rules": {
24-
"import/extensions": "warn"
40+
"import/extensions": "warn",
2541
}
2642
}
2743
]
2844
}
45+

.github/renovate.json

Lines changed: 41 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,41 @@
1+
{
2+
"extends": [
3+
"config:base"
4+
],
5+
"prConcurrentLimit": 2,
6+
"semanticCommits": "enabled",
7+
"rangeStrategy": "bump",
8+
"baseBranches": [
9+
"master"
10+
],
11+
"labels": [
12+
"dependencies"
13+
],
14+
"vulnerabilityAlerts": {
15+
"enabled": true,
16+
"automerge": true
17+
},
18+
"packageRules": [
19+
{
20+
"matchPackageNames": [ "typescript", "typescript-min" ],
21+
"matchUpdateTypes": [ "major", "minor" ],
22+
"enabled": false
23+
},
24+
{
25+
"matchPackagePatterns": [ "*" ],
26+
"matchUpdateTypes": [ "minor", "patch" ],
27+
"automerge": true
28+
},
29+
{
30+
"matchPackagePatterns": [ "*" ],
31+
"matchUpdateTypes": [ "major" ],
32+
"enabled": false
33+
}
34+
],
35+
"reviewers": [
36+
"team:devextreme-devops"
37+
],
38+
"ignorePaths": [
39+
".github"
40+
]
41+
}

.github/workflows/autoapprove.yml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,13 @@
1+
name: Auto approve
2+
3+
on:
4+
pull_request_target
5+
6+
jobs:
7+
auto-approve:
8+
runs-on: ubuntu-latest
9+
steps:
10+
- uses: hmarr/auto-approve-action@v2
11+
if: github.actor == 'renovate-bot' || github.actor == 'renovate[bot]'
12+
with:
13+
github-token: "${{ secrets.GITHUB_TOKEN }}"

.github/workflows/tests.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ jobs:
2424
run: git clone -b ${{github.event.pull_request.head.ref}} https://github.com/${{github.event.pull_request.user.login}}/devextreme ../devextreme
2525

2626
- name: Clone devextreme repo
27-
run: test -d ../devextreme || git clone -b 22_1 https://github.com/devexpress/devextreme ../devextreme
27+
run: test -d ../devextreme || git clone -b 22_2 https://github.com/devexpress/devextreme ../devextreme
2828

2929
- name: Use Node.js 15
3030
uses: actions/setup-node@v2
@@ -69,7 +69,7 @@ jobs:
6969

7070
- name: Run tests with React
7171
run: npm run test
72-
72+
7373
- name: Archive internal-tools artifacts
7474
uses: actions/upload-artifact@v3
7575
with:

0 commit comments

Comments
 (0)