@rob.hameetman/eslint-plugin 1.0.0 → 1.0.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/bin/index.js ADDED
@@ -0,0 +1 @@
1
+ export{i as default}from"./index-ClKXlAE4.js";import"fs";import"module";import"path";import"crypto";import"tty";import"util";import"os";import"assert";import"buffer";import"inspector";import"eslint";import"node:fs";import"node:path";import"node:module";import"node:assert";import"node:util";import"node:os";import"url";import"node:fs/promises";import"node:url";import"events";import"eslint/lib/util/glob-util";import"vm";import"node:crypto";import"node:worker_threads";import"repl";import"console";import"stream";import"process";import"http";import"https";import"zlib";import"net";import"tls";import"child_process";import"punycode";import"node:events";import"node:stream";import"node:string_decoder";
package/index.cjs ADDED
@@ -0,0 +1 @@
1
+ module.exports = async () => (await import('./bin/index.js')).default;
package/index.js CHANGED
@@ -1 +1 @@
1
- export default await import('./bin/plugin.min.js');
1
+ export default await import('./bin/index.js');
package/package.json CHANGED
@@ -1,17 +1,18 @@
1
1
  {
2
2
  "name": "@rob.hameetman/eslint-plugin",
3
- "version": "1.0.0",
3
+ "version": "1.0.2",
4
4
  "description": "ESLint plugin for enterprise-strength TypeScript packages",
5
5
  "author": "Robert H. Hameetman (https://www.robhameetman.com/)",
6
6
  "homepage": "https://www.npmjs.org/package/@rob.hameetman/eslint-plugin",
7
7
  "license": "MIT",
8
8
  "type": "module",
9
- "main": "./index.js",
9
+ "main": "./index.cjs",
10
10
  "module": "./index.js",
11
11
  "typings": "./bin/index.d.js",
12
12
  "files": [
13
13
  "bin/*",
14
- "index.js"
14
+ "index.js",
15
+ "index.cjs"
15
16
  ],
16
17
  "repository": {
17
18
  "type": "git",
@@ -32,26 +33,26 @@
32
33
  "dependencies": {
33
34
  "@eslint/compat": "1.0.3",
34
35
  "@eslint/eslintrc": "3.1.0",
35
- "@eslint/js": "9.3.0",
36
+ "@eslint/js": "9.15.0",
36
37
  "@next/eslint-plugin-next": "14.2.3",
37
38
  "@rob.hameetman/type-guards": "1.1.0",
38
39
  "eslint-config-prettier": "9.1.0",
39
- "eslint-plugin-cypress": "3.2.0",
40
+ "eslint-plugin-cypress": "4.1.0",
40
41
  "eslint-plugin-graphql": "4.0.0",
41
- "eslint-plugin-import": "2.29.1",
42
- "eslint-plugin-jest": "28.5.0",
42
+ "eslint-plugin-import": "2.31.0",
43
+ "eslint-plugin-jest": "28.9.0",
43
44
  "eslint-plugin-jest-async": "1.0.3",
44
- "eslint-plugin-jsx-a11y": "6.8.0",
45
- "eslint-plugin-no-secrets": "1.0.2",
46
- "eslint-plugin-no-unsanitized": "4.0.2",
45
+ "eslint-plugin-jsx-a11y": "6.10.2",
46
+ "eslint-plugin-no-secrets": "1.1.2",
47
+ "eslint-plugin-no-unsanitized": "4.1.2",
47
48
  "eslint-plugin-node": "11.1.0",
48
- "eslint-plugin-prettier": "5.1.3",
49
- "eslint-plugin-promise": "6.2.0",
50
- "eslint-plugin-react": "7.34.1",
51
- "eslint-plugin-react-hooks": "4.6.2",
52
- "eslint-plugin-security": "3.0.0",
53
- "eslint-plugin-tailwindcss": "3.17.0",
54
- "eslint-plugin-testing-library": "6.2.2",
49
+ "eslint-plugin-prettier": "5.2.1",
50
+ "eslint-plugin-promise": "7.2.1",
51
+ "eslint-plugin-react": "7.37.2",
52
+ "eslint-plugin-react-hooks": "5.0.0",
53
+ "eslint-plugin-security": "3.0.1",
54
+ "eslint-plugin-tailwindcss": "3.17.5",
55
+ "eslint-plugin-testing-library": "7.0.0",
55
56
  "esquery": "1.5.0",
56
57
  "globals": "15.3.0",
57
58
  "jsonschema": "1.4.1",
@@ -77,6 +78,7 @@
77
78
  "@rob.hameetman/semantic-release-config": "1.0.0",
78
79
  "@rollup/plugin-alias": "5.1.0",
79
80
  "@rollup/plugin-commonjs": "25.0.8",
81
+ "@rollup/plugin-eslint": "9.0.5",
80
82
  "@rollup/plugin-json": "6.1.0",
81
83
  "@rollup/plugin-node-resolve": "15.2.3",
82
84
  "@rollup/plugin-terser": "0.4.4",
@@ -96,6 +98,7 @@
96
98
  "rollup-plugin-typescript2": "0.36.0",
97
99
  "ts-jest": "29.1.3",
98
100
  "ts-loader": "9.5.1",
101
+ "tsx": "4.19.2",
99
102
  "typescript": "5.4.5"
100
103
  },
101
104
  "bundleDependencies": [
@@ -106,8 +109,8 @@
106
109
  "eslint": ">= 9.0.0"
107
110
  },
108
111
  "eslintConfig": {
109
- "extends": [
110
- "./index.js"
112
+ "plugins": [
113
+ "./index.cjs"
111
114
  ],
112
115
  "rules": {
113
116
  "import/export": "off",
@@ -128,6 +131,23 @@
128
131
  "useTabs": true,
129
132
  "endOfLine": "auto"
130
133
  },
134
+ "babel": {
135
+ "presets": [
136
+ [
137
+ "@babel/preset-env",
138
+ {
139
+ "targets": {
140
+ "node": "current"
141
+ }
142
+ }
143
+ ],
144
+ "@babel/preset-typescript"
145
+ ],
146
+ "plugins": [
147
+ "@babel/plugin-syntax-top-level-await",
148
+ "babel-plugin-transform-import-meta"
149
+ ]
150
+ },
131
151
  "jest": {
132
152
  "roots": [
133
153
  "<rootDir>/lib"