@kitql/eslint-config 0.8.0 → 0.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/.prettierrc.js CHANGED
@@ -1,3 +1,7 @@
1
+ import { createRequire } from 'node:module'
2
+
3
+ const require = createRequire(import.meta.url)
4
+
1
5
  const config = {
2
6
  tabWidth: 1,
3
7
  useTabs: true,
@@ -7,10 +11,10 @@ const config = {
7
11
  arrowParens: 'always',
8
12
  printWidth: 100,
9
13
  plugins: [
10
- '@ianvs/prettier-plugin-sort-imports',
11
- 'prettier-plugin-sh',
12
- 'prettier-plugin-svelte',
13
- 'prettier-plugin-tailwindcss', // MUST come last
14
+ require.resolve('@ianvs/prettier-plugin-sort-imports'),
15
+ require.resolve('prettier-plugin-sh'),
16
+ require.resolve('prettier-plugin-svelte'),
17
+ require.resolve('prettier-plugin-tailwindcss'), // MUST come last
14
18
  ],
15
19
  importOrderParserPlugins: ['typescript', 'decorators-legacy'],
16
20
  importOrder: [
package/eslint.config.js CHANGED
@@ -121,6 +121,13 @@ const othersRules = ({ svelteConfig } = {}) => {
121
121
  name: '@kitql:ignores',
122
122
  ignores: ['build/', '.svelte-kit/', 'dist/', '**/build/', '**/.svelte-kit/', '**/dist/'],
123
123
  },
124
+ {
125
+ name: '@kitql:tests',
126
+ files: ['**/*.test.ts', '**/*.test.js', '**/*.spec.ts', '**/*.spec.js'],
127
+ rules: {
128
+ 'e18e/prefer-static-regex': 'off',
129
+ },
130
+ },
124
131
  {
125
132
  name: '@kitql:unused-imports',
126
133
  rules: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitql/eslint-config",
3
- "version": "0.8.0",
3
+ "version": "0.8.1",
4
4
  "type": "module",
5
5
  "description": "opinionated linting and formatting for projects",
6
6
  "repository": {
@@ -35,8 +35,8 @@
35
35
  ],
36
36
  "peerDependencies": {
37
37
  "eslint": "10.1.0",
38
- "oxlint": "1.57.0",
39
- "oxlint-tsgolint": "0.17.0",
38
+ "oxlint": "1.59.0",
39
+ "oxlint-tsgolint": "0.20.0",
40
40
  "prettier": "^3.6.1"
41
41
  },
42
42
  "peerDependenciesMeta": {
@@ -59,18 +59,18 @@
59
59
  "@eslint/js": "10.0.1",
60
60
  "@ianvs/prettier-plugin-sort-imports": "^4.7.0",
61
61
  "@types/eslint": "9.6.1",
62
- "@typescript-eslint/parser": "8.57.1",
62
+ "@typescript-eslint/parser": "8.58.1",
63
63
  "commander": "14.0.0",
64
64
  "eslint-config-prettier": "10.1.5",
65
- "eslint-plugin-oxlint": "1.57.0",
65
+ "eslint-plugin-oxlint": "1.59.0",
66
66
  "eslint-plugin-pnpm": "1.6.0",
67
67
  "eslint-plugin-svelte": "3.16.0",
68
68
  "globals": "17.4.0",
69
69
  "jsonc-eslint-parser": "3.1.0",
70
70
  "prettier-plugin-sh": "^0.18.0",
71
71
  "prettier-plugin-svelte": "^3.4.0",
72
- "prettier-plugin-tailwindcss": "^0.7.0",
73
- "typescript-eslint": "8.57.1",
72
+ "prettier-plugin-tailwindcss": "^0.7.2",
73
+ "typescript-eslint": "8.58.1",
74
74
  "yaml-eslint-parser": "2.0.0",
75
75
  "@kitql/helpers": "0.8.13"
76
76
  },