You're Invited:Meet the Socket Team at BlackHat and DEF CON in Las Vegas, Aug 4-6.RSVP
Socket
Book a DemoInstallSign in
Socket

@agilecontent/stylelint-config

Package Overview
Dependencies
Maintainers
1
Versions
4
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

@agilecontent/stylelint-config

Base configuration for stylelint, used internally

2.1.0
latest
Source
npmnpm
Version published
Weekly downloads
280
81.82%
Maintainers
1
Weekly downloads
 
Created
Source

@agilecontent/stylelint-config

Base configuration for stylelint, used internally by @agilecontent

How to use

Add this repository as a dev dependency, alongside stylelint:

npm i -D @agilecontent/stylelint-config stylelint

or

yarn add -D @agilecontent/stylelint-config stylelint
```v

Extend this config in your project's. Example with .stylelintrc.js:

```js
module.exports = {
  extends: [
    //...others extends
    '@agilecontent/stylelint-config',
  ],
  rules: {
    //Add your own rules here
  },
};

IMPORTANT: This config includes stylelint-config-prettier, so it is very important to put this as the last extended config to prevent conflicts

Whats included?

  • stylelint-config-standard: General rules recommended
  • stylelint-config-prettier: Prevents conflicts from prettier formating (Important: This config does not format the file)
  • stylelint-config-concentric-order: Order files according to ConcentricCSS. This order was chosen for having good reasoning behind it: the properties are set according to rendering time.

Contributing

Just create a Pull Request with the reasoning for the change in rules or config.

If adding a rule that is fixable via --fix, set the severity to "warning".

FAQs

Package last updated on 09 Mar 2023

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

SocketSocket SOC 2 Logo

Product

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.