File tree Expand file tree Collapse file tree 5 files changed +9
-4
lines changed
packages/eslint-plugin-svelte Expand file tree Collapse file tree 5 files changed +9
-4
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' eslint-plugin-svelte ' : patch
3+ ---
4+
5+ chore: Avoid using deprecated FlatConfig eslint type
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as myPlugin from '@ota-meshi/eslint-plugin';
22import globals from 'globals' ;
33
44/**
5- * @type {import('eslint').Linter.FlatConfig [] }
5+ * @type {import('eslint').Linter.Config [] }
66 */
77const config = [
88 {
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ export function getRule(ruleId) {
125125}
126126
127127/**
128- * @returns {import('eslint').Linter.FlatConfig [] }
128+ * @returns {import('eslint').Linter.Config [] }
129129 */
130130export function createLinterConfig ( ) {
131131 return [
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as myPlugin from '@ota-meshi/eslint-plugin';
22import * as tseslint from 'typescript-eslint' ;
33
44/**
5- * @type {import('eslint').Linter.FlatConfig [] }
5+ * @type {import('eslint').Linter.Config [] }
66 */
77const config = [
88 {
Original file line number Diff line number Diff line change 11import type { Linter } from 'eslint' ;
22import { rules } from '../../utils/rules' ;
33import base from './base' ;
4- const config : Linter . FlatConfig [ ] = [
4+ const config : Linter . Config [ ] = [
55 ...base ,
66 {
77 name : 'svelte:all:rules' ,
You can’t perform that action at this time.
0 commit comments