Skip to content

Commit 533092e

Browse files
authored
Update no-accessor-recursion.js
1 parent 80f292e commit 533092e

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

rules/no-accessor-recursion.js

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,3 @@
1-
'use strict';
2-
31
const MESSAGE_ID_ERROR = 'no-accessor-recursion/error';
42
const messages = {
53
[MESSAGE_ID_ERROR]: 'Disallow recursive access to `this` within getters and setters.',
@@ -87,7 +85,7 @@ const create = context => {
8785
};
8886

8987
/** @type {import('eslint').Rule.RuleModule} */
90-
module.exports = {
88+
const config = {
9189
create,
9290
meta: {
9391
type: 'problem',
@@ -99,3 +97,5 @@ module.exports = {
9997
messages,
10098
},
10199
};
100+
101+
export default config;

0 commit comments

Comments
 (0)