diff --git a/eslint.config.js b/eslint.config.mjs similarity index 70% rename from eslint.config.js rename to eslint.config.mjs index 8c7505f..d012791 100644 --- a/eslint.config.js +++ b/eslint.config.mjs @@ -1,12 +1,12 @@ -const js = require('@eslint/js'); -const vitest = require('@vitest/eslint-plugin'); -const prettierRecommended = require('eslint-plugin-prettier/recommended'); -const react = require('eslint-plugin-react'); -const globals = require('globals'); -const typescriptEslint = require('typescript-eslint'); +import js from '@eslint/js'; +import vitest from '@vitest/eslint-plugin'; +import prettierRecommended from 'eslint-plugin-prettier/recommended'; +import react from 'eslint-plugin-react'; +import globals from 'globals'; +import typescriptEslint from 'typescript-eslint'; /** @type {import("eslint").Linter.Config[]} */ -module.exports = [ +export default [ { ignores: ['**/storybook-static/', '**/build/'], },