Skip to content
Open
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
3 changes: 1 addition & 2 deletions templates/eslint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,6 @@ import {defineConfig, globalIgnores} from 'eslint/config'
import js from '@eslint/js'
import tsesLint from 'typescript-eslint'
import tsesLintParser from '@typescript-eslint/parser'
Copy link

Copilot AI Dec 19, 2025

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The parser is still being imported directly from @typescript-eslint/parser, but the plugin is now sourced from neostandard. For consistency and to avoid potential version mismatches or plugin conflicts, consider also using the parser from neostandard if it's exported, similar to how the plugin is now being accessed via neostandard.plugins['typescript-eslint'].plugin.

Copilot uses AI. Check for mistakes.
import tsesLintPlugin from '@typescript-eslint/eslint-plugin'
import neostandard from 'neostandard';

export default defineConfig([
Expand All @@ -23,7 +22,7 @@ export default defineConfig([
},
},
plugins: {
"@typescript-eslint": tsesLintPlugin,
"@typescript-eslint": neostandard.plugins['typescript-eslint'].plugin,
},
rules: {
"@stylistic/space-before-function-paren": ["error", "never"],
Expand Down
Loading