Skip to content

Commit

Permalink
fix: config.plugins
Browse files Browse the repository at this point in the history
  • Loading branch information
aladdin-add committed May 4, 2023
1 parent 0fff8e0 commit ea48312
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions configs/recommended.js
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,9 @@

'use strict';

const { configs, rules } = require('../index.js');
const mod = require('../index.js');

module.exports = {
plugins: { security: { rules } },
rules: configs['recommended'].rules,
plugins: { security: mod },
rules: mod.configs['recommended'].rules,
};

0 comments on commit ea48312

Please sign in to comment.