Skip to content

Commit

Permalink
add export default instead of module.exports
Browse files Browse the repository at this point in the history
add `export default` instead of `module.exports` to avoid `Cannot use import declarations in modules that export using CommonJS` errors
  • Loading branch information
V2dha committed Jun 23, 2022
1 parent 8c1df4d commit 80f8176
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/boilerplate/rule.js
Expand Up @@ -15,7 +15,7 @@ const errorMessage = '';
const schema = generateObjSchema();
module.exports = {
export default {
meta: {
docs: {},
schema: [schema],
Expand Down

0 comments on commit 80f8176

Please sign in to comment.