Skip to content

Commit

Permalink
fix: move prettier rule to prettier addon
Browse files Browse the repository at this point in the history
  • Loading branch information
arcticShadow committed Nov 16, 2023
1 parent 49461df commit 010fd57
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
3 changes: 3 additions & 0 deletions src/addons/prettier-format.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,4 +3,7 @@
*/
module.export = {
extends: ["plugin:prettier/recommended"],
rules: {
"prettier/prettier": "error",
},
};
5 changes: 1 addition & 4 deletions src/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,8 +26,5 @@ module.exports = {

parserOptions: {
sourceType: "module",
},
rules: {
"prettier/prettier": "error",
},
}
};

0 comments on commit 010fd57

Please sign in to comment.