0.5.3 • Published 11 months ago

@volvo-cars/eslint-plugin-css v0.5.3

Weekly downloads
-
License
UNLICENSED
Repository
-
Last release
11 months ago

Configuration

This plugin provides next rules for .eslintrc:

rules:
  '@volvo-cars/css/deprecated-class': 'error'
  '@volvo-cars/css/redundant-class': 'warn'
  '@volvo-cars/css/conflicting-class': 'warn'
  '@volvo-cars/css/no-custom-class':
    [
      'warn',
      {
        whitelist: ['custom-class-to-whitelist'],
        whitelistPattern:'^somePrefix-.*',
      },
    ]

edls-css

If you want to use @volvo-cars/edls-css package together with @volvo-cars/eslint-plugin-css, you need to add the following configuration to your .eslintrc file:

settings:
  css:
    metaFiles:
      - '@volvo-cars/css/meta.json'
      - '@volvo-cars/edls-css/meta.json'

This will allow the @volvo-cars/eslint-plugin-css to lint properly the classes from the @volvo-cars/edls-css package.

0.5.3

11 months ago

0.5.2

1 year ago

0.5.1

1 year ago

0.5.0

1 year ago

0.4.0

1 year ago

0.3.0

1 year ago

0.2.1

2 years ago

0.2.0

2 years ago

0.1.3

2 years ago

0.1.2

2 years ago

0.1.1

2 years ago