Skip to content

Commit 5c05465

Browse files
authored
bump version (#1448)
* bump version * since we don't lint `.js` files anymore, there were an extra imports here * cleaner `knip` configuration * fixing type extensions
1 parent 365e7e0 commit 5c05465

6 files changed

Lines changed: 10 additions & 13 deletions

File tree

knip.json

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,12 @@
11
{
22
"$schema": "https://unpkg.com/knip@5/schema.json",
3-
"ignore": ["src/nodes/*.js"],
43
"ignoreFiles": [
54
"tests/format/RespectDefaultOptions/respect-default-options.js",
65
"tests/integration/node.test.js"
76
],
8-
"ignoreDependencies": ["ts-node", "eslint-config-prettier"],
7+
"ignoreDependencies": ["eslint-config-prettier"],
98
"ignoreExportsUsedInFile": {
109
"interface": true,
1110
"type": true
12-
},
13-
"tags": ["-lintignore"]
11+
}
1412
}

package-lock.json

Lines changed: 3 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "prettier-plugin-solidity",
3-
"version": "2.2.1",
3+
"version": "2.3.0",
44
"description": "A Prettier Plugin for automatically formatting your Solidity code.",
55
"type": "module",
66
"main": "./dist/index.js",
@@ -104,7 +104,7 @@
104104
"jest-snapshot-serializer-ansi": "^2.2.1",
105105
"jest-snapshot-serializer-raw": "^2.0.0",
106106
"jest-watch-typeahead": "^3.0.1",
107-
"knip": "^5.85.0",
107+
"knip": "^5.86.0",
108108
"lines-and-columns": "^2.0.4",
109109
"prettier": "^3.8.1",
110110
"solc": "^0.8.34",

src/common/util.js

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,4 @@
1-
import { util, version } from 'prettier';
2-
import satisfies from 'semver/functions/satisfies.js';
1+
import { util } from 'prettier';
32

43
export function printString(rawContent, options) {
54
const double = { quote: '"', regex: /"/g };

src/slang-printers/print-assignment-right-side.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ import { isChainableExpression } from '../slang-utils/is-chainable-expression.js
33
import { printIndentedGroupOrSpacedDocument } from './print-indented-group-or-spaced-document.js';
44

55
import type { Doc, doc } from 'prettier';
6-
import type { Expression } from '../slang-nodes/Expression.js';
6+
import type { Expression } from '../slang-nodes/Expression.ts';
77

88
export function printAssignmentRightSide(
99
document: Doc,

src/slang-utils/is-chainable-expression.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import { createKindCheckFunction } from './create-kind-check-function.js';
44
import type {
55
ChainableExpression,
66
StrictAstNode
7-
} from '../slang-nodes/types.js';
7+
} from '../slang-nodes/types.d.ts';
88

99
export const isChainableExpression = createKindCheckFunction([
1010
NonterminalKind.FunctionCallExpression,

0 commit comments

Comments
 (0)