This package has been deprecated

Author message:

Package no longer supported. Contact Support at https://www.npmjs.com/support for more info.

max-nesting-depth

1.6.1 • Public • Published

tc/max-nesting-depth

Limit the depth of nesting.

Installation

npm install tc/max-nesting-depth

Usage

If your project does not already have stylelint, then in the root of the project create the file .stylelintrc, or with the extension .stylelintrc.js so that the code editor can highlight the syntax.

Then add tc/max-nesting-depth to the .stylelintrc config file.

.stylelintrc

{
    "plugins": [
      "tc/max-nesting-depth"
    ],
    "rules": {
	    "tc/max-nesting-depth": [3]
    }
}

Description

This is a rule that is included in the standard styling package, but with an exception ::ng-deep https://stylelint.io/user-guide/rules/list/max-nesting-depth/#optional-secondary-options

Package Sidebar

Install

npm i max-nesting-depth

Weekly Downloads

258

Version

1.6.1

License

MIT

Unpacked Size

287 kB

Total Files

220

Last publish

Collaborators

  • kiforks