Skip to content

Commit

Permalink
ESLINTJS-51 Compile the ESLint plugin from a dedicated entry point
Browse files Browse the repository at this point in the history
  • Loading branch information
ericmorand-sonarsource committed Aug 28, 2024
1 parent 0589cf4 commit 45db117
Show file tree
Hide file tree
Showing 8 changed files with 757 additions and 388 deletions.
1 change: 1 addition & 0 deletions its/eslint8-plugin-sonarjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"test": "node index.test.js"
},
"devDependencies": {
"@types/eslint": "^8.56.12",
"cross-spawn": "7.0.3",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
Expand Down
1 change: 1 addition & 0 deletions its/eslint9-plugin-sonarjs/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
"test": "node index.test.js"
},
"devDependencies": {
"@types/eslint": "^8.56.12",
"cross-spawn": "7.0.3",
"eslint": "8.57.0",
"eslint-plugin-import": "2.29.1",
Expand Down
385 changes: 3 additions & 382 deletions packages/jsts/src/rules/index.ts

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions packages/jsts/src/rules/package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 4 additions & 4 deletions packages/jsts/src/rules/package.json
Original file line number Diff line number Diff line change
@@ -1,14 +1,14 @@
{
"name": "eslint-plugin-sonarjs",
"version": "2.0.0",
"main": "./lib/index.js",
"exports": "./lib/index.js",
"main": "./lib/plugin.js",
"exports": "./lib/plugin.js",
"description": "SonarJS rules for ESLint",
"types": "./lib/index.d.ts",
"types": "./lib/plugin.d.ts",
"type": "commonjs",
"scripts": {
"build": "npm ci && npm run compile && npm pack",
"compile": "npm run clear && tsc --outDir lib",
"compile": "npm run clear && tsc -p tsconfig-plugin.json --outDir lib",
"eslint-docs": "npm run compile && eslint-doc-generator --init-rule-docs && rimraf docs",
"clear": "rimraf lib/*"
},
Expand Down
Loading

0 comments on commit 45db117

Please sign in to comment.