Skip to content

Commit 75094a4

Browse files
chore: avoid using deprecated types in internal documentation
1 parent a097020 commit 75094a4

File tree

12 files changed

+12
-12
lines changed

12 files changed

+12
-12
lines changed

eslint.config.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import node from './packages/eslint-config-node/index.mjs'
22
import optional from './packages/eslint-config-node/optional.mjs'
33
import style from './packages/eslint-config-node/style.mjs'
44

5-
/** @type {Array<import("eslint").Linter.FlatConfig>} */
5+
/** @type {Array<import("eslint").Linter.Config>} */
66
const configs = [{
77
linterOptions: {
88
reportUnusedDisableDirectives: true,

packages/eslint-config-base/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import imports from 'eslint-plugin-import'
22
import stylistic from '@stylistic/eslint-plugin'
33

4-
/** @type {import("eslint").Linter.FlatConfig} */
4+
/** @type {import("eslint").Linter.Config} */
55
const config = {
66
plugins: {
77
import: imports,

packages/eslint-config-base/optional.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
import imports from 'eslint-plugin-import'
22

3-
/** @type {import("eslint").Linter.FlatConfig} */
3+
/** @type {import("eslint").Linter.Config} */
44
const config = {
55
plugins: {
66
import: imports,

packages/eslint-config-base/style.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import imports from 'eslint-plugin-import'
22
import stylistic from '@stylistic/eslint-plugin'
33

4-
/** @type {import("eslint").Linter.FlatConfig} */
4+
/** @type {import("eslint").Linter.Config} */
55
const config = {
66
plugins: {
77
import: imports,

packages/eslint-config-graphql/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// TODO: Deprecated. Move to https://github.com/dimaMachina/graphql-eslint
22
import graphql from 'eslint-plugin-graphql'
33

4-
/** @type {import("eslint").Linter.FlatConfig} */
4+
/** @type {import("eslint").Linter.Config} */
55
const config = {
66
plugins: {
77
graphql,

packages/eslint-config-mocha/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import mocha from 'eslint-plugin-mocha'
22
import imports from 'eslint-plugin-import'
33

4-
/** @type {import("eslint").Linter.FlatConfig} */
4+
/** @type {import("eslint").Linter.Config} */
55
const config = {
66
plugins: {
77
mocha,

packages/eslint-config-node/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import node from 'eslint-plugin-n'
22
import base from '@strv/eslint-config-base'
33

4-
/** @type {import("eslint").Linter.FlatConfig} */
4+
/** @type {import("eslint").Linter.Config} */
55
const config = {
66
plugins: {
77
...base.plugins,

packages/eslint-config-react/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ import react from 'eslint-plugin-react'
44
import a11y from 'eslint-plugin-jsx-a11y'
55
import hooks from 'eslint-plugin-react-hooks'
66

7-
/** @type {import("eslint").Linter.FlatConfig} */
7+
/** @type {import("eslint").Linter.Config} */
88
const config = {
99
plugins: {
1010
...base.plugins,

packages/eslint-config-react/style.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
import style from '@strv/eslint-config-base/style'
22
import react from 'eslint-plugin-react'
33

4-
/** @type {import("eslint").Linter.FlatConfig} */
4+
/** @type {import("eslint").Linter.Config} */
55
const config = {
66
plugins: {
77
...style.plugins,

packages/eslint-config-typescript/index.mjs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@ import base from '@strv/eslint-config-base'
22
import ts from '@typescript-eslint/eslint-plugin'
33
import parser from '@typescript-eslint/parser'
44

5-
/** @type {import("eslint").Linter.FlatConfig} */
5+
/** @type {import("eslint").Linter.Config} */
66
const config = {
77
plugins: {
88
...base.plugins,

0 commit comments

Comments
 (0)