@akijoey/stylelint-config
Advanced tools
Comparing version 1.0.3 to 1.0.4
// .stylelintrc.js | ||
const path = require('path') | ||
// https://github.com/stylelint/stylelint/issues/5769 | ||
const resolve = dir => path.join(process.cwd(), dir) | ||
const extend = syntax => { | ||
@@ -16,15 +21,15 @@ return [ | ||
{ | ||
files: ['**/*.scss'], | ||
files: [resolve('**/*.scss')], | ||
extends: extend('scss') | ||
}, | ||
{ | ||
files: ['**/*.sass'], | ||
files: [resolve('**/*.sass')], | ||
extends: extend('sass') | ||
}, | ||
{ | ||
files: ['**/*.less'], | ||
files: [resolve('**/*.less')], | ||
extends: extend('less') | ||
}, | ||
{ | ||
files: ['**/*.styl'], | ||
files: [resolve('**/*.styl')], | ||
extends: extend('stylus') | ||
@@ -31,0 +36,0 @@ } |
{ | ||
"name": "@akijoey/stylelint-config", | ||
"version": "1.0.3", | ||
"version": "1.0.4", | ||
"description": "Personal stylelint config.", | ||
@@ -5,0 +5,0 @@ "keywords": [ |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4410
58