Skip to content

Commit 3c4e8d6

Browse files
committed
fixup: merge main
1 parent b318c32 commit 3c4e8d6

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

package.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "@blitz/eslint-plugin",
3-
"version": "0.1.0",
3+
"version": "0.1.0-alpha.2",
44
"license": "MIT",
55
"description": "An ESLint config to enforce a consistent code styles across StackBlitz projects",
66
"keywords": [
@@ -14,7 +14,7 @@
1414
"build": "rm -rf dist && tsc -b",
1515
"test": "vitest run",
1616
"test:watch": "vitest",
17-
"lint": "eslint \"{src,test}/**/*.{js,ts,json,jsonc}\"",
17+
"lint": "eslint '{src,test}/**/*'",
1818
"preversion": "pnpm test",
1919
"postversion": "git push && git push --tags",
2020
"prepack": "pnpm run build"

src/rules/lines-around-comment.ts

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -287,7 +287,7 @@ export default createRule<Options, MessageIds>({
287287

288288
function shouldHandleComment(token: TSESTree.Comment) {
289289
const isKnownParentNode = [AST_NODE_TYPES.MemberExpression, AST_NODE_TYPES.IfStatement].some(
290-
(nodeType) => getParentNodeOfToken(token)?.type === nodeType
290+
(nodeType) => getParentNodeOfToken(token)?.type === nodeType,
291291
);
292292

293293
const isNearStartOrEndOfKnownNode = START_END_NODES.some((nodeType) => {

0 commit comments

Comments
 (0)