@kazee-ds/eslint-config
v0.6.0
Published
Kazee Design System consumer import and component API rules for ESLint flat config
Readme
@kazee-ds/eslint-config
Prepared version 0.6.0 also accepts the enclosed Tabs variant from React/Vue 0.11.0. Published version 0.5.1 accepts expanded sizes, dense/flat/sunken fields and chip variants for the 0.7.0 component APIs while preserving import, event and accessible-name checks. Local builds do not establish registry publication; check the release matrix. See component expansion.
Published version 0.4.2 checks public imports and selected React/Vue component props, events, variants, sizes and types, including Input. Read the installed component types for complete API coverage.
ESLint flat-config rules for Kazee React/Vue consumers. Supports ESLint 10 and ESM, with Node 22.16 or later. Includes TypeScript declarations. The package has no runtime dependencies; applications supply their existing framework parsers.
Use public npm without read credentials as described in the installation guide, then install:
npm install --save-dev --save-exact @kazee-ds/[email protected]Import consumerConfig from @kazee-ds/eslint-config and include its returned object in your existing exported flat-config array, after framework/parser setup. Restrict files to application areas adopting Kazee.
import { consumerConfig } from '@kazee-ds/eslint-config';
export default [consumerConfig({ files: ['src/**/*.js'] })];This minimal JavaScript example enables the Kazee rules only. TypeScript, JSX, and Vue SFC applications must retain the appropriate parsers and framework configurations. See the consumer lint guide for complete React/Vue examples and limitations.
kazee/public-imports: reject private Kazee exports and direct React Aria/React Stately/Reka UI imports.kazee/component-api: flag selected unsupported props/events and static Button variants/sizes on directly imported Kazee components.
Rules report errors without autofixes. They do not replace typechecking, CSS checks, accessibility checks, or interaction tests. Consult the version matrix and installed public types for the matching framework and style contracts.
