Skip to content

Commit

Permalink
chore: upgrade eslint codely config (#5)
Browse files Browse the repository at this point in the history
  • Loading branch information
rgomezcasas authored Sep 2, 2024
1 parent 2ab80f6 commit 40fb135
Show file tree
Hide file tree
Showing 6 changed files with 5,744 additions and 7,609 deletions.
11 changes: 0 additions & 11 deletions .eslintrc.js

This file was deleted.

12 changes: 9 additions & 3 deletions .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,17 @@ jobs:
name: 🚀 Lint and test
timeout-minutes: 5
steps:

- name: 👍 Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4

- name: ❇️ Setup Node.js
uses: actions/setup-node@v4
with:
node-version: 20

- name: 📦 Cache node modules
uses: actions/cache@v2
uses: actions/cache@v4
env:
cache-name: cache-node-modules
with:
Expand All @@ -30,4 +36,4 @@ jobs:
run: npm run lint

- name: ✅ Run tests
run: npm run test
run: npm run test
5 changes: 1 addition & 4 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,10 +7,7 @@ The purpose of this repository is to leave it with the bare minimum dependencies
## Features

- [TypeScript](https://www.typescriptlang.org/) (v5)
- [Prettier](https://prettier.io/)
- [ESLint](https://eslint.org/) with:
- [Codely's config](https://github.com/lydell/eslint-plugin-simple-import-sort/) (includes ESLint's recommended rules, Prettier, Import plugin and more)
- [Jest plugin](https://www.npmjs.com/package/eslint-plugin-jest)
- [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)
- [Jest](https://jestjs.io)
- [GitHub Action workflows](https://github.com/features/actions) set up to run tests and linting on push
- [SWC](https://swc.rs/): Execute your tests in less than 200ms
Expand Down
3 changes: 3 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
import eslintConfigCodely from "eslint-config-codely";

export default [...eslintConfigCodely.full];
Loading

0 comments on commit 40fb135

Please sign in to comment.