Skip to content

Latest commit

 

History

History
579 lines (308 loc) · 14.6 KB

changelog.md

File metadata and controls

579 lines (308 loc) · 14.6 KB

1.5.9

remove unused entry dir from cache

1.5.8

fix usage with css modules #388

1.5.7

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

1.5.6

fix setContext regression

1.5.5

fixes for broken reporters :( #329 (comment)

1.5.4

fixes regression where package.json is needed in cwd for stylint to work: AtomLinter/linter-stylint#27 (comment)

1.5.3

minor mixed check fix: #240

1.5.2

minor colon check fix: #258

1.5.1

cover basic quote check (not very robust): #271

1.5.0

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

1.4.1

this PR: #324

1.4.0

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

1.3.10

improves valid check whitelist

add support for css-modules composes property by default

read me updates

test updates

these prs:

#294

#297

#298

1.3.9

fix exit code bug

improve several tests

update deps

fix typos

don't run coverage as part of CI

these prs:

#283

#284

#285

#286

#287

#289

#291

#292

1.3.8

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

1.3.7

this pr: #257

this pr: #256

this pr: #260

1.3.6

roll back global quote trimming, move it to the checks where it's actually needed

this issue: #232

1.3.4

remove stray console.log :(

1.3.3

this issue: #226

this issue: #227

1.3.2

strip out content inside quotes to reduce false positives

this issue: #212

this issue: #217

1.3.1

hotfix a border none check issue

1.3.0

this issue: #205

this issue: #207

#211

this issue: #215

callback support: #222

exclude pattern support: #223

1.2.5

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

1.2.4

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

1.2.3

fix this issue: #200

fix this issue: #184

fix issue where blocks: always would throw false positives

fix this issue: #196

1.2.2

fix this issue: #189

1.2.1

fix this issue: #184

1.2.0

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

1.1.3

fix this issue: #185

1.1.2

fix this issue: #183

1.1.0

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

1.0.11

fix this issue: #164

fix versioning mistake in package.json

1.0.10

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

1.0.9

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

1.0.8

numerous fixes for post 1.0 checks (semicolons: always, colons: always, leadingZero: always)

fix for line comment space edge case

1.0.7

attempt to address line feed issues on windows

1.0.6

fix some issues with colons: always and semicolons: always #123 && #124

add more properties and tags to the whitelist (picture, src)

1.0.5

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

1.0.4

added a real license

1.0.3

cleanup a couple files, fit a maxWarnings bug in lint

1.0.2

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

1.0.1

aaaand now everything is broken

quickie fixes to mitigate issues with colon: 'always', sortOrder, and whitespace issues before i pass out of exhaustion

1.0.0

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

0.9.10

fix edge case issue caused by file globbing that could potentially cause stylint to hang

0.9.9

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

0.9.8

minor bug fix: some valid properties (anything with -bottom) were coming up as non-valid.

0.9.7

added mso-table-lspace and mso-table-rspace to property whitelist (outlook)

fix this issue: #95

fix this issue: #96

0.9.6

sortOrder check added: replaces alphabetical check: #92

improvement to comma check

0.9.5

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

0.9.4

hotfix for duplicates check regression https://github.com/rossPatton/stylint/commit/29d42014d315e6ef9dfeebf20636b43f13f2377b

0.9.3

#78

#66

#62

#61

#60

#59

#57

#55

#54

#52

#44

0.9.2

namingConvention improvements: #50

valid improvements: #46

universal improvements: #45

0.9.1

strengthen naming convention checks to better accomodate interpolation

update documentation for placeholders and colors options

0.9.0

add hexidecimal color check

0.8.15

add more svg elements to the whitelist

0.8.14

locking dependencies was a terrible, terrible idea

0.8.13

lock dependencies for stability

add more support for svg css properties

git ignore coverage report

0.8.12

fix require bugs

0.8.11

maxWarnings kill switch

remove chalk from package.json as dependency

various readme tweaks

some minor cleanup / tweaking

0.8.10

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

0.8.9

more duplicatesCheck fixes

0.8.8

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 )

0.8.7

resolve issue with duplicatesCheck throwing false positives on brackets

alphabeticalCheck should be less aggressive

0.8.6

more bugs showing up for alphabetical and duplicates checks, gonna toggle them off by default until they are fully ironed out

0.8.5

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)

0.8.4

readme update

0.8.3

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) )

0.8.2

duplicates was not toggle-able - fixed #27

duplicates needs some work - update README to reflect that

0.8.1

add npm badge and gitter

README tweaks

0.8.0

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%

0.7.4

checks: alphabetical added, check that properties are in the correct order

config: alphabetical: bool, for toggling alphabetical check

0.7.3

zIndexDuplicates added, off by default

zIndexNormalize added, off by default

0.7.2

bug fixes

code coverage

reduced dependencies

0.7.1

numerous bug fixes valid property test improved, throws fewer false positives than before