eslint-plugin-use-agnostic 2.1.0 → 2.2.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.
Files changed (2) hide show
  1. package/package.json +2 -2
  2. package/types/index.d.ts +14 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "eslint-plugin-use-agnostic",
3
- "version": "2.1.0",
3
+ "version": "2.2.0",
4
4
  "description": "Highlights problematic server-client imports in projects made with the Fullstack React Architecture.",
5
5
  "keywords": [
6
6
  "eslint",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "dependencies": {
46
46
  "find-up": "^8.0.0",
47
- "get-sourcecode-from-file-path": "^1.2.0",
47
+ "get-sourcecode-from-file-path": "^2.0.0",
48
48
  "oxc-resolver": "^11.19.1",
49
49
  "resolve-importing-path": "^1.0.4",
50
50
  "typescript": "^5.9.3",
package/types/index.d.ts CHANGED
@@ -674,7 +674,20 @@ export const defineConfigSettings: <T extends string, U extends string>({
674
674
  reactFolder: T;
675
675
  rootPath: U;
676
676
  }) => {
677
- files: ["**/*.js"];
677
+ files: [
678
+ "**/*.tsx",
679
+ "**/*.ts",
680
+ "**/*.mtsx",
681
+ "**/*.mts",
682
+ "**/*.ctsx",
683
+ "**/*.cts",
684
+ "**/*.jsx",
685
+ "**/*.js",
686
+ "**/*.mjsx",
687
+ "**/*.mjs",
688
+ "**/*.cjsx",
689
+ "**/*.cjs",
690
+ ];
678
691
  settings: {
679
692
  eXtraJSX: {
680
693
  reactFolder: T;