Closed jonathanlinat closed 6 years ago
Hmm, can't to repeat this issue. Can you specify CSSLint dependencies version?
@toptalo
gulp-csslint
:
{ name: 'gulp-csslint',
description: 'CSSLint plugin for gulp',
'dist-tags': { latest: '1.0.0' },
versions:
[ '0.1.0',
'0.1.1',
'0.1.2',
'0.1.3',
'0.1.4',
'0.1.5',
'0.2.0',
'0.2.1',
'0.2.2',
'0.3.0',
'0.3.1',
'1.0.0' ],
maintainers: [ 'lazd <lazdnet@gmail.com>' ],
time:
{ modified: '2017-10-18T09:39:37.244Z',
created: '2013-12-10T01:59:24.027Z',
'0.1.0': '2013-12-10T01:59:25.462Z',
'0.1.1': '2013-12-10T23:32:53.214Z',
'0.1.2': '2013-12-11T07:32:08.889Z',
'0.1.3': '2014-01-09T04:57:47.606Z',
'0.1.4': '2014-04-18T05:27:10.695Z',
'0.1.5': '2014-08-02T16:15:21.972Z',
'0.2.0': '2015-08-17T20:13:50.061Z',
'0.2.1': '2016-02-28T17:25:34.617Z',
'0.2.2': '2016-02-28T17:31:02.302Z',
'0.3.0': '2016-03-30T02:55:52.496Z',
'0.3.1': '2016-06-03T18:33:34.711Z',
'1.0.0': '2016-08-20T20:24:56.509Z' },
author: 'Larry Davis <lazdnet@gmail.com>',
repository: { type: 'git', url: 'git://github.com/lazd/gulp-csslint.git' },
users:
{ '326060588': true,
cornishninja: true,
growdigital: true,
evanportwood: true,
'roman-fov': true,
roystons: true,
alvint: true,
yousuke_tezuka: true,
itonyyo: true,
thewolff: true,
viktorbezdek: true,
n370: true,
jruif: true,
ravidor: true,
jacopkane: true,
lesthertod: true,
xueboren: true,
denji: true,
fotooo: true,
vmsynkov: true,
'4ster': true,
ifeature: true,
raisiqueira: true,
irj: true,
bnu: true,
bebaps: true,
ziflex: true,
davidazullo: true,
marcelohmdias: true,
parnick: true,
erikvold: true,
sanketss84: true,
nicolasgodefroy7: true,
rubiadias: true,
tuomastolppi: true,
jeffersonwilliammachado: true,
gmarciani: true,
hakuku: true,
deveroalex: true,
alexdevero: true,
fstgeorge: true,
mutian: true,
cygik: true,
kele527: true,
evandrosevergnini: true,
lmhs: true,
memija: true,
akshymalvia: true,
waliente: true },
homepage: 'https://github.com/lazd/gulp-csslint#readme',
keywords: [ 'csslint', 'gulpplugin' ],
bugs: { url: 'https://github.com/lazd/gulp-csslint/issues' },
license: 'MIT',
readmeFilename: 'README.md',
version: '1.0.0',
main: 'index.js',
files: [ 'index.js' ],
dependencies:
{ csslint: '^1.0.2',
'gulp-util': '^3.0.7',
rcloader: '^0.2.1',
through2: '^2.0.1' },
devDependencies:
{ coveralls: '^2.11.12',
'csslint-stylish': '0.0.4',
eslint: '^3.2.2',
'eslint-config-semistandard': '^7.0.0-beta.0',
'eslint-config-standard': '^6.0.0-beta.2',
'eslint-plugin-promise': '^2.0.1',
'eslint-plugin-standard': '^2.0.0',
mocha: '^3.0.2',
'node-version-check': '^2.1.0',
nyc: '^7.1.0',
rimraf: '^2.5.4',
should: '^11.0.0',
sinon: '^1.17.5' },
scripts:
{ clean: 'rimraf coverage/ .nyc_output/',
cover: 'nyc mocha',
postcover: 'nyc report --reporter lcov',
lint: 'node-version-gte-4 && eslint index.js test/main.js || node-version-lt-4',
precover: 'npm run lint && npm run clean',
pretest: 'npm run lint',
test: 'mocha' },
engines: { node: '>=0.10' },
gitHead: '371a4ce3825be7cc92e0f2dc789afe48bcfce091',
dist:
{ shasum: 'd95a56f7719466147fa9a07302fdba1690391523',
tarball: 'https://registry.npmjs.org/gulp-csslint/-/gulp-csslint-1.0.0.tgz' },
directories: {} }
csslint
:
{ name: 'csslint',
description: 'CSSLint',
'dist-tags': { latest: '1.0.5' },
versions:
[ '0.1.0',
'0.2.0',
'0.3.0',
'0.3.1',
'0.3.2',
'0.4.0',
'0.5.0',
'0.6.0',
'0.6.1',
'0.7.0',
'0.8.0',
'0.8.1',
'0.8.5',
'0.9.0',
'0.9.1',
'0.9.2',
'0.9.5',
'0.9.6',
'0.9.7',
'0.9.8',
'0.9.9',
'0.9.10',
'0.10.0',
'1.0.0',
'1.0.1',
'1.0.2',
'1.0.3',
'1.0.4',
'1.0.5' ],
maintainers:
[ 'cscott <cscott@cscott.net>',
'nschonni <nschonni@gmail.com>',
'nzakas <nicholas@nczconsulting.com>',
'stubbornella <nicole@stubbornella.org>',
'xhmikosr <xhmikosr@gmail.com>' ],
time:
{ modified: '2017-09-06T10:28:04.143Z',
created: '2011-06-15T17:58:51.762Z',
'0.1.0': '2011-06-15T17:58:52.378Z',
'0.2.0': '2011-06-18T17:07:28.549Z',
'0.3.0': '2011-06-26T17:38:46.071Z',
'0.3.1': '2011-06-26T17:55:54.839Z',
'0.3.2': '2011-06-26T22:43:22.548Z',
'0.4.0': '2011-07-06T01:54:12.221Z',
'0.5.0': '2011-07-30T01:19:27.551Z',
'0.6.0': '2011-09-03T18:00:29.294Z',
'0.6.1': '2011-09-08T15:51:31.377Z',
'0.7.0': '2011-10-14T18:53:50.569Z',
'0.8.0': '2011-10-24T22:15:29.769Z',
'0.8.1': '2011-10-25T16:25:56.419Z',
'0.8.5': '2011-11-15T16:20:55.489Z',
'0.9.0': '2012-01-04T17:29:40.908Z',
'0.9.1': '2012-01-05T01:19:02.501Z',
'0.9.2': '2012-01-05T17:27:26.101Z',
'0.9.5': '2012-02-03T19:28:31.285Z',
'0.9.6': '2012-02-10T22:34:51.391Z',
'0.9.7': '2012-03-02T22:47:13.673Z',
'0.9.8': '2012-05-14T17:28:41.804Z',
'0.9.9': '2012-09-12T20:48:56.654Z',
'0.9.10': '2013-01-17T18:55:15.213Z',
'0.10.0': '2013-11-22T05:11:29.095Z',
'1.0.0': '2016-07-15T09:55:29.037Z',
'1.0.1': '2016-07-15T18:57:14.345Z',
'1.0.2': '2016-07-19T18:56:15.161Z',
'1.0.3': '2016-09-21T23:52:21.791Z',
'1.0.4': '2016-10-26T07:45:47.060Z',
'1.0.5': '2016-12-06T08:50:17.732Z' },
author: 'Nicole Sullivan',
repository:
{ type: 'git',
url: 'git+https://github.com/CSSLint/csslint.git' },
contributors: [ 'Nicholas C. Zakas' ],
bugs: { url: 'https://github.com/CSSLint/csslint/issues' },
readmeFilename: 'README.md',
users:
{ nschonni: true,
abhisekp: true,
danestuckel: true,
pra85: true,
kh3phr3n: true,
nicolasmccurdy: true,
itonyyo: true,
yic666kr: true,
felixjung: true,
madskristensen: true,
dreamseer: true,
arbourd: true,
kayo5994: true,
erikvold: true,
teaera: true,
panlw: true,
enil: true,
mskjp: true,
landy2014: true,
ricardogobbosouza: true,
akshymalvia: true },
homepage: 'http://csslint.net/',
license: 'MIT',
version: '1.0.5',
main: './dist/csslint-node.js',
bin: { csslint: './dist/cli.js' },
scripts: { test: 'grunt test' },
dependencies: { clone: '~2.1.0', parserlib: '~1.1.1' },
devDependencies:
{ grunt: '~1.0.1',
'grunt-contrib-clean': '~1.0.0',
'grunt-contrib-concat': '~1.0.0',
'grunt-contrib-jshint': '~1.1.0',
'grunt-contrib-watch': '~1.0.0',
'grunt-include-replace': '~5.0.0',
'load-grunt-tasks': '~3.5.0',
'time-grunt': '~1.4.0',
yuitest: '~0.7.9' },
engines: { node: '>=0.10.0' },
files:
[ 'dist/cli.js',
'dist/csslint-node.js',
'dist/csslint.js',
'CHANGELOG',
'LICENSE' ],
gitHead: 'f57c84cf8c202828ae024a4d3ea08f4adceb187a',
dist:
{ shasum: '19cc3eda322160fd3f7232af1cb2a360e898a2e9',
tarball: 'https://registry.npmjs.org/csslint/-/csslint-1.0.5.tgz' },
directories: {} }
no. try npm list
and copypaste part with gulp-csslint
something like:
├─┬ gulp-csslint@1.0.0
│ ├─┬ csslint@1.0.5
│ │ ├── clone@2.1.1
│ │ └── parserlib@1.1.1
│ ├── gulp-util@3.0.8 deduped
│ ├─┬ rcloader@0.2.2
│ │ ├── lodash.assign@4.2.0
│ │ ├── lodash.isobject@3.0.2
│ │ ├── lodash.merge@4.6.0
│ │ └─┬ rcfinder@0.1.9
│ │ └── lodash.clonedeep@4.5.0 deduped
│ └── through2@2.0.3 deduped
or simply update package
I merged the linked PR in parser-lib. Unfortunately I can't create new releases for it, so I don't know how you can easily integrate it in current csslint versions.
Resolving this as fixed.
CSS:
Error:
initial
, as reported by MDN web doc, is a valid global value of the CSS3border-image-repeat
property and shouldn't be considered as invalid by CSSLint.CSSLint version: v1.0.4