
Security News
Bun 1.2.19 Adds Isolated Installs for Better Monorepo Support
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
@andabove/eslint-config
Advanced tools
Unified shareable ESLint flat config preset for all &above Vue, Nuxt or TypeScript repositories.
By default, the preset comes with recommended rules for TypeScript, Vue and all included rule sets/plugins. All rules are accessible through the global rules
object, but for a better developer experience, both Eslint and TypeScript Esling configurations are kept global and each plugin or rule set has its own dedicated configuration object that can be customized or disabled according to your project's specific needs.
The configuration is fully type-safe, providing autocompletion and validation for all available rules across the different plugins, making it easier to maintain consistent code quality across your projects.
You can easily extend the configuration to match your coding standards while leveraging the robust foundation provided by this preset.
Installation:
pnpm install -D eslint oxlint typescript @andabove/eslint-config
Create eslint.config.mjs
in your project root:
import ab from "@andabove/eslint-config";
export default ab({
ignores: ["**/types.gen.d.ts"],
// use it for ESLint and TypeScript Eslint rules
rules: {
"@typescript-eslint/no-unused-vars": "off",
"@typescript-eslint/no-explicit-any": "error"
},
vue: {
"vue/no-v-html": "off"
},
markdown: false,
unicorn: false,
tailwind: false
});
If being used with Nuxt Eslint module:
pnpx nuxi module add eslint
pnpm add -D vite-plugin-eslint2
nuxt.config.ts
file:export default defineNuxtConfig({
// Other config options
eslint: {
config: {
// This is required to allow using the preset with Nuxt Eslint module
standalone: false
},
// This is required to allow checking in dev mode
// vite-plugin-eslint2 is required to allow checking in dev mode
checker: true
}
});
eslint.config.mjs
file:// @ts-check
import ab from "@andabove/eslint-config";
import withNuxt from "./.nuxt/eslint.config.mjs";
export default withNuxt(
ab({
// ...@andabove/eslint-config options
})
// ...your other rules
);
FAQs
ESLint config for &above projects
We found that @andabove/eslint-config demonstrated a healthy version release cadence and project activity because the last version was released less than a year ago. It has 2 open source maintainers collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
Bun 1.2.19 introduces isolated installs for smoother monorepo workflows, along with performance boosts, new tooling, and key compatibility fixes.
Security News
Popular npm packages like eslint-config-prettier were compromised after a phishing attack stole a maintainer’s token, spreading malicious updates.
Security News
/Research
A phishing attack targeted developers using a typosquatted npm domain (npnjs.com) to steal credentials via fake login pages - watch out for similar scams.