@m-social/eslint-config-svelte
v1.1.0
Published
Shared ESLint config for Svelte used by M-Social projects
Readme
@m-social/eslint-config-svelte
A shareable ESLint configuration for Svelte projects used at M-Social
📦 Installation
Install the package using pnpm (recommended):
pnpm add -D eslint @m-social/eslint-config-svelteOr with other package managers:
# npm
npm install --save-dev eslint @m-social/eslint-config-svelte
# yarn
yarn add -D eslint @m-social/eslint-config-svelte🚀 Usage
Create an eslint.config.js (or eslint.config.mjs) file in your project root with the following content:
import config from "@m-social/eslint-config-svelte";
import svelteConfig from "./svelte.config.js";
export default config({
tsconfigRootDir: import.meta.dirname,
svelteConfig,
});📄 License
MIT © M-Social
