0.2.2 • Published 5 months ago

@plumeria/eslint-plugin v0.2.2

Weekly downloads
-
License
MIT
Repository
github
Last release
5 months ago

@plumeria/eslint-plugin

ESLint plugin for Plumeria.
Below are the available rules and the recommended configuration.

Recommended Configuration

The plugin:@plumeria/recommended config enables the following:

  • @plumeria/no-inner-call: error
  • @plumeria/no-unused-keys: warn
  • @plumeria/sort-properties: warn
  • @plumeria/validate-values: warn
import plumeria from '@plumeria/eslint-plugin';

export default [plumeria.flatConfigs.recommended];

Rules

no-inner-call

Disallow calling css.create, css.global, etc. inside functions.

no-unused-keys

Warns when object keys are defined but not used, mainly in component files.

sort-properties

Automatically sorts CSS properties in the recommended order for consistency and maintainability.

validate-values

Validates CSS property values for correctness. Only standard CSS properties are checked; properties with string literal keys (e.g., computed or dynamic property names) are not validated.

0.2.2

5 months ago

0.2.1

5 months ago

0.2.0

6 months ago

0.1.1

6 months ago

0.1.0

6 months ago