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:
Guz013
2023-08-30 15:31:13 -03:00
parent 9043156913
commit b28c7d2c62
18 changed files with 138 additions and 430 deletions

View File

@@ -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,
];