Skip to content
Draft
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
24 changes: 0 additions & 24 deletions .eslintrc.json

This file was deleted.

1 change: 1 addition & 0 deletions .npmrc
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
@jsr:registry=https://npm.jsr.io
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

<p align="center">
<a href="https://marketplace.visualstudio.com/items?itemName=andrewbrey.rust-test-highlight">
<img src="https://img.shields.io/visual-studio-marketplace/d/andrewbrey.rust-test-highlight?style=for-the-badge&logo=visualstudiocode" alt="Visual Studio Marketplace Downloads">
<img src="https://img.shields.io/visual-studio-marketplace/i/andrewbrey.rust-test-highlight?style=for-the-badge&logo=visualstudiocode" alt="Visual Studio Marketplace Installs">
</a>
<a href="https://github.com/andrewbrey/rust-test-highlight/blob/main/LICENSE">
<img src="https://img.shields.io/github/license/andrewbrey/rust-test-highlight?style=for-the-badge" alt="GitHub License">
Expand Down
21 changes: 21 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,21 @@
import typescriptEslint from "@typescript-eslint/eslint-plugin";
import tsParser from "@typescript-eslint/parser";

/** @type { import("eslint").Linter.Config[] } */
export default [
{ ignores: ["**/out", "**/dist", "**/*.d.ts"] },
{
plugins: { "@typescript-eslint": typescriptEslint },
languageOptions: { parser: tsParser, ecmaVersion: 6, sourceType: "module" },
rules: {
"@typescript-eslint/naming-convention": [
"warn",
{ selector: "import", format: ["camelCase", "PascalCase"] },
],
curly: "warn",
eqeqeq: "warn",
"no-throw-literal": "warn",
semi: "off",
},
},
];
Loading