UNPKG

@alza54/stylelint-config-nuxt

Version:

Strict shareable config for stylelint and Nuxt.js that I use for my projects

47 lines (32 loc) 1.7 kB
# @alza54/stylelint-config-nuxt [![shellcode.team](https://img.shields.io/badge/style-shellcode.team-red.svg?label=&logo=buffer&logoColor=fff)](http://shellcode.team) [![Build Status](https://travis-ci.com/alza54/shellcode-styleguide.svg?branch=master)](https://travis-ci.com/alza54/shellcode-styleguide) [![shellcode-styleguide](https://img.shields.io/badge/style-shellcode-000000.svg)](https://github.com/alza54/shellcode-styleguide) Strict shareable config for [`stylelint`](https://github.com/stylelint/stylelint) and [`Nuxt.js`](https://github.com/nuxt/nuxt.js/). ## Features - Support for CSS Modules with [`stylelint-config-css-modules`](https://github.com/pascalduez/stylelint-config-css-modules) - Checking for accessibility rules (a11y) with [`stylelint-a11y`](https://github.com/YozhikM/stylelint-a11y) - Disallowing features that aren't supported by your target browser audience with [`stylelint-no-unsupported-browser-features`](https://github.com/ismay/stylelint-no-unsupported-browser-features) ## Bundled plugins * [`stylelint-config-css-modules`](https://github.com/pascalduez/stylelint-config-css-modules) * [`stylelint-a11y`](https://github.com/YozhikM/stylelint-a11y) * [`stylelint-no-unsupported-browser-features`](https://github.com/ismay/stylelint-no-unsupported-browser-features) ## Installation ```bash npm install --save-dev @alza54/stylelint-config-nuxt ``` or yarn ```bash yarn add -D @alza54/stylelint-config-nuxt ``` And then extend it in your configuration: ```json { "extends": [ "@alza54/stylelint-config-nuxt" ] } ``` It is suggested to use this configuration alongside with `stylelint-config-scss` config in this repository. ## License MIT.