Skip to content

Commit 40fb135

Browse files
authored
chore: upgrade eslint codely config (#5)
1 parent 2ab80f6 commit 40fb135

File tree

6 files changed

+5744
-7609
lines changed

6 files changed

+5744
-7609
lines changed

.eslintrc.js

-11
This file was deleted.

.github/workflows/ci.yml

+9-3
Original file line numberDiff line numberDiff line change
@@ -8,11 +8,17 @@ jobs:
88
name: 🚀 Lint and test
99
timeout-minutes: 5
1010
steps:
11+
1112
- name: 👍 Checkout
12-
uses: actions/checkout@v2
13+
uses: actions/checkout@v4
14+
15+
- name: ❇️ Setup Node.js
16+
uses: actions/setup-node@v4
17+
with:
18+
node-version: 20
1319

1420
- name: 📦 Cache node modules
15-
uses: actions/cache@v2
21+
uses: actions/cache@v4
1622
env:
1723
cache-name: cache-node-modules
1824
with:
@@ -30,4 +36,4 @@ jobs:
3036
run: npm run lint
3137

3238
- name: ✅ Run tests
33-
run: npm run test
39+
run: npm run test

README.md

+1-4
Original file line numberDiff line numberDiff line change
@@ -7,10 +7,7 @@ The purpose of this repository is to leave it with the bare minimum dependencies
77
## Features
88

99
- [TypeScript](https://www.typescriptlang.org/) (v5)
10-
- [Prettier](https://prettier.io/)
11-
- [ESLint](https://eslint.org/) with:
12-
- [Codely's config](https://github.com/lydell/eslint-plugin-simple-import-sort/) (includes ESLint's recommended rules, Prettier, Import plugin and more)
13-
- [Jest plugin](https://www.npmjs.com/package/eslint-plugin-jest)
10+
- [ESLint](https://eslint.org/) with [Codely's config](https://github.com/CodelyTV/eslint-config-codely) (includes ESLint's recommended rules, Prettier, Import plugin and more)
1411
- [Jest](https://jestjs.io)
1512
- [GitHub Action workflows](https://github.com/features/actions) set up to run tests and linting on push
1613
- [SWC](https://swc.rs/): Execute your tests in less than 200ms

eslint.config.mjs

+3
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,3 @@
1+
import eslintConfigCodely from "eslint-config-codely";
2+
3+
export default [...eslintConfigCodely.full];

0 commit comments

Comments
 (0)