Skip to content

Commit fa54905

Browse files
committed
module
1 parent 86ab57b commit fa54905

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

packages/eslint-plugin-actual/lib/rules/prefer-if-statement.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ const suggestion =
66
'Consider using an if statement or optional chaining instead.';
77

88
/** @type {import('eslint').Rule.RuleModule} */
9-
module.exports = {
9+
export default {
1010
meta: {
1111
type: 'suggestion',
1212
docs: {

packages/eslint-plugin-actual/lib/rules/typography.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
//------------------------------------------------------------------------------
44

55
/** @type {import('eslint').Rule.RuleModule} */
6-
module.exports = {
6+
export default {
77
meta: {
88
type: 'suggestion',
99
docs: {

packages/eslint-plugin-actual/package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"private": true,
44
"main": "./lib/index.js",
55
"exports": "./lib/index.js",
6-
"type": "commonjs",
6+
"type": "module",
77
"scripts": {
88
"test": "vitest"
99
},

0 commit comments

Comments
 (0)