Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chore(deps): update dependency eslint to v9 #158

Merged
merged 2 commits into from
Apr 12, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 0 additions & 27 deletions .eslintrc.cjs

This file was deleted.

17 changes: 17 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
import js from '@eslint/js';
import typescriptEslint from '@typescript-eslint/eslint-plugin';
import eslintConfigPrettier from 'eslint-config-prettier';

export default [
js.configs.recommended,
{
plugins: typescriptEslint,
},
{
// TODO: 아직 v9 지원 하지 않음.
// https://github.com/import-js/eslint-plugin-import/pull/2996
// plugins: eslint-plugin-import
},
{ ignores: ['.next', '*.cjs'] },
eslintConfigPrettier,
];
1 change: 0 additions & 1 deletion next.config.cjs
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@
// eslint-disable-next-line @typescript-eslint/no-var-requires
const path = require('path');

/** @type {import('next').NextConfig} */
Expand Down
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@
"deploy-blog": "next build && next export",
"lint:stylelint": "stylelint --config './.stylelintrc.cjs' './src/**/*.scss'",
"lint:prettier": "prettier --list-different './src/**/*.{json,html,yml,tsx,ts,js,jsx,scss}'",
"lint:eslint": "eslint --ext .ts,.tsx,.js,.jsx './src/**/*.{js,jsx,ts,tsx}'",
"lint:eslint": "eslint",
"lint:markdown": "markdownlint --config './.markdownlint.cjs' './_posts/**/*.{md,mdx}'",
"lint:typeCheck": "tsc --pretty",
"lint": "pnpm run '/^lint:.*/'",
Expand Down Expand Up @@ -47,7 +47,7 @@
"@types/react-dom": "18.2.24",
"@typescript-eslint/eslint-plugin": "^7.0.0",
"autoprefixer": "10.4.19",
"eslint": "^8.15.0",
"eslint": "^9.0.0",
"eslint-config-prettier": "^9.0.0",
"eslint-plugin-import": "^2.27.5",
"husky": "9.0.11",
Expand Down
Loading
Loading