fis3-lint-stylelint

5.1.0 • Public • Published

fis3-lint-stylelint

a css linter plugin of fis3 based on stylelint.

styled with prettier npm npm npm

install

npm install --global fis3-lint-stylelint

usage

// fis-conf.js

var stylelintConf = {}

fis.match('*.{css,scss,less,sss}}', {
  lint: fis.plugin('stylelint', stylelintConf),
})

options

const stylelintConf = {
  fix: true, // ❗!!! important !!!❗
         // default: true,
         // be careful, this might change your source code
         // this will trigger `CLIEngine.outputFixes` automatically
  code: // useless, will be unset
  codeFilename: // useless, will be unset
  config:
  configBasedir:
  configFile:
  configOverrides:
  files: // useless, will be overwrite
  formatter: // useless, will be overwrite
  ignorePath:
  syntax: // if not set, will fix by file ext
          // rules: .scss => scss, .less => less, .sss =>sugarss
};

options: http://stylelint.io/user-guide/node-api/#options

rules: http://stylelint.io/user-guide/rules/

default options

{
  "fix": true
}

NOTICE: this might change in future

links

license

MIT © fisker Cheung

Versions

Current Tags

VersionDownloads (Last 7 Days)Tag
5.1.01latest

Version History

VersionDownloads (Last 7 Days)Published
5.1.01
5.0.10
5.0.00
4.1.180
4.1.170
4.1.160
4.1.150
4.1.140
4.1.130
4.1.120
4.1.110
4.1.100
4.1.90
4.1.80
4.1.70
4.1.60
4.1.50
4.1.40
4.1.30
4.1.20
4.1.10
4.1.00
4.0.40
4.0.30
4.0.20
4.0.10
4.0.00
3.0.01
2.7.10
2.7.00
2.6.00
2.5.30
2.5.20
2.5.10
2.5.00
2.4.70
2.4.60
2.4.50
2.4.41
2.4.20
2.4.10
2.4.00
2.3.110
2.3.100
2.3.90
2.3.80
2.3.70
2.3.60
2.3.50
2.3.40
2.3.30
2.3.20
2.3.10
2.3.00
2.2.180
2.2.170
2.2.160
2.2.150
2.2.140
2.2.130
2.2.120
2.2.110
2.2.101
2.2.90
2.2.80
2.2.70
2.2.60
2.2.50
2.2.40
2.2.30
2.2.20
2.2.10
2.2.00
2.1.10
2.0.120
2.0.110
2.0.100
2.0.90
2.0.80
2.0.70
2.0.60
2.0.50
2.0.40
2.0.30
2.0.20
2.0.10
2.0.00
1.0.20
1.0.10
1.0.00
0.2.00
0.1.30
0.1.20
0.1.10
0.1.00
0.0.90
0.0.80

Package Sidebar

Install

npm i fis3-lint-stylelint

Weekly Downloads

4

Version

5.1.0

License

MIT

Unpacked Size

72.6 kB

Total Files

4

Last publish

Collaborators

  • fisker