Skip to content

Commit 79249e1

Browse files
authored
fix: use caret (^) for all dependencies instead of pinning them (#1058)
* fix: use caret (^) for all dependencies instead of pinning them * chore: update @checkly/eslint-config to 0.16.5 * chore: update @commitlint/cli to 17.8.1 * chore: update @commitlint/config-conventional 17.8.1 * chore: update oclif to 4.17.44 * chore: update @oclif/plugin-plugins to 5.4.36 * fix: remove duplicate topicSeparator config * chore: update simple-git-hooks to 2.12.1 * chore: update axios to 1.8.4 * chore: update uuid to 11.1.0 and @types/uuid to 10.0.0 * chore: update @playwright/test to 1.51.1 * chore: update acorn to 8.14.1 * chore: update mqtt to 5.11.0 * chore: update glob to 10.4.5 and @types/glob to 8.1.0 * chore: update recast to 0.23.11 * chore: update rimraf to 5.0.10 * chore: update ci-info to 4.2.0 * chore: update @typescript-eslint/typescript-estree to 8.29.1 * chore: update giget to 1.2.5 * chore: update open to 8.4.2 * chore: update dotenv to 16.5.0 * chore: update config to 3.3.12 and @types/config to 3.3.5 * chore: update luxon to 3.6.1 and @types/luxon to 3.6.2 * chore: update nanoid to 3.3.11 * chore: update eslint to 8.57.1 * chore: update @checkly/eslint-config to 0.18.0 * chore: update @typescript-eslint/{eslint-plugin,parser} to 8.30.0 * chore: update @typescript-eslint/typescript-estree to 8.30.0 * chore: update lint-staged to 15.5.1 * chore: update @types/prompts to 2.4.9 * chore: update ts-node to 10.9.2 * chore: update ts-jest to 29.3.2 * chore: update @types/node to 22.14.1 * chore: update @types/tunnel to 0.0.7 * feat: upgrade to eslint 9
1 parent b5a93dc commit 79249e1

File tree

14 files changed

+15521
-21560
lines changed

14 files changed

+15521
-21560
lines changed

.eslintrc.js

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

eslint.config.mjs

Lines changed: 50 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,50 @@
1+
import { defineConfig, globalIgnores } from 'eslint/config'
2+
import eslint from '@eslint/js'
3+
import tseslint from 'typescript-eslint'
4+
import globals from 'globals'
5+
6+
export default defineConfig([
7+
globalIgnores([
8+
'**/dist/',
9+
'**/__checks__/**/*.spec.{js,ts,mjs}',
10+
'**/syntax-error*',
11+
'examples/*',
12+
'**/*fixtures/',
13+
]),
14+
{
15+
files: ['**/*.{js,ts}'],
16+
languageOptions: {
17+
ecmaVersion: 'latest',
18+
sourceType: 'module',
19+
globals: {
20+
...globals.node,
21+
},
22+
},
23+
extends: [
24+
eslint.configs.recommended,
25+
tseslint.configs.recommended,
26+
],
27+
rules: {
28+
'@typescript-eslint/no-explicit-any': 0,
29+
'@typescript-eslint/ban-ts-comment': 0,
30+
'no-console': 2,
31+
'no-restricted-syntax': [
32+
'error', {
33+
selector: 'TSEnumDeclaration',
34+
message: "Don't declare enums, use union types instead",
35+
},
36+
],
37+
'@typescript-eslint/no-unused-vars': 1,
38+
'no-empty': 1,
39+
},
40+
},
41+
{
42+
files: [
43+
'src/commands/*',
44+
'src/reporters/*',
45+
],
46+
rules: {
47+
'no-console': 0,
48+
},
49+
},
50+
])

0 commit comments

Comments
 (0)