@esmate/eslint v1.0.3
@esmate/eslint
ESLint configuration for humans with support for React, Vue, Svelte, Astro, Tailwind CSS, and more.
Installation
npm install -D @esmate/eslint eslint
If you are using ESMate CLI, it's built-in, so only need to install eslint
.
Usage
Define your ESLint configuration in a eslint.config.js
file:
// @ts-check
import { defineConfig } from "@esmate/eslint";
export default defineConfig({
type: "app",
react: true,
ignores: [],
});
@esmate/eslint is a wrapper around @antfu/eslint-config with customizations to ensure compatibility with @esmate/prettier by default.
Check out @antfu/eslint-config to see all available options for React, Vue, Astro, Svelte, and more.
Run ESLint to check your code:
eslint .
Automatically fix formatting issues:
eslint --write .
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago
5 months ago