Skip to content

Commit

Permalink
fix: lint
Browse files Browse the repository at this point in the history
  • Loading branch information
ilteoood committed Jan 1, 2025
1 parent b305034 commit f13449d
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 6 deletions.
11 changes: 6 additions & 5 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -1,14 +1,15 @@
import js from '@eslint/js'
import prettierRecommended from 'eslint-plugin-prettier/recommended'
import globals from 'globals'
const js = require('@eslint/js')
const prettierRecommended = require('eslint-plugin-prettier/recommended')
const globals = require('globals')

export default [
module.exports = [
js.configs.recommended,
prettierRecommended,
{
languageOptions: {
globals: {
...globals.node
...globals.node,
...globals.browser
},
ecmaVersion: 'latest',
sourceType: 'module'
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
"dev": "vite",
"build": "vite build",
"serve": "vite preview",
"lint": "eslint . --ext=.js,.jsx",
"lint": "eslint",
"prepare": "husky",
"test": "node --test"
},
Expand Down

0 comments on commit f13449d

Please sign in to comment.