Skip to content

Commit a57c36b

Browse files
committed
Disable @typescript-eslint rules (for now)
1 parent 8c6f1be commit a57c36b

File tree

6 files changed

+562
-808
lines changed

6 files changed

+562
-808
lines changed

.eslintrc.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
{
2-
"extends": ["prettier", "@augu/eslint-config/ts.js"],
2+
"extends": ["prettier", "@augu/eslint-config"],
3+
"parser": "@typescript-eslint/parser",
34
"ignorePatterns": ["**/*.md", "LICENSE"],
45
"overrides": [
56
{

.yarn/releases/yarn-3.5.1.cjs renamed to .yarn/releases/yarn-3.6.1.cjs

Lines changed: 225 additions & 224 deletions
Large diffs are not rendered by default.

.yarnrc.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,3 @@
11
nodeLinker: node-modules
22

3-
yarnPath: .yarn/releases/yarn-3.5.1.cjs
3+
yarnPath: .yarn/releases/yarn-3.6.1.cjs

package.json

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
"repository": "https://github.com/Noelware/utils",
1010
"bugs": "https://github.com/Noelware/utils/issues",
1111
"homepage": "https://docs.noelware.org/libraries/@noelware/utils",
12-
"packageManager": "yarn@3.5.1",
12+
"packageManager": "yarn@3.6.1",
1313
"files": [
1414
"dist/"
1515
],
@@ -29,15 +29,15 @@
2929
"devDependencies": {
3030
"@augu/eslint-config": "4.0.1",
3131
"@augu/tsconfig": "1.1.1",
32-
"@types/node": "20.1.2",
33-
"@typescript-eslint/eslint-plugin": "5.59.5",
34-
"@typescript-eslint/parser": "5.59.5",
35-
"eslint": "8.40.0",
32+
"@types/node": "20.4.2",
33+
"@typescript-eslint/eslint-plugin": "6.0.0",
34+
"@typescript-eslint/parser": "6.0.0",
35+
"eslint": "8.45.0",
3636
"eslint-config-prettier": "8.8.0",
37-
"prettier": "2.8.8",
38-
"tsup": "6.7.0",
39-
"typescript": "5.0.4",
40-
"vite": "4.3.5",
37+
"prettier": "3.0.0",
38+
"tsup": "7.1.0",
39+
"typescript": "5.1.6",
40+
"vite": "4.4.4",
4141
"vitest": "0.31.0"
4242
}
4343
}

tests/main.spec.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ describe('EventBus', () => {
7272
emitted = true;
7373
});
7474

75-
eventBus!.emit('owo');
75+
eventBus.emit('owo');
7676
expect(emitted).toBeTruthy();
7777
});
7878

@@ -83,8 +83,8 @@ describe('EventBus', () => {
8383
});
8484
}
8585

86-
expect(eventBus!.size()).toBe(1);
87-
expect(eventBus!.size('owo')).toBe(100);
86+
expect(eventBus.size()).toBe(1);
87+
expect(eventBus.size('owo')).toBe(100);
8888
});
8989

9090
test('should be no listeners with `once` method', () => {

0 commit comments

Comments
 (0)