remove unused entry dir
from cache
fix usage with css modules #388
not a feature release, just releasing to make sure the updated README is published, with info about the future v2
Only difference not documentation is the removal of eslint from dependencies, sorry about that! https://github.com/SimenB/stylint/commit/ec5ce56860d6ea2aae7d54ea16e386f8fbc65197
fix setContext regression
fixes for broken reporters :( #329 (comment)
fixes regression where package.json is needed in cwd for stylint to work: AtomLinter/linter-stylint#27 (comment)
minor mixed check fix: #240
minor colon check fix: #258
cover basic quote check (not very robust): #271
adds column number for errors to output
improves default reporter output
string and whitespace parsing is now much improved: #302
set preferGlobal to false: #278
support for root selectors (and other newish stylus features): #279
support for stylintrc via package.json: #308
custom props should not throw errs: #320
improve semicolons check: #315
placeholder check is now a little smarter: #280
this PR: #324
added the alias customProperties
for the mixins
config option, to make it's purpose more clear
globbing support via the cli is improved
stylint now supports excluding files or directories via a .stylintignore
file or via a package.json property (stylintignore: ['path/to/file']). relative paths only
this issue fixed: #323
this issue fixed: #321
improves valid check whitelist
add support for css-modules composes property by default
read me updates
test updates
these prs:
fix exit code bug
improve several tests
update deps
fix typos
don't run coverage as part of CI
these prs:
updates to readme
reporter improvements
more fixes to leading zero check
this pr: #261
this pr: #263
this pr: #264
this pr: #267
this pr: #268
this pr: #270
this pr: #257
this pr: #256
this pr: #260
roll back global quote trimming, move it to the checks where it's actually needed
this issue: #232
remove stray console.log :(
this issue: #226
this issue: #227
strip out content inside quotes to reduce false positives
this issue: #212
this issue: #217
hotfix a border none check issue
this issue: #205
this issue: #207
this issue: #215
callback support: #222
exclude pattern support: #223
add .npmignore file
update some dependencies
stylint is now smarter about looking for a .stylintrc file. here is the order of importance if you want to specify a custom stylint config:
1 using stylint programmatically and passing in config option as a parameter
2 using stylint via command line and passing in a path to a .stylintrc via the --config flag
3 if the first two fail, stylint will then check the cwd
4 if that fails, stylint will walk up 2 directories looking for a .stylintrc file
5 if THAT fails, it checks the home directory
6 if still nothing, and no errors happened during all this, it will just use the default config
merged in a number of PRS fixing minor issues
vendor-prefixes ( as defined by nib ) no longer triggers $ prefix errors
namingConvention outputs better err msg in case the config property is using the object format
sortOrder outputs better err msg in case of custom array
fix this issue: #200
fix this issue: #184
fix issue where blocks: always would throw false positives
fix this issue: #196
fix this issue: #189
fix this issue: #184
transparent mixin use is now supported via the mixins config property
fix this issue: #181
fix this #177
merge this PR: #186
merge this PR: #187
fix this issue: #185
fix this issue: #183
this enhancement: #129
this enhancement: #139
address new issue from: #144
address new issue from: #162
address new issue from: #164
this issue: #168
this issue: #173
this issue: #177
fix versioning mistake in package.json
fix this issue: #164
fix versioning mistake in package.json
use yargs for command line arguments
add editorconfig
fix incorrect links in readme
rule of silence
allow comments in stylintrc
fix this issue: #143
fix this issue: #144
fix this issue: #145
fix this issue: #158
fix this issue: #159
fix this issue: #162
fix this issue: #163
fix this issue: #165
trying to fix this: #128 resulted in a bug where stylint errors if commentSpace is not defined in the config. this is a dumb mistake, i am dumb
numerous fixes for post 1.0 checks (semicolons: always, colons: always, leadingZero: always)
fix for line comment space edge case
attempt to address line feed issues on windows
fix some issues with colons: always and semicolons: always #123 && #124
add more properties and tags to the whitelist (picture, src)
found some issues with setState (and how it affected the global duplicate check), should be fixed
also, added direct tests for setState method (before it was just being tested indirectly)
fixed issue leadingZero 'always' setting finding false positives
added a real license
cleanup a couple files, fit a maxWarnings bug in lint
fixes ( or at least makes it less bad ) sortOrder regression, where cache was not being properly reset when linting directories
fix hashend, colon always, valid, and var prefix regressions
aaaand now everything is broken
quickie fixes to mitigate issues with colon: 'always', sortOrder, and whitespace issues before i pass out of exhaustion
various bug fixes
@ignore
toggle added
cranked up default settings
added many many new options, as well as severity for all options (warning or error)
better node module support
more ways of passing in config objects (including auto detect)
support for custom reporters
refactor
test coverage
api changes
fix edge case issue caused by file globbing that could potentially cause stylint to hang
make universal less greedy
minor bug fix, some valid properties coming up as non-valid: #100
duplicates was reporting false positives if sortOrder also on. this has been fixed in the 1.0 branch but wasn't brought over
nesting / depthlimit check was counting extra white space between properties and value. technically, that's bad practice but it should be a separate check so lets remove that from the check: #101
minor bug fix: some valid properties (anything with -bottom) were coming up as non-valid.
added mso-table-lspace and mso-table-rspace to property whitelist (outlook)
fix this issue: #95
fix this issue: #96
sortOrder check added: replaces alphabetical check: #92
improvement to comma check
fix issue with efficient check: #91
add stackedProperties check: #77
which also 'solves' this imo: #63
resolve issue where hash check interfered with quotes check: #47
hotfix for duplicates check regression https://github.com/rossPatton/stylint/commit/29d42014d315e6ef9dfeebf20636b43f13f2377b
namingConvention improvements: #50
valid improvements: #46
universal improvements: #45
strengthen naming convention checks to better accomodate interpolation
update documentation for placeholders and colors options
add hexidecimal color check
add more svg elements to the whitelist
locking dependencies was a terrible, terrible idea
lock dependencies for stability
add more support for svg css properties
git ignore coverage report
fix require bugs
maxWarnings kill switch
remove chalk from package.json as dependency
various readme tweaks
some minor cleanup / tweaking
fix bug with alphabetical check throwing false positives in certain edge cases, only if hard tabs on
add more to the ignore regex for duplicates check
more duplicatesCheck fixes
resolve issue with duplicatesCheck throwing false positives when a selector is part of a list of selectors
universal check should be less aggressive
more valid properties added to the valid check
turning back on alphabet and duplicates check by default
turning off zIndex checks by default (they can be useful i think, but are definitely optional / potentially a pain on big projects )
resolve issue with duplicatesCheck throwing false positives on brackets
alphabeticalCheck should be less aggressive
more bugs showing up for alphabetical and duplicates checks, gonna toggle them off by default until they are fully ironed out
merge in PR #31 (BEM Naming-Convention Option and expand list of valid css properties) stylint -v should return correct version now universal check rewrite - earlier version was throwing false positives when used for multiplication (in some cases)
readme update
fixes to duplicates and alphabetical sort, made more specific basically
both were a little too general, will probably need more testing
tweak mixed spaces and tabs ( look for ( ) instead of (\s\s) )
duplicates was not toggle-able - fixed #27
duplicates needs some work - update README to reflect that
add npm badge and gitter
README tweaks
checks: duplicates added, on by default, check for duplicate selectors or properties
config: duplicates: bool, for toggling duplicates check globalDupe: bool, for controlling reach of duplicates check
tests: unit tests for all the above added, as well as tests for 0.7.4 code coverage should be around 89%
checks: alphabetical added, check that properties are in the correct order
config: alphabetical: bool, for toggling alphabetical check
zIndexDuplicates added, off by default
zIndexNormalize added, off by default
bug fixes
code coverage
reduced dependencies
numerous bug fixes valid property test improved, throws fewer false positives than before