Skip to content

Commit 21db9e4

Browse files
authored
fix(chore): fix eslint default config major versions
This PR adjusts the default config versions for eslint airbnb and unicorn to the current major versions which are approved to work with our custom rules setting, as our own rules extend their defaults. By the current logic, always the latest versions are taken, which would mean our CI could break if new major versions of the default rules introduce some changes not reflected in our code.
1 parent 3ac5bf1 commit 21db9e4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

.github/workflows/ci.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ jobs:
1111
- uses: actions/checkout@v3
1212
- uses: actions/setup-node@v3
1313
- name: Install dependencies
14-
run: yarn && yarn add -D eslint-config-airbnb-base eslint-plugin-unicorn eslint-plugin-jest@^26.9.0 @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript
14+
run: yarn && yarn add -D eslint-config-airbnb-base@^15 eslint-plugin-unicorn@^45 eslint-plugin-jest@^26.9.0 @typescript-eslint/eslint-plugin @typescript-eslint/parser typescript
1515
- name: Lint JS and LESS files
1616
run: npm run lint
1717
- name: Assert LESS files formatting using Prettier

0 commit comments

Comments
 (0)