Skip to content

Commit 27f3479

Browse files
committed
chore: use import instead of require in esm files
1 parent eb2d18d commit 27f3479

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lib/processor.ts

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,7 @@
22
* @author Toru Nagashima <https://github.com/mysticatea>
33
*/
44
import type { Linter } from 'eslint'
5+
import meta from './meta.ts'
56

67
type LintMessage = Linter.LintMessage
78

@@ -125,7 +126,7 @@ export default {
125126

126127
supportsAutofix: true,
127128

128-
meta: require('./meta')
129+
meta
129130
}
130131

131132
function addDisableRule(

0 commit comments

Comments
 (0)