@mouse_484/eslint-config 5.8.0 → 5.8.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.
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@mouse_484/eslint-config",
3
3
  "type": "module",
4
- "version": "5.8.0",
4
+ "version": "5.8.2",
5
5
  "author": "mouse_484",
6
6
  "license": "MIT",
7
7
  "homepage": "https://github.com/mouse484/config/tree/main/packages/eslint",
@@ -25,7 +25,7 @@
25
25
  },
26
26
  "dependencies": {
27
27
  "@antfu/eslint-config": "^6.2.0",
28
- "eslint-plugin-better-tailwindcss": "^3.7.10",
28
+ "eslint-plugin-better-tailwindcss": "^3.7.11",
29
29
  "package-manager-detector": "^1.5.0"
30
30
  },
31
31
  "devDependencies": {
@@ -1,6 +1,5 @@
1
- import { GLOB_SVELTE } from '@antfu/eslint-config'
2
1
  import { CASES } from '../const/cases.js'
3
- import { GLOB_SVELTE_ROUTES } from '../const/glob.js'
2
+ import { GLOB_SVELTE_COMPONENTS, GLOB_SVELTE_ROUTES } from '../const/glob.js'
4
3
  import { createConfigs } from '../lib/factory.js'
5
4
 
6
5
  export default createConfigs({
@@ -10,7 +9,7 @@ export default createConfigs({
10
9
  {
11
10
  name: 'components',
12
11
  withOptions: ['unicorn'],
13
- files: [GLOB_SVELTE],
12
+ files: [GLOB_SVELTE_COMPONENTS],
14
13
  rules: {
15
14
  'unicorn/filename-case': [
16
15
  'error',
package/src/const/glob.js CHANGED
@@ -1,6 +1,6 @@
1
1
  import { GLOB_ASTRO } from '@antfu/eslint-config'
2
2
 
3
- export { GLOB_SVELTE as GLOB_SVELTE_COMPONENTS } from '@antfu/eslint-config'
3
+ export const GLOB_SVELTE_COMPONENTS = '"**/*.svelte'
4
4
 
5
5
  export const GLOB_SVELTE_ROUTES = '**/src/routes/**/\+*.svelte'
6
6