Skip to content

Commit

Permalink
Use esm for eslitn config
Browse files Browse the repository at this point in the history
  • Loading branch information
ahuth committed Sep 23, 2024
1 parent c70be8f commit ed2b72a
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions eslint.config.js → eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -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/'],
},
Expand Down

0 comments on commit ed2b72a

Please sign in to comment.