We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9b794d9 commit 0cc835dCopy full SHA for 0cc835d
src/configs/recommended.ts
@@ -59,19 +59,15 @@ export function recommended(extenions?: RuleExtensions): FlatConfig.ConfigArray
59
},
60
61
{
62
- files: [...tsFileExtensions, ...jsFileExtensions],
63
- plugins: { unicorn: eslintPluginUnicorn },
64
- rules: { 'unicorn/prefer-node-protocol': 'error' },
65
- },
66
- {
67
- name: 'blitz/import',
+ name: 'blitz/recommended-imports',
68
files: [...tsFileExtensions, ...jsFileExtensions],
69
plugins: {
70
import: pluginImport,
+ unicorn: eslintPluginUnicorn,
71
72
rules: {
73
- // https://github.com/un-ts/eslint-plugin-import-x/blob/master/docs/rules/order.md
74
'import/order': ['error', { alphabetize: { order: 'asc' } }],
+ 'unicorn/prefer-node-protocol': 'error',
75
76
77
];
0 commit comments