Skip to content

Commit fe746c8

Browse files
committed
refactor: rm configs key in the new plugin passed to shareable config
1 parent 9b9bfce commit fe746c8

File tree

1 file changed

+4
-4
lines changed

1 file changed

+4
-4
lines changed

src/configs/recommended.js

+4-4
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
const jsxA11y = require('..');
22

3+
const plugin = { ...jsxA11y };
4+
delete plugin.configs;
5+
36
module.exports = {
47
plugins: {
5-
'jsx-a11y': {
6-
...jsxA11y,
7-
configs: undefined,
8-
},
8+
'jsx-a11y': plugin,
99
},
1010
languageOptions: {
1111
parserOptions: {

0 commit comments

Comments
 (0)