Socket
Book a DemoInstallSign in
Socket

@volvo-cars/eslint-plugin-css

Package Overview
Dependencies
Maintainers
8
Versions
12
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@volvo-cars/eslint-plugin-css

Lint rules for @volvo-cars/css

latest
npmnpm
Version
0.5.4
Version published
Maintainers
8
Created
Source

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.

FAQs

Package last updated on 25 Mar 2025

Did you know?

Socket

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts