Skip to content

Commit 69bbb8b

Browse files
committed
✨ convert import-server-only to esm
1 parent b52f720 commit 69bbb8b

File tree

4 files changed

+35
-6
lines changed

4 files changed

+35
-6
lines changed

.github/workflows/changeset-publish.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,9 @@
11
name: changeset-publish
22

33
on:
4-
push:
5-
branches:
6-
- main
4+
push:
5+
branches:
6+
- main
77

88
concurrency: ${{ github.workflow }}-${{ github.ref }}
99

packages/eslint-plugin/lib/rules/import-server-only.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
1-
const path = require('path')
1+
import path from 'path'
22

3-
const micromatch = require('micromatch')
3+
import micromatch from 'micromatch'
44

5-
module.exports = {
5+
export default {
66
meta: {
77
type: 'problem',
88
docs: {

packages/eslint-plugin/package.json

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,7 @@
3737
},
3838
"dependencies": {
3939
"@naverpay/ast-parser": "^0.0.2",
40+
"micromatch": "^4.0.8",
4041
"minimatch": "^9.0.4",
4142
"svgo": "^3.3.2"
4243
},

pnpm-lock.yaml

Lines changed: 28 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

0 commit comments

Comments
 (0)