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';
2
2
import globals from 'globals' ;
3
3
4
4
/**
5
- * @type {import('eslint').Linter.FlatConfig [] }
5
+ * @type {import('eslint').Linter.Config [] }
6
6
*/
7
7
const config = [
8
8
{
Original file line number Diff line number Diff line change @@ -125,7 +125,7 @@ export function getRule(ruleId) {
125
125
}
126
126
127
127
/**
128
- * @returns {import('eslint').Linter.FlatConfig [] }
128
+ * @returns {import('eslint').Linter.Config [] }
129
129
*/
130
130
export function createLinterConfig ( ) {
131
131
return [
Original file line number Diff line number Diff line change @@ -2,7 +2,7 @@ import * as myPlugin from '@ota-meshi/eslint-plugin';
2
2
import * as tseslint from 'typescript-eslint' ;
3
3
4
4
/**
5
- * @type {import('eslint').Linter.FlatConfig [] }
5
+ * @type {import('eslint').Linter.Config [] }
6
6
*/
7
7
const config = [
8
8
{
Original file line number Diff line number Diff line change 1
1
import type { Linter } from 'eslint' ;
2
2
import { rules } from '../../utils/rules' ;
3
3
import base from './base' ;
4
- const config : Linter . FlatConfig [ ] = [
4
+ const config : Linter . Config [ ] = [
5
5
...base ,
6
6
{
7
7
name : 'svelte:all:rules' ,
You can’t perform that action at this time.
0 commit comments