@lqbach/eslint-config 0.4.0 โ†’ 0.6.0

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/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.6.0](https://github.com/lqbach/eslint-prettier-config/compare/eslint-config-v0.5.0...eslint-config-v0.6.0) (2024-08-26)
4
+
5
+
6
+ ### Chores ๐Ÿงน
7
+
8
+ * **eslint-config:** Synchronize ESLint Prettier Configuration versions
9
+
10
+ ## [0.5.0](https://github.com/lqbach/eslint-prettier-config/compare/eslint-config-v0.4.0...eslint-config-v0.5.0) (2024-08-23)
11
+
12
+
13
+ ### Features ๐Ÿš€
14
+
15
+ * add functionality for emotion css in react ([67ef1e5](https://github.com/lqbach/eslint-prettier-config/commit/67ef1e583370bb53fd10074f5b256fb5fdbca248))
16
+
3
17
  ## [0.4.0](https://github.com/lqbach/eslint-prettier-config/compare/eslint-config-v0.3.4...eslint-config-v0.4.0) (2023-12-04)
4
18
 
5
19
 
package/dist/index.cjs CHANGED
@@ -370,6 +370,9 @@ function config(params = {}) {
370
370
  "**/.output",
371
371
  "**/*.min.*",
372
372
  "**/LICENSE*",
373
+ "**/web/public",
374
+ "**/studio/build",
375
+ "**/studio/.sanity",
373
376
  ...params.ignores ? params.ignores : []
374
377
  ]
375
378
  };
@@ -439,7 +442,9 @@ function config(params = {}) {
439
442
  react: import_eslint_plugin_react.default
440
443
  },
441
444
  rules: {
442
- ...import_eslint_plugin_react.default.configs.recommended.rules
445
+ ...import_eslint_plugin_react.default.configs.recommended.rules,
446
+ // ignore `css` for emotion usage
447
+ "react/no-unknown-property": ["error", { ignore: ["css"] }]
443
448
  }
444
449
  } : {};
445
450
  const vueConfig = params.vue ?? false ? {
package/dist/index.js CHANGED
@@ -359,6 +359,9 @@ function config(params = {}) {
359
359
  "**/.output",
360
360
  "**/*.min.*",
361
361
  "**/LICENSE*",
362
+ "**/web/public",
363
+ "**/studio/build",
364
+ "**/studio/.sanity",
362
365
  ...params.ignores ? params.ignores : []
363
366
  ]
364
367
  };
@@ -428,7 +431,9 @@ function config(params = {}) {
428
431
  react: default8
429
432
  },
430
433
  rules: {
431
- ...default8.configs.recommended.rules
434
+ ...default8.configs.recommended.rules,
435
+ // ignore `css` for emotion usage
436
+ "react/no-unknown-property": ["error", { ignore: ["css"] }]
432
437
  }
433
438
  } : {};
434
439
  const vueConfig = params.vue ?? false ? {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@lqbach/eslint-config",
3
3
  "type": "module",
4
- "version": "0.4.0",
4
+ "version": "0.6.0",
5
5
  "description": "lqbach's Personal Eslint Config",
6
6
  "private": false,
7
7
  "license": "MIT",
package/src/index.ts CHANGED
@@ -41,6 +41,10 @@ export default function config(params: ConfigParams = {}): Array<ConfigObject> {
41
41
 
42
42
  "**/*.min.*",
43
43
  "**/LICENSE*",
44
+
45
+ "**/web/public",
46
+ "**/studio/build",
47
+ "**/studio/.sanity",
44
48
  ...(params.ignores ? params.ignores : []),
45
49
  ],
46
50
  }
@@ -122,6 +126,8 @@ export default function config(params: ConfigParams = {}): Array<ConfigObject> {
122
126
  },
123
127
  rules: {
124
128
  ...pluginReact.configs.recommended.rules,
129
+ // ignore `css` for emotion usage
130
+ "react/no-unknown-property": ["error", { ignore: ["css"] }],
125
131
  },
126
132
  }
127
133
  : {}