Skip to content

Commit

Permalink
Merge rules from all style guides
Browse files Browse the repository at this point in the history
  • Loading branch information
tshemsedinov committed Sep 12, 2024
1 parent 573703f commit 347cdc0
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion index.js
Original file line number Diff line number Diff line change
Expand Up @@ -29,8 +29,11 @@ const files = [

const sections = files.map(require);

Object.assign(configMetarhia.rules, recommended.rules);
Object.assign(configMetarhia.rules, configPrettier.rules);

for (const section of sections) {
Object.assign(configMetarhia.rules, section);
}

module.exports = [recommended, configPrettier, configMetarhia];
module.exports = [configMetarhia];

0 comments on commit 347cdc0

Please sign in to comment.