refactor!: 💥 ♻️ restructure the config and presets
Now each config is related to a specific language and or purpose, having different "flavors" or levels of strictness for them Presets now have the purpose of simply grouping said configs for easier of them. BREAKING CHANGE
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import { configs, defineConfig, presets } from '@eslegant/config';
|
||||
import { presets } from '@eslegant/config';
|
||||
|
||||
export default defineConfig([
|
||||
...presets.default,
|
||||
configs.environments.node,
|
||||
]);
|
||||
export default [
|
||||
...presets.recommended,
|
||||
];
|
||||
|
||||
Reference in New Issue
Block a user