mirror of
https://github.com/maelgangloff/domain-watchdog.git
synced 2025-12-29 16:15:04 +00:00
style: import type
This commit is contained in:
@@ -1,7 +1,7 @@
|
||||
import globals from "globals";
|
||||
import pluginJs from "@eslint/js";
|
||||
import tseslint from "typescript-eslint";
|
||||
import pluginReact from "eslint-plugin-react";
|
||||
import globals from "globals"
|
||||
import pluginJs from "@eslint/js"
|
||||
import tseslint from "typescript-eslint"
|
||||
import pluginReact from "eslint-plugin-react"
|
||||
|
||||
|
||||
/** @type {import('eslint').Linter.Config[]} */
|
||||
@@ -10,7 +10,8 @@ export default [
|
||||
files: ["**/*.{ts,tsx}"],
|
||||
languageOptions: {globals: globals.browser},
|
||||
rules: {
|
||||
semi: ["error", "never"]
|
||||
semi: ["error", "never"],
|
||||
'@typescript-eslint/consistent-type-imports': 'error'
|
||||
},
|
||||
},
|
||||
{
|
||||
@@ -26,4 +27,4 @@ export default [
|
||||
pluginJs.configs.recommended,
|
||||
...tseslint.configs.recommended,
|
||||
pluginReact.configs.flat.recommended,
|
||||
];
|
||||
]
|
||||
Reference in New Issue
Block a user