@ben_12/eslint-plugin-dprint 0.6.2 → 0.7.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.
@@ -0,0 +1,5 @@
1
+ import { ESLintUtils } from "@typescript-eslint/utils";
2
+ export declare const dprint: ESLintUtils.RuleModule<"requireLinebreak" | "extraLinebreak" | "requireWhitespace" | "extraWhitespace" | "requireCode" | "extraCode" | "replaceWhitespace" | "replaceCode" | "moveCodeToNextLine" | "moveCodeToPrevLine" | "moveCode", {
3
+ configFile: string;
4
+ config: {};
5
+ }[], ESLintUtils.RuleListener>;
package/package.json CHANGED
@@ -1,22 +1,22 @@
1
1
  {
2
2
  "name": "@ben_12/eslint-plugin-dprint",
3
- "version": "0.6.2",
3
+ "version": "0.7.0",
4
4
  "description": "An ESLint plugin that fixes code with dprint",
5
5
  "engines": {
6
6
  "node": ">=18.0.0"
7
7
  },
8
- "main": "lib/index.js",
8
+ "main": "dist/lib/index.js",
9
9
  "type": "commonjs",
10
10
  "files": [
11
- "lib"
11
+ "dist"
12
12
  ],
13
13
  "peerDependencies": {
14
14
  "eslint": ">=5.16.0"
15
15
  },
16
16
  "dependencies": {
17
- "@dprint/typescript": "^0.87.1",
17
+ "@dprint/typescript": "^0.88.1",
18
18
  "debug": "^4.1.1",
19
- "diff": "^4.0.2",
19
+ "diff": "^5.0.0",
20
20
  "jsonc-parser": "^3.2.0"
21
21
  },
22
22
  "devDependencies": {
@@ -24,11 +24,9 @@
24
24
  "@types/debug": "^4.1.5",
25
25
  "@types/diff": "^5.0.0",
26
26
  "@types/node": "^18.0.0",
27
- "@types/rimraf": "^4.0.0",
28
27
  "@typescript-eslint/eslint-plugin": "^6.0.0",
29
28
  "@typescript-eslint/parser": "^6.0.0",
30
29
  "@typescript-eslint/utils": "^6.0.0",
31
- "codecov": "^3.7.0",
32
30
  "eslint": "^8.50.0",
33
31
  "mocha": "^10.0.0",
34
32
  "nyc": "^15.0.1",
@@ -38,7 +36,7 @@
38
36
  "typescript": "~5.0.0"
39
37
  },
40
38
  "scripts": {
41
- "build": "rimraf dist && tsc -p tsconfig.build.json && shx cp \"{LICENSE,README.md,package.json}\" dist",
39
+ "build": "rimraf dist && tsc -p tsconfig.build.json",
42
40
  "codecov": "nyc report --reporter text-lcov | codecov --pipe --disable=gcov",
43
41
  "lint": "eslint --rulesdir scripts/internal-rules \"**/*.ts\"",
44
42
  "test": "npm run -s lint && npm run -s test:ci",
@@ -52,6 +50,10 @@
52
50
  "type": "git",
53
51
  "url": "git+https://github.com/ben12/eslint-plugin-dprint.git"
54
52
  },
53
+ "publishConfig": {
54
+ "registry": "https://registry.npmjs.org",
55
+ "access": "public"
56
+ },
55
57
  "keywords": [
56
58
  "eslint",
57
59
  "eslintplugin",
@@ -1,5 +0,0 @@
1
- import { TSESLint } from "@typescript-eslint/utils";
2
- export declare const dprint: TSESLint.RuleModule<"requireLinebreak" | "extraLinebreak" | "requireWhitespace" | "extraWhitespace" | "requireCode" | "extraCode" | "replaceWhitespace" | "replaceCode" | "moveCodeToNextLine" | "moveCodeToPrevLine" | "moveCode", {
3
- configFile: string;
4
- config: {};
5
- }[], TSESLint.RuleListener>;
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes
File without changes