@kitql/eslint-config 0.6.1-next.0 → 0.7.0-next.2

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.
@@ -19,6 +19,7 @@ const config = {
19
19
  '^(\\$houdini)(.*)$', // special
20
20
  '^(remult)(.*)$', // special
21
21
  '^(firstly)(.*)$', // special
22
+ '^(firstly/)(.*)$', // special
22
23
  '^(@kitql)(.*)$', // special
23
24
  '',
24
25
  '^(\\$env)(.*)$', // special sveltekit
package/README.md CHANGED
@@ -18,20 +18,20 @@ npm install @kitql/eslint-config --D
18
18
  `.eslint.config.js`
19
19
 
20
20
  ```js
21
- import kitql from '@kitql/eslint-config'
21
+ import { kitql } from '@kitql/eslint-config'
22
22
 
23
- export default [...kitql]
23
+ export default [...kitql()]
24
24
  ```
25
25
 
26
26
  ### prettier config
27
27
 
28
- `.prettierrc.mjs`
28
+ `.prettierrc.cjs`
29
29
 
30
30
  ```js
31
- import config from './packages/eslint-config/.prettierrc.mjs'
31
+ import { kitql } from './packages/eslint-config/.prettierrc.cjs'
32
32
 
33
33
  export default {
34
- ...config,
34
+ ...kitql(),
35
35
  // Some custom things?
36
36
  }
37
37
  ```
package/cmd.js CHANGED
@@ -40,7 +40,7 @@ program.parse(process.argv)
40
40
  const options_cli = program.opts()
41
41
 
42
42
  const pathPrettierIgnore = findFileOrUp('.prettierignore')
43
- const pathPrettierMjs = findFileOrUp('.prettierrc.mjs')
43
+ const pathPrettier_js = findFileOrUp('.prettierrc.js')
44
44
 
45
45
  const format = options_cli.format ?? false
46
46
  let glob = options_cli.glob ?? '.'
@@ -294,7 +294,7 @@ async function prettierRun() {
294
294
  // ignore?
295
295
  ` --ignore-path ${pathPrettierIgnore}` +
296
296
  // config
297
- ` --config ${pathPrettierMjs}` +
297
+ ` --config ${pathPrettier_js}` +
298
298
  // format or not
299
299
  `${format ? ' --write' : ''}` +
300
300
  // exec
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitql/eslint-config",
3
- "version": "0.6.1-next.0",
3
+ "version": "0.7.0-next.2",
4
4
  "type": "module",
5
5
  "description": "opinionated linting and formatting for projects",
6
6
  "repository": {
@@ -17,7 +17,7 @@
17
17
  },
18
18
  "main": "eslint.config.js",
19
19
  "files": [
20
- ".prettierrc.mjs",
20
+ ".prettierrc.js",
21
21
  "cmd.js",
22
22
  "eslint.config.js",
23
23
  "helper/findFileOrUp.js"
@@ -32,14 +32,14 @@
32
32
  },
33
33
  "dependencies": {
34
34
  "@eslint/compat": "1.2.7",
35
- "@eslint/js": "9.23.0",
35
+ "@eslint/js": "9.24.0",
36
36
  "@theguild/prettier-config": "3.0.0",
37
37
  "@types/eslint": "9.6.1",
38
- "@typescript-eslint/parser": "8.28.0",
38
+ "@typescript-eslint/parser": "8.29.0",
39
39
  "commander": "13.1.0",
40
- "eslint": "9.23.0",
40
+ "eslint": "9.24.0",
41
41
  "eslint-plugin-pnpm": "0.3.1",
42
- "eslint-plugin-svelte": "3.3.0",
42
+ "eslint-plugin-svelte": "3.5.0",
43
43
  "eslint-plugin-unused-imports": "4.1.4",
44
44
  "globals": "16.0.0",
45
45
  "jsonc-eslint-parser": "2.4.0",
@@ -47,9 +47,9 @@
47
47
  "prettier": "^3.5.3",
48
48
  "prettier-plugin-svelte": "3.3.2",
49
49
  "prettier-plugin-tailwindcss": "0.6.6",
50
- "typescript-eslint": "8.28.0",
50
+ "typescript-eslint": "8.29.0",
51
51
  "yaml-eslint-parser": "1.3.0",
52
- "@kitql/helpers": "0.8.12"
52
+ "@kitql/helpers": "0.8.13-next.0"
53
53
  },
54
54
  "publishConfig": {
55
55
  "access": "public"