Skip to content

Commit

Permalink
Return empty object
Browse files Browse the repository at this point in the history
  • Loading branch information
fisker committed Mar 8, 2020
1 parent 718f17d commit 9286ef3
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion rules/prefer-exponentiation-operator.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const getDocumentationUrl = require('./utils/get-documentation-url');

module.exports = {
create() {},
create: () => ({}),
meta: {
type: 'suggestion',
docs: {
Expand Down
2 changes: 1 addition & 1 deletion rules/regex-shorthand.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
const getDocumentationUrl = require('./utils/get-documentation-url');

module.exports = {
create() {},
create: () => ({}),
meta: {
type: 'suggestion',
docs: {
Expand Down

0 comments on commit 9286ef3

Please sign in to comment.