Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
26 changes: 15 additions & 11 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -1,12 +1,10 @@
import js from "@eslint/js";
import _import from "eslint-plugin-import";
import header from "eslint-plugin-header";
import header from "@tony.ganchev/eslint-plugin-header";
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";
import globals from "globals";

header.rules.header.meta.schema = false;

export default [
{
ignores: ["**/*.config.js", "**/dist", "**/node_modules"],
Expand Down Expand Up @@ -73,14 +71,20 @@ export default [

"header/header": [
1,
"block",
[
"!",
" * Copyright (c) Microsoft Corporation. All rights reserved.",
" * Licensed under the MIT License.",
" ",
],
1,
{
header: {
commentType: "block",
lines: [
"!",
" * Copyright (c) Microsoft Corporation. All rights reserved.",
" * Licensed under the MIT License.",
" ",
],
},
trailingEmptyLines: {
minimum: 1,
},
},
],
},
},
Expand Down
22 changes: 11 additions & 11 deletions package-lock.json

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

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -42,6 +42,7 @@
"homepage": "https://github.com/microsoft/abledom#readme",
"devDependencies": {
"@playwright/test": "^1.58.1",
"@tony.ganchev/eslint-plugin-header": "^3.2.4",
"@types/node": "^25.2.1",
"@typescript-eslint/eslint-plugin": "^8.54.0",
"@typescript-eslint/parser": "^8.54.0",
Expand All @@ -50,7 +51,6 @@
"esbuild-plugin-inline-import": "^1.1.0",
"eslint": "^9.39.2",
"eslint-config-prettier": "^10.1.8",
"eslint-plugin-header": "^3.1.1",
"eslint-plugin-import": "^2.32.0",
"playwright": "^1.58.1",
"prettier": "^3.8.1",
Expand Down