@elementx-ai/eslint-config 8.0.3 → 8.0.4
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 +7 -0
- package/lib/common.js +12 -0
- package/lib/react.js +12 -0
- package/lib/typescript.js +6 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -2,6 +2,13 @@
|
|
|
2
2
|
|
|
3
3
|
This repository adheres to semantic versioning and follows the conventions of [keepachangelog.com](http://keepachangelog.com)
|
|
4
4
|
|
|
5
|
+
## [8.0.4](https://github.com/elementx-ai/eslint-config/compare/v8.0.3...v8.0.4) (2025-01-09)
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
### Bug Fixes
|
|
9
|
+
|
|
10
|
+
* Add files to lib rules ([#35](https://github.com/elementx-ai/eslint-config/issues/35)) ([5183e93](https://github.com/elementx-ai/eslint-config/commit/5183e9318cad3ac4b96666da9a0c575092a2c19d))
|
|
11
|
+
|
|
5
12
|
## [8.0.3](https://github.com/elementx-ai/eslint-config/compare/v8.0.2...v8.0.3) (2025-01-09)
|
|
6
13
|
|
|
7
14
|
|
package/lib/common.js
CHANGED
|
@@ -7,6 +7,18 @@ import globals from "globals";
|
|
|
7
7
|
export default [
|
|
8
8
|
eslint.configs.recommended,
|
|
9
9
|
{
|
|
10
|
+
files: [
|
|
11
|
+
"*.js",
|
|
12
|
+
"*.jsx",
|
|
13
|
+
"*.mjs",
|
|
14
|
+
"*.ts",
|
|
15
|
+
"*.tsx",
|
|
16
|
+
"**/*.js",
|
|
17
|
+
"**/*.jsx",
|
|
18
|
+
"**/*.mjs",
|
|
19
|
+
"**/*.ts",
|
|
20
|
+
"**/*.tsx",
|
|
21
|
+
],
|
|
10
22
|
languageOptions: {
|
|
11
23
|
globals: {
|
|
12
24
|
...globals.browser,
|
package/lib/react.js
CHANGED
|
@@ -3,6 +3,18 @@ import reactRefresh from "eslint-plugin-react-refresh";
|
|
|
3
3
|
|
|
4
4
|
export default [
|
|
5
5
|
{
|
|
6
|
+
files: [
|
|
7
|
+
"*.js",
|
|
8
|
+
"*.jsx",
|
|
9
|
+
"*.mjs",
|
|
10
|
+
"*.ts",
|
|
11
|
+
"*.tsx",
|
|
12
|
+
"**/*.js",
|
|
13
|
+
"**/*.jsx",
|
|
14
|
+
"**/*.mjs",
|
|
15
|
+
"**/*.ts",
|
|
16
|
+
"**/*.tsx",
|
|
17
|
+
],
|
|
6
18
|
plugins: {
|
|
7
19
|
"react-hooks": reactHooks,
|
|
8
20
|
"react-refresh": reactRefresh,
|
package/lib/typescript.js
CHANGED