Skip to content

Commit 4ebf3a6

Browse files
committed
chore(remove): eslint support to make it a little minimal
1 parent 339983a commit 4ebf3a6

File tree

7 files changed

+46
-1736
lines changed

7 files changed

+46
-1736
lines changed

.github/husky/pre-commit

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
#!/usr/bin/env sh
22
. "$(dirname -- "$0")/_/husky.sh"
33

4-
yarn pretty-quick --staged && yarn lint-staged
4+
yarn pretty-quick --staged

.github/problemMatchers/eslint.json

Lines changed: 0 additions & 22 deletions
This file was deleted.

.github/workflows/continous-integration.yml

Lines changed: 2 additions & 21 deletions
Original file line numberDiff line numberDiff line change
@@ -7,25 +7,6 @@ on:
77
pull_request:
88

99
jobs:
10-
Linting:
11-
name: Linting
12-
runs-on: ubuntu-latest
13-
steps:
14-
- name: Checkout Project
15-
uses: actions/checkout@v3
16-
- name: Add problem matcher
17-
run: echo "::add-matcher::.github/problemMatchers/eslint.json"
18-
- name: Use Node.js v18
19-
uses: actions/setup-node@v3
20-
with:
21-
node-version: 18
22-
cache: yarn
23-
registry-url: https://registry.npmjs.org/
24-
- name: Install Dependencies
25-
run: yarn --immutable
26-
- name: Run ESLint
27-
run: yarn lint --fix=false
28-
2910
Building:
3011
name: Compile source code
3112
runs-on: ubuntu-latest
@@ -34,10 +15,10 @@ jobs:
3415
uses: actions/checkout@v3
3516
- name: Add problem matcher
3617
run: echo "::add-matcher::.github/problemMatchers/tsc.json"
37-
- name: Use Node.js v18
18+
- name: Use Node.js v20
3819
uses: actions/setup-node@v3
3920
with:
40-
node-version: 18
21+
node-version: 20
4122
cache: yarn
4223
registry-url: https://registry.npmjs.org/
4324
- name: Install Dependencies

README.md

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,6 @@
2525
- Uses [`@skyra/http-framework`](https://github.com/https://github.com/skyra-project/archid-components/tree/main/packages/http-framework) as the base library
2626
- Uses [@skyra/env-utilities](https://github.com/skyra-project/archid-components/tree/main/packages/env-utilities) for better env management
2727
- Typescript support
28-
- ESLint support
2928
- Prettier support
3029
- Automated git hooks with husky
3130
- Integrated with commit lint to watch your commit messages

package.json

Lines changed: 0 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,6 @@
1414
"start": "node dist/Bot.js --enable-source-maps",
1515
"build": "tsc -b src",
1616
"watch": "yarn tsc-watch -b src --onSuccess \"yarn start\"",
17-
"lint": "eslint --fix --ext .ts src",
1817
"format": "prettier --write --loglevel=warn \"src/**/*.{js,ts,json}\"",
1918
"postinstall": "husky install .github/husky"
2019
},
@@ -28,18 +27,11 @@
2827
"devDependencies": {
2928
"@commitlint/cli": "^17.6.1",
3029
"@commitlint/config-conventional": "^17.6.1",
31-
"@sapphire/eslint-config": "^5.0.0",
3230
"@sapphire/prettier-config": "^1.4.5",
3331
"@sapphire/ts-config": "^4.0.0",
3432
"@types/node": "^18.15.11",
35-
"@typescript-eslint/eslint-plugin": "^5.58.0",
36-
"@typescript-eslint/parser": "^5.58.0",
3733
"discord-api-types": "0.37.63",
38-
"eslint": "^8.38.0",
39-
"eslint-config-prettier": "^8.8.0",
40-
"eslint-plugin-prettier": "^4.2.1",
4134
"husky": "^8.0.3",
42-
"lint-staged": "^15.0.0",
4335
"prettier": "^2.8.7",
4436
"pretty-quick": "^3.1.3",
4537
"tsc-watch": "^6.0.0",
@@ -49,17 +41,6 @@
4941
"node": ">=18.x.x"
5042
},
5143
"prettier": "@sapphire/prettier-config",
52-
"lint-staged": {
53-
"*.{js,ts}": [
54-
"eslint --fix --ext ts,js"
55-
]
56-
},
57-
"eslintConfig": {
58-
"extends": "@sapphire",
59-
"rules": {
60-
"@typescript-eslint/no-base-to-string": "off"
61-
}
62-
},
6344
"commitlint": {
6445
"extends": [
6546
"@commitlint/config-conventional"

tsconfig.eslint.json

Lines changed: 0 additions & 4 deletions
This file was deleted.

0 commit comments

Comments
 (0)