Skip to content

Vue 3

js
import { vueConfig } from "@fast-china/eslint-config";
import { defineConfig } from "eslint/config";

export default defineConfig([
	...vueConfig,
	{
		name: "project/custom",
		rules: {},
	},
]);

Add project-specific rules to rules: {} as needed; leaving it empty preserves the shared defaults.

This entry covers JavaScript, type-aware TypeScript, Vue SFCs, and standalone .jsx/.tsx components used by Vue projects. Vue JSX/TSX keeps checks for explicit emits, duplicate keys, readonly props, reactivity loss, and reserved component names without inheriting template-only kebab-case, attribute-order, or v-text/v-html rules. The entry also includes JSON, Import, RegExp, .gitignore, and Prettier compatibility without loading UniApp capabilities.