{"_id":"stylelint-vscode","_rev":"48-7cb1d6efba8d7121cd77d89dd4f92c9d","name":"stylelint-vscode","description":"stylelint wrapper to easily integrate with Visual Studio Code","dist-tags":{"latest":"7.0.0-6","next":"7.0.0-21"},"versions":{"1.0.0":{"name":"stylelint-vscode","version":"1.0.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/npm-cli-path.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test.js","test":"node --strong_mode --harmony_destructuring test.js","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^2.3.4","vscode-languageserver":"^0.10.6"},"devDependencies":{"@shinnn/eslint-config-node":"^1.0.1","eslint":"^1.10.1","istanbul":"^0.4.0","tape":"^4.2.2"},"gitHead":"cbf9a1a1f7c22b20d2fecc140aa42c38626f0d38","bugs":{"url":"https://github.com/shinnn/npm-cli-path/issues"},"homepage":"https://github.com/shinnn/npm-cli-path#readme","_id":"stylelint-vscode@1.0.0","_shasum":"126927984c757eda17a9f08cf023a72216fae222","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.1.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"126927984c757eda17a9f08cf023a72216fae222","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-1.0.0.tgz","integrity":"sha512-WzQKOIZyL6Xuz/uErnnstEWfX2edWIr+p9VgKa765nTgfDx+FUiHiN6VWxgIxsT3E1c7w+Ns8N2QwU9mDUhYDg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDhLUkLhD3QMpV/Melo+ASjeNvlu3j5KDuXCTJP7QMHHQIgJnPA7qIvB/JFvltdXCpjv+0xqrW9ZtKFG6+8fCeKe/c="}]},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"2.0.0":{"name":"stylelint-vscode","version":"2.0.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test.js","test":"node --strong_mode --harmony_destructuring --throw-deprecation --track-heap-objects test.js","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^3.1.4","vscode-languageserver":"^1.1.1"},"devDependencies":{"@shinnn/eslint-config-node":"^1.0.1","eslint":"^1.10.3","istanbul":"^0.4.1","tape":"^4.2.2"},"gitHead":"3ff67fe6765b5594541bcee7bc6522e474ec7471","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@2.0.0","_shasum":"eb22c5449c66d3bd7062a07ca4de28f6bfa1b85f","_from":".","_npmVersion":"3.3.12","_nodeVersion":"5.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"eb22c5449c66d3bd7062a07ca4de28f6bfa1b85f","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-2.0.0.tgz","integrity":"sha512-etfhXhEwp0vMqn6Cq4PtkdUku0oZyuZs4W7UeJCFdCss4oVVhF6x1bbnmYAz+U/QUqFFCB7gM3oIyFbdEOcsPg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCvbWDBBCXmuAS86YYtVHVXF6tcI0Oj2rxiFtLFHW84eQIhAIkwL3kUF0xA2nr+klAzqVRcmFK70hrG4hRt8bZ2fSF8"}]},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"3.0.0":{"name":"stylelint-vscode","version":"3.0.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --harmony_destructuring --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^4.2.0","vscode-languageserver":"^1.3.1"},"devDependencies":{"@shinnn/eslint-config-node":"^1.0.1","eslint":"^1.10.3","istanbul":"^0.4.2","tap-spec":"^4.1.1","tape":"^4.4.0"},"gitHead":"a44fa116f794855bba5c8173a4f9aeb7bf99fd9d","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@3.0.0","_shasum":"b940e5567b4ab10b849b6a77922a72a5d9646f9e","_from":".","_npmVersion":"3.7.1","_nodeVersion":"5.5.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"b940e5567b4ab10b849b6a77922a72a5d9646f9e","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-3.0.0.tgz","integrity":"sha512-R+42t51JbFOYxggRqJ2d7ViX32bM3qIaVwSYVDHK0QFl97ly2oJTbVhKR/8EIQZ00ypiv20cqZh+idDhqVzOZQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHOcz2KVKkkvO9VCwYyqz2n05BdpI3M5XliwMNF3/VVIAiEA9F9VyXGcvWwSLJU4kkvLYqBpOKDla5k8l5zoYee2LwI="}]},"_npmOperationalInternal":{"host":"packages-9-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-3.0.0.tgz_1455186807022_0.4121287064626813"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"3.0.1":{"name":"stylelint-vscode","version":"3.0.1","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --harmony_destructuring --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^4.2.0","vscode-languageserver":"^1.3.1"},"devDependencies":{"@shinnn/eslint-config-node":"^1.0.1","eslint":"^1.10.3","istanbul":"^0.4.2","tap-spec":"^4.1.1","tape":"^4.4.0"},"gitHead":"3a3df2e4ee1305112c1063628b27481dcb532c27","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@3.0.1","_shasum":"d8f148f153cd4abec34e6d0268db6ad607b23990","_from":".","_npmVersion":"3.7.1","_nodeVersion":"5.5.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"d8f148f153cd4abec34e6d0268db6ad607b23990","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-3.0.1.tgz","integrity":"sha512-ZAD47xUSBRe8PjfybeMESLxsaEPrNWY4n3YcJTA0Sc95iuY7j5QUlix0g6eMJ837ovMdxZFXaMpac5Zr16T1bQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQC3uaT3GHIPvQZr1AmcB8K/Tb/Ta4lbd59IagNFV7fBQwIhAOviQCzxBkH9dr9r+ll7YP9wrBaKpvWj3D/nFdlIS3h5"}]},"_npmOperationalInternal":{"host":"packages-5-east.internal.npmjs.com","tmp":"tmp/stylelint-vscode-3.0.1.tgz_1455187824782_0.6575507114175707"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"3.1.0":{"name":"stylelint-vscode","version":"3.1.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --harmony_destructuring --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^4.5.1","vscode-languageserver":"^1.4.0"},"devDependencies":{"@shinnn/eslint-config-node":"^2.0.0","eslint":"^2.3.0","istanbul":"^0.4.2","tap-spec":"^4.1.1","tape":"^4.5.1"},"gitHead":"321ab087dcb68916b4b7dc8798778639987aafee","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@3.1.0","_shasum":"80fcd8253d7248804d6b591783f1d484c7c25c04","_from":".","_npmVersion":"3.7.3","_nodeVersion":"5.8.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"80fcd8253d7248804d6b591783f1d484c7c25c04","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-3.1.0.tgz","integrity":"sha512-P1oJhlqQdi/+8cLTAgL5jp0sMDNvQn5S7QAe89WJLf6KLlXcuDd2koCRWP1ZRPtjEX1yTDuTlk5ht8vGHZawBA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDnxm4y/cXZjxUUWUoi0ABSqBL8E0T/3V8JThJ4glDa1QIhAL/HN7jY1aUYw8WWex6SpFm/QD2y4wKzdlOzphdMhTfk"}]},"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-3.1.0.tgz_1457617862095_0.706304639345035"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"4.0.0":{"name":"stylelint-vscode","version":"4.0.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --harmony_destructuring --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^5.0.1","vscode-languageserver":"^1.4.1"},"devDependencies":{"@shinnn/eslint-config-node":"^2.0.0","eslint":"^2.4.0","istanbul":"^0.4.2","tap-spec":"^4.1.1","tape":"^4.5.1"},"gitHead":"fee9d3c844cfb66087b55e609b2384c3b6aab50a","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@4.0.0","_shasum":"eea784a8049deba85ffa8733043e713803fb193f","_from":".","_npmVersion":"3.8.1","_nodeVersion":"5.8.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"eea784a8049deba85ffa8733043e713803fb193f","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-4.0.0.tgz","integrity":"sha512-ZYpKm5a19GFmkBmJH4UH1Nyv7GSImB0LKPFY0xfRQ+Nm4XOWP0njCaGjyoQBriSP92a6G7oSxZiOLqn42+japA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCgwsX/CSLDL5ih6p2swRQiUemLT/D+cikgy4aM8MrrwwIgSIkUIc9L2+z1g/7fVPPC2u+WQKszEBrxqisZMlHnm4g="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-4.0.0.tgz_1458131176789_0.873105202568695"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"4.1.0":{"name":"stylelint-vscode","version":"4.1.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --harmony_destructuring --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode --harmony_destructuring node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^6.0.3","vscode-languageserver":"^2.1.2"},"devDependencies":{"@shinnn/eslint-config-node":"^2.0.0","eslint":"^2.8.0","istanbul":"^0.4.3","tap-spec":"^4.1.1","tape":"^4.5.1"},"gitHead":"2bfed87b5e065420c9797c5c1c59e7471b14adb3","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@4.1.0","_shasum":"04554dfc7c0db3d4a67e8dde363404bdf7e9146e","_from":".","_npmVersion":"3.8.5","_nodeVersion":"5.10.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"04554dfc7c0db3d4a67e8dde363404bdf7e9146e","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-4.1.0.tgz","integrity":"sha512-3N7QzH7oEU/Kw6774tpFNbCM1NM/+X4/vLtI2eQgy/fg6yxSXXxixw4VTHwlmszuY/H6igQYUvwKgYLNS+JXtw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIHMlix7HA/zRKc0e5ADD74nUZ/Rzk7i3Jp2y7CHIFs8BAiApJ+wx4231JFlnaiJOaXTCGssKZQGpl8RKIbyPFLpwVQ=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-4.1.0.tgz_1461240223497_0.740158288506791"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"4.1.1":{"name":"stylelint-vscode","version":"4.1.1","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.0.0","stylelint":"^6.0.3","vscode-languageserver":"^2.1.2"},"devDependencies":{"@shinnn/eslint-config-node":"^2.0.0","eslint":"^2.8.0","istanbul":"^0.4.3","tap-spec":"^4.1.1","tape":"^4.5.1"},"gitHead":"75b1b9f21a963ab5767c11987574a6b8eeabe700","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@4.1.1","_shasum":"b3eeda070cce86f87b634aeb4f88193405f77774","_from":".","_npmVersion":"3.9.0","_nodeVersion":"5.9.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"b3eeda070cce86f87b634aeb4f88193405f77774","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-4.1.1.tgz","integrity":"sha512-LwnoWTRW+zYGv/WXIHq6BDbbuJeTk7tMWcK+mn7T4iRjnQD3xeAm80QAOOO7fT26xNhGcl2fjyEmEpJ0zXJ3Og==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQCHD5XYE70ty8e4maMihoIAsiOSQNupG1/jiGr0wv4A0gIhALINk7ZxfYMWlRpgY+L7HsHhEvIHFu071QhKIy9H4f8p"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stylelint-vscode-4.1.1.tgz_1463568020658_0.5651586786843836"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.0.0":{"name":"stylelint-vscode","version":"5.0.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","stylelint":"^7.0.2","vscode-languageserver":"^2.1.2"},"devDependencies":{"@shinnn/eslint-config-node":"^2.0.0","eslint":"^3.0.1","istanbul":"^0.4.4","tap-spec":"^4.1.1","tape":"^4.6.0"},"gitHead":"d4627751fda36013bf07e58671c33f607fce3de6","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.0.0","_shasum":"0dd872fb0b487b4d359d719ad9eaf4d91fe69325","_from":".","_npmVersion":"3.10.5","_nodeVersion":"6.3.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"0dd872fb0b487b4d359d719ad9eaf4d91fe69325","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.0.0.tgz","integrity":"sha512-JkYnZe54pvpsjXPVv3+nDLUi5xyzca3ESixxLA/tpeHi+QIRlYW23n5EKnBJPhz2UQEfzpz8VlsFmGc4DUArCQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD0WJ/xI04U0efYPOfO/dwYqgSahFKMQjCF3PK+2v2XjgIgPAkDbX9uBAGHicwSFxuUk3VsM8uCNXE6Y203bHMdpXc="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.0.0.tgz_1468579943579_0.6062332845758647"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.0.1":{"name":"stylelint-vscode","version":"5.0.1","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --strong_mode --throw-deprecation --track-heap-objects test/test.js | tap-spec","coverage":"node --strong_mode node_modules/.bin/istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","stylelint":"^7.1.0"},"devDependencies":{"@shinnn/eslint-config-node":"^3.0.0","eslint":"^3.3.1","istanbul":"^0.4.5","tap-spec":"^4.1.1","tape":"^4.6.0"},"gitHead":"54c64245c688a2c80bc6060f09d2e4b892550a85","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.0.1","_shasum":"f2e4e3cf15f28ac1c10bbdf6e66ee9e683b8c43f","_from":".","_npmVersion":"3.10.6","_nodeVersion":"6.4.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"f2e4e3cf15f28ac1c10bbdf6e66ee9e683b8c43f","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.0.1.tgz","integrity":"sha512-Yz2s/ZabyC1pU6a1GJZQC/xTxZXcs0PzTPgncPClz2+2xyX5PIdgo5pZzUmKDz4Pa4ninrEX21ls4LxuLaYHHA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDpnU3RoY2OwPs/LY46WXFMk6PTNAsrV8A1koh/rwPR0gIgEQdynSOMTHSoSql/JCBVEIDGLv/Wr2i8/pfpx0xcOpk="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.0.1.tgz_1472115918039_0.970930154202506"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.1.0":{"name":"stylelint-vscode","version":"5.1.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --config @shinnn/node index.js test/","test":"node --throw-deprecation test/test.js | tap-spec","coverage":"istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","stylelint":"^7.4.2"},"devDependencies":{"@shinnn/eslint-config-node":"^3.0.0","eslint":"^3.7.1","istanbul":"^0.4.5","tap-spec":"^4.1.1","tape":"^4.6.2"},"gitHead":"f1641bffdc91226305735336c2cd5308e861ad27","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.1.0","_shasum":"d1092b7c91456c5b56852689a4ba09e629b086b1","_from":".","_npmVersion":"3.10.8","_nodeVersion":"6.7.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"d1092b7c91456c5b56852689a4ba09e629b086b1","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.1.0.tgz","integrity":"sha512-+4bdR2zvFbNfGSe2591dJIkmBIPfLVbiLSGP7PFPzYAgcGZGF5toLDDb3YTqAuT3elnX/+xKPxpH53PQaNvGLQ==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIHlUREpLnJRcVY9rFM7hQ278+QPx1W0hAcYkecBftfVMAiEAr9Y26Jle3lhGLBCzTauN6H/tYs/NM+zMsVfg+cPLZpU="}]},"_npmOperationalInternal":{"host":"packages-16-east.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.1.0.tgz_1476209057234_0.6595390976872295"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.2.0":{"name":"stylelint-vscode","version":"5.2.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test/","test":"node --throw-deprecation test/test.js | tap-spec","coverage":"istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","stylelint":"^7.6.0"},"devDependencies":{"@shinnn/eslint-config-node":"^3.0.0","eslint":"^3.10.2","istanbul":"^0.4.5","tap-spec":"^4.1.1","tape":"^4.6.2"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"0d14ed8fe0e29533db0b8b7aca65b59643d8ca2d","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.2.0","_shasum":"8de2275d764d57b0dbfd490445211eea605e3e55","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.1.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"shasum":"8de2275d764d57b0dbfd490445211eea605e3e55","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.2.0.tgz","integrity":"sha512-t8W7+35DLBXdCLRUWEYcUKZegu2wkZddAwWBpAUv5d39ZpS3Q0MniMQdwatDPQSMzQg1FZAX8mFW4Adw3LMxTA==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIAD8BdQMrjawL+OPtkaRaScWRr2w8dgAjnsO0q42t2vxAiEAipiIAqy3SELZb5CJjtPI6YVDMtHMxC+kY67PZg7MYGw="}]},"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.2.0.tgz_1479907942529_0.4285884879063815"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.2.1":{"name":"stylelint-vscode","version":"5.2.1","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test/","test":"node --throw-deprecation test/test.js | tap-spec","coverage":"istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","stylelint":"^7.6.0"},"devDependencies":{"@shinnn/eslint-config-node":"^3.0.0","eslint":"^3.10.2","istanbul":"^0.4.5","tap-spec":"^4.1.1","tape":"^4.6.2"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"e5eb92f84e4cd550556faf7e52749edaf4e39b8c","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.2.1","_shasum":"ef8057a2e1bce708a6a40cabe96dad84a5538840","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.1.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"ef8057a2e1bce708a6a40cabe96dad84a5538840","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.2.1.tgz","integrity":"sha512-Jhvf91qxiE7g8cSklYGDPZipikPzy1yw9YJper/+zQpqS5eEXgZ5RBIx/45Sv7KtW3jOE1vumng58UoXaQDsMw==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIFRWUQeiKsUHCtDeBZUdPJ4AgOu/mITZGkkcE5WboJ4sAiEA+fLRQIgmGKIF3fhiey/OtyH/8V0LwGioQ950p3c1zOQ="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-18-east.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.2.1.tgz_1480070244737_0.198511854512617"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.2.2":{"name":"stylelint-vscode","version":"5.2.2","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test/","test":"node --throw-deprecation test/test.js | tap-spec","coverage":"istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","is-plain-obj":"^1.1.0","stylelint":"^7.6.0"},"devDependencies":{"@shinnn/eslint-config-node":"^3.0.0","eslint":"^3.10.2","istanbul":"^0.4.5","tap-spec":"^4.1.1","tape":"^4.6.2"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"c102cd305ec573c629e42b1a99ffcb0b0c3e9e27","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.2.2","_shasum":"fcf6de319406ddaae1e99c28ec1eb80a43a375f6","_from":".","_npmVersion":"4.0.3","_nodeVersion":"7.2.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"fcf6de319406ddaae1e99c28ec1eb80a43a375f6","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.2.2.tgz","integrity":"sha512-907sIeDrt/B9Iq+LH4JkuXU6OJDvfr21ZKPc4Vna+cherfDjvxiH1Hwa7vnq9fZmzXuUxlyTPIwNFzHmcBUO5A==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIH5Kus0EPVTgx0nh3X6niQfg7ILGYnAqGr4a3TlEBAmrAiBDJzobwTxWQJNdPQMdoc8eLh6VkuJh4J+uolL2e0fbUg=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.2.2.tgz_1480331020720_0.9156231873203069"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"5.2.3":{"name":"stylelint-vscode","version":"5.2.3","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test/","test":"node --throw-deprecation test/test.js | tap-spec","coverage":"istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","is-plain-obj":"^1.1.0","stylelint":"^7.6.0"},"devDependencies":{"@shinnn/eslint-config-node":"^3.0.0","eslint":"^3.10.2","istanbul":"^0.4.5","tap-spec":"^4.1.1","tape":"^4.6.2"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"164052195b1d3ebe8019858e1d5c777df92b865f","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@5.2.3","_shasum":"41c089bca3f4b98b5d8267321754b845f7baf14f","_from":".","_npmVersion":"4.0.5","_nodeVersion":"7.2.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"shasum":"41c089bca3f4b98b5d8267321754b845f7baf14f","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-5.2.3.tgz","integrity":"sha512-nmcopWE1bkgskcwBvIY6G/TIGjCmzUSiPS9V1RSLsHrEFjTFAT5P7RmRjjh7390YoodhLYugKtL2Ko++YWxxdg==","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDiwpKCHkwPvwm0yJA0U3wD+rbNLesWAA2bSYQjqP4dTAiAKmuue6+H1sa4iniyyvpFc+7jMsCF1UGIDzT46Uvb94A=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"packages-12-west.internal.npmjs.com","tmp":"tmp/stylelint-vscode-5.2.3.tgz_1480937389477_0.15163343935273588"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"6.0.0":{"name":"stylelint-vscode","version":"6.0.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe index.js test/","test":"node --throw-deprecation test/test.js | tap-spec","coverage":"istanbul cover test/test.js"},"license":"MIT","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.2","is-plain-obj":"^1.1.0","stylelint":"^8.0.0"},"devDependencies":{"@shinnn/eslint-config-node":"^4.0.2","eslint":"^4.2.0","istanbul":"^0.4.2","tap-spec":"^4.1.1","tape":"^4.7.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"ce2b39db04c0fda9f009e4db1efa4a681f8fde14","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@6.0.0","_npmVersion":"5.3.0","_nodeVersion":"8.1.4","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-SzbISfWcPQYHiBQ3fhmotqC1wGZB5lo4++EBYUuhuMyxDQRYkAMCUEjZby18AEXO1SpXfpUqTzdTvJLD2avjyg==","shasum":"953cbe1eb0ec08ab89b131eaf21b640b58b69c08","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-6.0.0.tgz","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDG9KndARdE5sM091QxaqXzgyMSA5ejOtaikvbLzDUgCAiEA3NA3Zr95XV5bv96Fubx0/o/pEWLDR2I/XM4fpuXSSss="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode-6.0.0.tgz_1500359854362_0.5559561650734395"},"directories":{},"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"6.1.0":{"name":"stylelint-vscode","version":"6.1.0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","is-plain-obj":"^1.1.0","stylelint":"^9.1.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver-protocol":"^3.5.0"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.18.1","nyc":"^11.5.0","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"7d8144a057bf97a0869d3bf5cd37ff48394badde","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@6.1.0","_npmVersion":"5.6.0","_nodeVersion":"9.5.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-0YL/XXWqIOv5kTPDpV97Ud5QW4I4ProLKRQQooF8Amugz4J3iAKkTJUc4i//GJwnEzKfXteAFC4ElRtk20WJCQ==","shasum":"869c9632de1067727b16bc852f379fa057519871","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-6.1.0.tgz","fileCount":4,"unpackedSize":8097,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIA8WxCkmcmuqka4F9Q6swUBgFXotIXcmp1xdoUygQJOkAiA1G1iLwwUItl2RU0XgLV9yTnvGMcLfCzsR56C6Xadw3Q=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_6.1.0_1519292684885_0.21494864514085643"},"_hasShrinkwrap":false,"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"6.1.1":{"name":"stylelint-vscode","version":"6.1.1","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","is-plain-obj":"^1.1.0","stylelint":"^9.1.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.18.2","nyc":"^11.5.0","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"1b1ba29d5282a9eac83fd813659f7535d84641e6","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@6.1.1","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-VzzrSYcw+KnDhiczHYBBs8MKsv7nHOqUGl0nV9kLM9ekhD14f0DhF6Ev4lYWu8fRL9m6sN3Yn6gjOxlt1edVuw==","shasum":"9f0ee7fc16ebe48d22577ebfa16a39de49974419","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-6.1.1.tgz","fileCount":4,"unpackedSize":8266,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCquECCuPxH6fFrJ3NYOuQ/UKUibsLkyFAPQl6qALUcHwIgO6xs5Ly7h+j+IosxFs28/3sRxflAZ9j4YQatt9+M+Ig="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_6.1.1_1520382968978_0.24068790182184574"},"_hasShrinkwrap":false,"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"7.0.0-0":{"name":"stylelint-vscode","version":"7.0.0-0","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","is-plain-obj":"^1.1.0","lodash":"^4.17.5","stylelint":"^9.1.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.18.2","nyc":"^11.5.0","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\nconst code = `\np {\n  line-height: .8;\n  color: red;\n}`;\n\n(async () => {\n  await stylelintVSCode({\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*options*)\n\n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/893d050a24b47547fdf96c608f443f1f200eefa1/src/standalone.js#L16), except for:\n\n* It will be resolved with an `Array` of [VS Code](https://github.com/Microsoft/vscode-extension-vscode)'s [`Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/3.5.0/types/src/main.ts#L165-L192) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) option is required and [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n  * Because extensions can derive file contents via [`TextDocument#getText()`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument) and there is no need to read physical files again.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode({\n    code: '{foo}'\n  }); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode({\n      code: 'a {}',\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"a1c1c852080c4d270fcfa3e7da6fd5e1b1684f81","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-0","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-Qk1e3SXK1+95/Karb99qSS1dWYJ2cw2SRqouvvUpoL9UwEI5RgVYIpTb+0+91Q1nEQ7fCiVuZsFNbVTKcuvhcg==","shasum":"e3c1257baeabb65f879415eeba82985fd31aebd2","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-0.tgz","fileCount":4,"unpackedSize":8244,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIA9hpd75y0zVRxjL+78R0/qvJ09YSWO6rTZnJiv/YGYYAiEA2ZkzQ8SfV2rdlybi3/khgymH4WJmSRep/G/P3pORN/Q="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-0_1520384020743_0.5113232692586018"},"_hasShrinkwrap":false},"7.0.0-1":{"name":"stylelint-vscode","version":"7.0.0-1","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","lodash":"^4.17.5","stylelint":"^9.1.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.18.2","nyc":"^11.5.0","stylelint-processor-styled-components":"^1.3.0","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\nconst code = `\np {\n  line-height: .8;\n  color: red;\n}`;\n\n(async () => {\n  await stylelintVSCode({\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*options*)\n\n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.1.1/lib/index.js#L24), except for:\n\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) option is required and [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n  * Because extensions can derive file contents via [`TextDocument#getText()`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument) and there is no need to read physical files again.\n* It ignores JavaScript files when [stylelint-processor-styled-components](https://github.com/styled-components/stylelint-processor-styled-components) is not loaded.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode({\n    code: '{foo}'\n  }); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode({\n      code: 'a {}',\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"6e75b458c3135eef032e1614f8c170aac7f267cf","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-1","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-NZrafgopdnNZ3GSNDuVLCopNQahktHhEI1+ZTgdjLD5ne8r17EdVu1CXLMfxHxyrTu9SRN2WyoKSMcqyWAWhvg==","shasum":"48c637c18a8d64981a928108ca5bcfe4b7b8705f","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-1.tgz","fileCount":4,"unpackedSize":10582,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD98Hxa/mo7OIFDLjamjceQhp+tWA2ALRhozlWu/O3fNgIhAKOTR6yM0O98hNyt8EG+JqEe5UAwUSIHIxtknAEw9TQU"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-1_1520483557607_0.5379016870689806"},"_hasShrinkwrap":false},"7.0.0-2":{"name":"stylelint-vscode","version":"7.0.0-2","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","lodash":"^4.17.5","stylelint":"^9.1.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.18.2","nyc":"^11.5.0","stylelint-processor-glamorous":"^0.2.0","stylelint-processor-styled-components":"^1.3.0","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\nconst code = `\np {\n  line-height: .8;\n  color: red;\n}`;\n\n(async () => {\n  await stylelintVSCode({\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*options*)\n\n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.1.1/lib/index.js#L24), except for:\n\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) option is required and [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n  * Because extensions can derive file contents via [`TextDocument#getText()`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument) and there is no need to read physical files again.\n* It ignores JavaScript files when stylelint doesn't load either [stylelint-processor-glamorous](https://github.com/zabute/stylelint-processor-glamorous) or [stylelint-processor-styled-components](https://github.com/styled-components/stylelint-processor-styled-components).\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode({\n    code: '{foo}'\n  }); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode({\n      code: 'a {}',\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"440f332ed9d86686f8b4454dc0e5abed023a73ca","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-2","_npmVersion":"5.7.1","_nodeVersion":"9.7.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-rTre38GNkJOs+0WGBEg/efULQt1at0CV/9Iv+CRk2ndBXRCPmlMlcdE/kXcUu5jlBpWaDWh9GoKPRcLAcAIRvA==","shasum":"04491f6f4ffcfab2bef7aacd0dc04073d4897f39","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-2.tgz","fileCount":4,"unpackedSize":10828,"signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIEpys0LU2q+xwcsrtvYUE/NKELKg2adQqLcuSLAzlyVlAiEA7o+hOwevUM+2vWrd2EgZclQwq+mjIMp070VpvaU8sis="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-2_1520555894384_0.926169320015265"},"_hasShrinkwrap":false},"7.0.0-3":{"name":"stylelint-vscode","version":"7.0.0-3","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","lodash":"^4.17.5","postcss-jsx":"^0.10.0","stylelint":"github:stylelint/stylelint#ecd7c0a89ef3d0c164770883852b3574a013144e","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","nyc":"^11.8.0","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\nconst code = `\np {\n  line-height: .8;\n  color: red;\n}`;\n\n(async () => {\n  await stylelintVSCode({\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*options*)\n\n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.1.1/lib/index.js#L24), except for:\n\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) option is required and [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n  * Because extensions can derive file contents via [`TextDocument#getText()`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument) and there is no need to read physical files again.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode({\n    code: '{foo}'\n  }); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode({\n      code: 'a {}',\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"9dad72e13939384d15a87944ecfca5fc73233899","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-3","_npmVersion":"6.0.1","_nodeVersion":"10.1.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-HknPkc9Iznjq9pp/PLqXx8nrPBYh5+DppQsM2u5tCM9mNiXWlJ14X6y8kxJj3Pq3F1V2UoK7Ihd0oQke4mmhTQ==","shasum":"2aeee452ec2450f796637e8cdaa8cca951a6c01c","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-3.tgz","fileCount":4,"unpackedSize":8649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbA2MuCRA9TVsSAnZWagAA7PoP+QGt+CMkcTSLDddSN6oV\nuKpRFhIvf7gvulcf5rou6mVMQK7rO+w6kyQ5a3xVGM3GMOZfQaWD/oJ5av5U\n4bcDJ+LOVWmuiy3oWGGFpTrEWZRvtb9AEVdqY9WxQpstoin8P21/zAVO8mbM\nAVE7CuTDjhWS0ihD/6nOojMWfZ+nf7pDM5bVQxfor1qWJ0dqt/G6cKeHLyDY\ndjGllv3WGkFRBFtoyyS1MUnzzwCaXkAJoHVPYjdpfqp2vIA20fsBfqDdJhil\n3SnjIwvjND+WkJybUCo+ZUia451fUrH0Uip9be+xu1K2fRSojN5vnvoGEQpE\n+iBUroV6Z05z7+CYhnpgrqqYNU+UsAMR+k/bFWdxdYel0XaotonwVO/eip0/\nqXBI5XyH0U13lPMFfBjlbThYLSJmqaRVeAolaB7zmkC1ixcIvGZttpRlX4bJ\n3zWJi3gqdzu0hdpQLvqNtCYm/SXeQWKjdOHQyCToCPpsHDCs6hqoGKnDNiSD\nTgAjZIsPU16bTXZ7YtsELi1Xthp8oFiLKvkk4MOK8bXAQAzC5zG1yNfMYMRE\ncqUygncisPzEvvcHl0av8L0geyEd+nb4LcbYWhSzUMv6rg5AK7vaSi4sYfgU\nMaHLfbfZi6Vsv4Ua1PYjBoh7kCTQ4z4zhNOLYdkPKIRyn42JouU829PgEUFe\nhxjV\r\n=TUx4\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDU6IpqaxNnjQjAkp5br80bsOk3MxoDGwsiKFuS/Xtw/QIhANz36ZgjvLds4oeAizBo724k/ha01E9aCoOkgnUTnO+S"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-3_1526948652817_0.213179948986141"},"_hasShrinkwrap":false},"7.0.0-4":{"name":"stylelint-vscode","version":"7.0.0-4","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","lodash":"^4.17.5","postcss-jsx":"^0.25.0","stylelint":"github:stylelint/stylelint#ecd7c0a89ef3d0c164770883852b3574a013144e","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","nyc":"^11.8.0","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"51c97f5cbf12f80d64f35cabd3cd3f6d42dece36","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-4","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-hmyHF+7IuXd2cA7JGJOAa8xMJkBHRuSd4oSNon9s4/VolmkV3Jq5B273pOACILf+M9SbBOYLqwfSZDaORjUkNA==","shasum":"fe434219d358f8e86b9aa88753def457a91b0ac5","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-4.tgz","fileCount":4,"unpackedSize":8649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCVLxCRA9TVsSAnZWagAAQNcQAI5Dty3wna6NrFZG/B+Q\nk9EiYsKUzNJDopxNJGT/YXrsas+gVgI3jqHOaCjmkK1W9qsEkMg61o1Br7hf\nh9sRPpIVnHjiKKheddXmTzE9fbXiaNsB5EEAzwliU1t3OEvqU91DC/CQAIPt\n0ELd6sRmMUCJP6y2x9RRokDkoC5R35crSSIwHo8MU7q4JtrSMYwbf0JSI9yI\ntlzxWeJNWgwKqPMin4hRu8rX88YrWUFI5aEJIAS2eIkgkBEKDPeTbZ+pTLoM\n0V13c5pYrZtxYZ8/E+7qNYUh68HvWM+U6gmQ7qSqa6UwAwNuRvAf2DBgOBMS\nR1+hTEvkLmUcNaLhXPFYKwidzhEhG97JdAtUT8kpvVC5HvON12UFjCAttp60\no89+Nvo5xC4kapt1QBKCMquxgT7BCUuJnqKWyhtq05b9T6OhWucdG4JdRdxL\nIEnXWsTB4xcQFZrNjQGKRQT7LXE8QYp32x6zmKH8KdTl7RL2zRJppp8xxxVL\nhUu7AVogtK6E5zbiNKHbho0BxkaZF/MAmLdqLvkgfCw3Ep7xQQWDhfUwWDym\n/3y628Nj2gd5/hbbARawdPI8hnBvOJcnbKbohANZSQdY2sINh6brBv6RCGXA\nlw/C+KRBhPL8QMneTrpsqF8gnzbbTV5gtZsMmgWZHlJcUKP2z3uHpcvYe+au\nRl3a\r\n=w/BT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIDWOmTTJWJ1jDsFqd8hNMIu8KVT52s7Y2EtW7tizl77YAiEA/VyX3Yhs9LWw76V3EgIX6KdLKLeTpz+ylub/5su1LA8="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-4_1527337712413_0.13288140475736632"},"_hasShrinkwrap":false},"7.0.0-5":{"name":"stylelint-vscode","version":"7.0.0-5","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","inspect-with-kind":"^1.0.4","lodash":"^4.17.5","postcss-jsx":"^0.25.0","stylelint":"github:stylelint/stylelint#f2fa2ddb0b1d642e41645f3623f57f62cbecb7e2","stylelint-warning-to-vscode-diagnostic":"^1.0.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","nyc":"^11.8.0","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.0"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\nconst code = `\np {\n  line-height: .8;\n  color: red;\n}`;\n\n(async () => {\n  await stylelintVSCode({\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*options*)\n\n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.1.1/lib/index.js#L24), except for:\n\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) option is required and [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n  * Because extensions can derive file contents via [`TextDocument#getText()`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument) and there is no need to read physical files again.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode({\n    code: '{foo}'\n  }); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode({\n      code: 'a {}',\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"192a548e52f5e8da34e5f138ded1a2c23b7fe55d","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-5","_npmVersion":"6.1.0","_nodeVersion":"10.2.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-klL9wAQ+6rM9IrhexUmCWVRnw/dOXvEF+psrrc3g27E6WuYVIuTYXndYci9oHEIemibm1yOEmAbIreZRt55Eeg==","shasum":"f45ce7b2f42ad4a03c0a98dedd4d5b838227fae0","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-5.tgz","fileCount":4,"unpackedSize":8649,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbCVc1CRA9TVsSAnZWagAAwRMP/RhSydvi7qffSb+IxuLh\n6zY3iXot8L+W8uzRXE6TgRb4DqDqM2W1VhHY2tgUMhASj+jS9750vkBo4dS6\nnIN0bodo/8Wz8akksTI9YdjToDX0q4p7nQMgT3ROiy0Hj/k7vmgsGDKwjNQ4\nAk1oXBs+wMw7e3RrALxNpr00sZeDVvZ/jZQT/Red+LRi6g+eOH3EjZDMZkgA\nkFojArOcEBmwKQv6Ajl2OS1MEvONAbWUGLmKv0Wxsrl4pHb4rZvO7HWpFc0I\n4lytn3uxxtZFuF59Tt+LESdixs+0PIMv7uYV9241g2ycbgaQHsIilwEIa4RN\n0gKr4+GzL3zT0uu29BJPh2k8s2zGnSweIf/OleT9Ss2BfH7qrgsCexr3NPs3\nF3kqz//MaEuGW36Utoc0mYk/2Qf0vi6F6fbuCA/gcPoKZRa1XO1/oi4Sg0XM\nd6kmp3SuIVfvw2xzighWZ20wixfm4WQXj8XDkeYE3MKpLk3vnE0CeqSDbfr3\ny1LdsyEVhB7uHvn9aJZgbnx7xjAGxLI0w4YQHsGGxt3+Pca+bHkGYjNeOM0K\ntjKjA1CmQ3sQRSYBQZSxruztB6iLalKXdwqoKiuF3nHZUZKmj/RJSJwfiq5r\n+KU8Wf3N0IuO0tj+5i6IkJdFhV4k8jNoSHi+AybyzsKIAtbpb5EjUr6icbjB\nVesg\r\n=ZmZR\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIDBj9zEcXa0P/YWZOpyL9LWUdQgtiHRvcmkMwzOo1+E3AiA9NgEUEPMvBzpAzwmH1SYX6knvpEpT+ltwytIEANjLmw=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-5_1527338805496_0.7415116685889449"},"_hasShrinkwrap":false},"7.0.0-6":{"name":"stylelint-vscode","version":"7.0.0-6","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-jsx":"^0.25.0","stylelint":"github:stylelint/stylelint#f2fa2ddb0b1d642e41645f3623f57f62cbecb7e2","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^4.2.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","file-url":"^2.0.2","nyc":"^12.0.2","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"gitHead":"8fcbc0283e2822a5dd0ab8a8097fb06633257168","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-6","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-4rDVotdVwT6B2lb53mOQf1TrT1sqwR0PZooUoGh7YWHUqoVIbuThFrsE+8oke3jhV31qDWtEQeyfi1CR306kbw==","shasum":"96614d06f6bed55985bd728800e502d13cd5814b","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-6.tgz","fileCount":4,"unpackedSize":9486,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.13\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJh28UVCRA9TVsSAnZWagAAsVIP/A0F8fljl49WaxgXMJ9d\nRiafKe5GnW6E/F/epLvRKEQAVJbQNExr9EgOh50WVMBwBqKLEe86ZnHHBbZd\nWCYdgKq0GurMubyPF1py6Te670H9yDFVNA8Sh9K3RzUji/nlTFTLNyCvDM+Q\nLMG5bDyHpIor1Tlgz6x8PG2SnAGYKj/1ugaI8BNdXWfpVsKqaidlhXO5sTH6\nNYRAMQI1n5by+IW2cVBv1FkklM8VxQS+fivyGsdZKMcM7nmmwqyt5ThB1HhV\nCViXeLlGlpppw7kU3vhLAprvet5DvGXqwZrXnqMGoiuA5ydwb0tC3QwgF+55\nYO37o0K5v+1SA/RrqvVuvFy7RBcCo89hHLGX4N4VimwtrM96pkA7opU3lRSc\nnkQ3ULnGa3vSSJsD5vvhqxnLVj+Sv2kuCDKO6eD6eHhBUMnb5hjAG0buHDL8\nNve4msoZr6uGTodXPU43045tYUv+8Lo50jLThCV2Hi8GbWkvfSH6qcqjdFHi\nHbFRaa98Sh1dwDviPUwqP9zjHSd8xDe4Lk7nnUGEMhkbwneyq9qOo1Lpf6gt\nrr7679IEUUSyg+hDBw+76NJ1KbBNnkkiRkpIiPENIFwm4aBJwcWUXx9sut36\nDzKwqeonoq50H+8+Aql/kofjICj2vPfACE+PqkVs0Kv4sCSQrSxCIP96ETss\n3lLF\r\n=TgFq\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCICg9G08w/sVGqEm5aJjfDSuwoHLmHTBHt72m5zByGAFSAiBTsXLC1HTLrRDXoERj+NpXubIrItGkGHFPY/VDWWWJow=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-6_1528944543941_0.041624821123654954"},"_hasShrinkwrap":false,"deprecated":"This package is deprecated, see https://github.com/stylelint/vscode-stylelint/issues/110 for upcoming new release"},"7.0.0-7":{"name":"stylelint-vscode","version":"7.0.0-7","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-jsx":"^0.28.0","stylelint":"^9.3.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^4.2.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","file-url":"^2.0.2","nyc":"^12.0.2","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"276f07b7f577b5a1099533118091c0afbf4da652","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-7","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-jd8WxfElYMZ7TyYEEu2iRU+VazDHA/CU5lj6hczubuQbUhxBY0MMtnk3L3Y7UBzLyYGo4Euwp31iYiIGDCFXRA==","shasum":"7c376796d36718fcbe2515608b1e15c55d88a636","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-7.tgz","fileCount":4,"unpackedSize":10698,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJwX1CRA9TVsSAnZWagAAm7QP/A+lzdQ/eALtrn5L/cF8\nkr+49i9YFhuvx4H9g3kz+xFQV0WQipG7OxPkPwoJ9jItZRcBOTIduGyt4Grb\n0/q1HXw77P178CJ0S6DTiLmUCFDHV+Fdq27HMbep1MlctucWXr2fYwrlHRn0\nVi9MjGqdvg/hdSZ1sQ3zn3iGSPpcs9H0AmKw6G+WbGjAIrZLFt+hd+CTVMxl\nMC2SNYsgUv/ilpVxooRBwhBmjcpuU/YN6f0iDxFQBp8cV5i5pAFjOK7F5ndO\nGqmiH6jvUG1TNmprElCRqyyiaXYutH7F97mHG3rBHn5pb0IWNnCqIPK1549y\n40XnKdGYRk3umKC0Uev22GDRgg+rTvs2S3Ved97TL2Xf92eiiHvMGEXB4nRP\nxCb75faBOfnxtwdfNQVfQYBCXQf2pR4NuF0NOpEvw0kzlqapUOkuix06Itfm\nY+7vIrmL7MZTg2ffSCRsqn1h5olrtSMa3MuZFuRlbsVZmvx5CQO6tQf4cMVZ\nXB/cIdNjJBg9rQvdypXteh+Kd5If4Wsn/wyDfNfDL//n/yTNhXDlw2HeK3J0\nw1pyzShKHmcfPsBn3BCr61Nfl7WYKElA1jQVro76YA1vh2FAJK//QQ8QBTQ/\nAgnykgH7MgIB+lLxoVGTAMzU7nQ4bEusi/0u0qrt5j16Nk3s+VUtMYLJpHSZ\n2Lig\r\n=BLtK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQD7Hau4k7VGTlwKcOhL4Ix/BCGHvipuoFbAzM5gI5RFewIgR/gqkoBi69lskRYhhRKczi/PoS+wjs5zsM3bGju+rmQ="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-7_1529284084599_0.7810702323204957"},"_hasShrinkwrap":false},"7.0.0-8":{"name":"stylelint-vscode","version":"7.0.0-8","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-jsx":"^0.28.0","stylelint":"^9.3.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^4.2.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","file-url":"^2.0.2","nyc":"^12.0.2","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"4eeb7b2c1f97b14bc7e8cb7c2f615fbdf289df1d","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-8","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-E7AfXXixRxnYLmRl4TRqhVqbV1Q2I3c8NSpsw4Us2BhgYofhivJenSDqV6hbcyATkwPI5kMhV83p6blObhKzZQ==","shasum":"75a9854cc658fb618315b1e6802d4f093116b54e","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-8.tgz","fileCount":4,"unpackedSize":11069,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbJysOCRA9TVsSAnZWagAA3tYP/2dPIj5lOjhjUTMmbkaD\ne8kcNMeYLicUoDBbz4+NB0NQTJ97xpYno0czTUY8BVLjddrVq2P/Y4V7yAal\nzvU6ktwSLvGtegaMrSe7H3n3z8ndXX040aMhjRdMVV4qOsRdelZHTzNT1IVS\n3dawakrN5qKC0bAbefqMsVMQNzSC+fDbev2jC48r496Q1VYeIokACPBZ1E1m\n+II4xexGZsVQOnmQWOA09e9s6XLZ5V6ANjCNx8N+JTw9ybEl6xBOZqVtdR+F\nqZdPeTH7et20CsH6P1EDDASCMNHK8MXA7uREDiOnbeVwAL9+cg7qcOlRkhkd\n6VpTSNKGNCQfyZkdv1uw5mkUwP6J/1RJmmLplkA8q3ggvjwSeUmViJGBe/7/\nAUPcJ+iIBpnXb0u026R87aM/yYbpWm/033IRLaubudZ6MpostdfqWC4+J9XO\n0H+9kOJKW1iYavTFP3bwX9EAbPMwaVIDF+6SqIRALloJGHDVhd1bCycLk6rf\nFhJIOYTNH6JJ39bqXFWyQt9vO+4FRj2J0Ii1a5WINXPeoLBayn8YARiP52go\nfHK4RGtFbdfQPcQ7zdHU3pHuCY093vIJVM+fRvFmlWxbF1Wd2xiUnLZoNGcz\nPmcwol7TZt3EznVrynxVGO7BtuS5gldltA5G8O8AJjzKtlX57TZjTQ8Qx6OT\nfdTK\r\n=OoB/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQCOBj6XGxYlQPbAJ1rop7uAkhZbkHc/eQrw6dm43c1SfAIgGD2FWKqyN/YLX4Kg4zxY0blW6o4TsYVnpGTrwVgxmaA="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-8_1529293582075_0.7923269956749783"},"_hasShrinkwrap":false},"7.0.0-9":{"name":"stylelint-vscode","version":"7.0.0-9","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-jsx":"^0.28.0","stylelint":"^9.3.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^4.2.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","file-url":"^2.0.2","nyc":"^12.0.2","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"edeaec9294c62579d43eaeb9488cd429518562e3","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-9","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-nx8uoUPs9Li07dAhyDWmT/yBQ70Uh634nqAzXhVVZBj1+IGDtBBIayOK1IXzB8NEF242Q9jJwUKmDoE7a0XjIw==","shasum":"9bc5eec1582a91fb4ca3bce5bb409fb4f8692e41","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-9.tgz","fileCount":4,"unpackedSize":11095,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKFseCRA9TVsSAnZWagAAuxQP/iTldPtVY/E0W5yOb/Ut\niUHLisk9S8m3MgtaiUfeVJ4M8dwrE9/rOwB/BYIyHtlG3g4ijBy/M6ANiJRW\n0ojxy8RneqbZxOEwYs1oFaPML1pZBh/8sMjI5kUITGjSkkt2pWs7Xa4zkl7G\nHxDvVAKcaW8kbK2uVtNDchmu8+8Q2Pf2d/KybKnNf2TY/2OMFx+19futxLqe\nOobAvcVI/mSY8eEezhC5TMc+0gumDLeN3wZlD7upTzrCmYTNxLMnr3aL0cjS\nPSeLsvrG+0pJ8I5ThQKXF1wyvWR2rcrDg9yUU3hWCLMtK/Ag64tkUbdj/cBc\nJQUkwFy70xMHptSd8YpqPR6+Yc+8cF0xC6s2jP6JBB1811dBOdpAleVjYlJ6\nhnuFkc2aLOM4xXiWGsGI7FoUbHicES6zMTR80UeDd9XdbimTCjVzxeUWQSVD\nT2MGYfNF1l9RWSSQnvCsq3Ek/iwEsLCzcvtChm34zM8kXHVw0z56Scaz1kOu\np9lRkOO7OVAusF1UTEFPd33qD2kL1WbQrbyBqfrK7TCaviaIQMv5K0MOyPh6\ncL/diCV9cykZCNyCLV9UbgkvOoAFLxwjg76t+z5RvyiHTfx5dUE9dMwmw1fS\n/domQPh6ybbIc4ZKs372UrT7a2bWDjRCAyyf5tn5RdWJWdmQC1GNPvNroN8f\nt4PM\r\n=tQLk\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIG7/SP9WYJiD8SnsUvAbhg8kDST07XcR9zirVzfJuG0PAiEAnnS++XPVVAE2Kdz4zll2D7k8lOigY4+TaL6RgWouuzs="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-9_1529371422087_0.4701765305745307"},"_hasShrinkwrap":false},"7.0.0-10":{"name":"stylelint-vscode","version":"7.0.0-10","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint --fix --format=codeframe .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.28.0","postcss-jsx":"^0.28.0","postcss-markdown":"^0.28.0","postcss-syntax":"github:gucong3000/postcss-syntax#5f2b1a92e800ee83eb32b8a060175f5c19b30c59","stylelint":"^9.3.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^4.2.1"},"devDependencies":{"@shinnn/eslint-config-node":"^5.0.0","eslint":"^4.19.1","file-url":"^2.0.2","nyc":"^12.0.2","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"c78453215008adacf404549da4d11d14e1e74262","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-10","_npmVersion":"6.1.0","_nodeVersion":"10.4.1","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-eaunveNhu1GSTZ0ARX98JfiuBATWrXV0QZGQz6VMR32GRJI6C04IMMamNArxFFYyFbaWAovcIkow14eecZFnAw==","shasum":"5bd17a8e357e96237c3ab87c0e70d7b15359914e","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-10.tgz","fileCount":4,"unpackedSize":10479,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbKHkPCRA9TVsSAnZWagAA2y4QAKC4R/cRKpq21ETbMyPb\nyq25Qi/3Jf42MiZA5IqNrjj8IQ85TT4RH0VvCUrzhTlDsJ0d9EEmf1n5S2oD\nFBIYiu5DfzcZI9nvn1lgqFaE2objAfXN77qFlqEVXyTmVNdNTaC1ELZnc11u\n3qNke4na5uP9gnliNpp1TTDhGuZAIlTsILxkiQCaVBsMT2jF8DroTpDzsTxW\nOuLaJ5HuU3aEFGr0cUVbO2kZenG2AnXQptCbNlZESb8Iz75ibIn48zHeiTDq\nmIfcImAns4jRZyHApesHqHfwEWjPrySWAo5FiPq9Mvrt4iCwSDE46PePvGoX\ny+TfFL2QEr1tneijN9vHyqToyeygbrntEfQ/1ZKBrz4EUZzb7OVvlnc9JgFW\nAUPTXr+JxWMTKTAaj9ugAVaaFNJAyEuEm2bHMpk1UxySaKrBvI/+5ultWjbe\n7hefBGvsphc4xLFJ0lpWyaRahWqwi6R5Uluqcxv/O2C2xR+FkOyp/hqlUn1F\nAOPmgs/4A3v7nOHyShfV5uEef0AE4ApCAPtK6/yYPZmIjNe0NWFaKtwYcN2L\n9uKyi1lbRaEZC/UjEdChK2PMxmKmfkznF5qm7rX/fXqPqxsnJ1Rz2Lwe/hJV\n4vUOqXpevTayUVoQTijo79xvHkT7wu0dW5gAYx/hpJSOHjZy6NimkMbz7rqS\nhzBq\r\n=6YUD\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDNI/d/6o0RZg0EJYjrBgTJ23Nlrc4sIEpT4h4xRgtCEwIhAIo5QCoZ/06glgL9ZllITLf1cPLcfUiJVj5pDVywH0fL"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-10_1529379086793_0.6694110715348931"},"_hasShrinkwrap":false},"7.0.0-11":{"name":"stylelint-vscode","version":"7.0.0-11","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.31.0","postcss-jsx":"^0.31.0","postcss-markdown":"^0.31.0","postcss-syntax":"^0.31.0","stylelint":"^9.4.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^4.4.0"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.2.0","file-url":"^2.0.2","nyc":"^12.0.2","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.1","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node","rules":{"prefer-object-spread":"off"}},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"1425eea8a943ea4d2ec5a6dbdfe8a507c8acdd86","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-11","_npmVersion":"6.2.0","_nodeVersion":"10.7.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-3DkfOXtk/ApBY5xxRWd488mItzm1Qw2xENp5ysVkmtNfPyDzWkYHDn6Eq6AJ2+tZR+/RTYyPp3uuyWB8uwACuQ==","shasum":"7b18cdafd062160155788d514a0c448da13c3afc","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-11.tgz","fileCount":4,"unpackedSize":10438,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbWTXjCRA9TVsSAnZWagAAcWwQAKCvllI2cDHg9jzCKH+1\nvbfbyYVRKtk6TbpUJMLYeSWDpyZDHa55MevrR0eI739EP7XJKNxv+NxH0wXI\nTIBERInvvkEv2V1pt9L88i8yRsb5C6+Oyl4YaBP1TdefO+S8zC44FR/XJI6+\n373KqCs3VnCJucCKu/DAJ8GlurvvdIBR2n7Ofq8D8adI69g1HFrV/VIPJwwb\nlhwNUlR8FvhTv8+J1ymPk8X5nR05IXn9WeLTHhZTSgKHOn0YETucTVSad8Ui\n5v8wRj7HFiP0eyRrlbv8VrmyqeYC7NDw9/zkyLaTNrInPJNYi1un+7OhPHAf\nt0z5cKqALcBm7ItN0PvkpcgbBpgrD2s0V1lsn+t7n1xmhx8uvOKRveDoZGGQ\n05ZlD5JrJIiXVfdvtEFOWLRMnLMMl5W1Yr1kNq7SGjdo4M/HGT4W7sRm3vJ0\nDhU5p4EVYeanF9kOrD7kBS5047r9FAeqa1UrUehbXWXw4iOFmHqW7k0RRWuE\nOrzCb2VcLn7rM16t8UzuNRRnMeSbr9ZRvKxlTVPte9WWfQFfHLDygFFYoMQ7\n6TAxiJEuymxsk6JJF/PHxU9sfB9cFo/2QvVBkNyspm3GfUQFedyhM8ClLXz3\nCuLRw8eFAONZrNneSKGY33JGcdvbaUZ5nJt8AVDhXwB93uI/ouSKGjlvbuAV\nVBEz\r\n=szfT\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCICFSFsLgDhr2gth0gRJSk5jh5XVG9GrfIg86zZoFTRdnAiEAyOfjOC6ccdqkSijZDbm92SUlokbFgMpaZq8HsytztR8="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-11_1532573155422_0.6810647364564482"},"_hasShrinkwrap":false},"7.0.0-12":{"name":"stylelint-vscode","version":"7.0.0-12","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.31.0","postcss-jsx":"^0.31.0","postcss-markdown":"^0.31.0","postcss-styled":"^0.31.0","postcss-syntax":"^0.31.0","stylelint":"^9.4.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.0"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.3.0","file-url":"^2.0.2","nyc":"^13.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.2","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node","rules":{"prefer-object-spread":"off"}},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"6a23ada40c390a6b372cd6b10ec1e27b1589575a","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-12","_npmVersion":"6.3.0","_nodeVersion":"10.8.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-Y27AytcnTVPAke3G7RdG7RvCDH8oXmH8a75xOG1CQKwCx1aBsk8Q0EX2Wll/ZZQ9aYTnv0Z50S/CEEqwm6FxcQ==","shasum":"9907708196f42276ca3e73f7e76dd88c7324d0a2","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-12.tgz","fileCount":4,"unpackedSize":10469,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdN6kCRA9TVsSAnZWagAAzeUP/0P7kpeaKwEvi/umZJDS\nhuRtjuXzpbwTlSY4t3u67u4XgM3hzEtHK/zwG9HKXmMMMRNslfYtXMCLal2O\n9Hp7i28mTzU7U/5uhvJYMaI3zvSnAtBTXCKrqXRcXRta9gMXqszNjoPo8GSd\nhxhPYj34ISL02BcZ/Ty1Iitv7BKFwx4aNp9yXb9CIIGrqW+sHfAObZ0Y2v+F\nG32f51QKmnUPKgf6aC4nGnMupAWk2jCaj4fUtdQm5+j9Pz2n1d0wpDU6CoS3\nnc3TiuEMKhJX9uhAjS/TwKepU/hqOkbprHo+9+4LnUWVZWP8f04jW4ra15iH\nmcv3tbY2E+R3rNkoXJquozbXB7NKN3nHM9FID4S8A6n5HLiau7NK7ywjFbdo\nu4syqpunec6zmUHpLs7TNUMUFEUegswviNmSYeqmQWI2vOUCknTCSKHxfsay\nyp5xoPPLt/Y4tnlEYkLxdZKE8jKzrISFP2duoRTiLFOcyCzjabqWaZUTNV5/\nLe2AndDS3m4DLP8D6Zkg/TnLfUs5c2qalBKUxhBQRgzh1lqIMalHKVtfmfkC\nohvrcOHU6cpptHGH70brgbZ5myI2pBkJ5AS5MGknxsTTB7fG9UCeJEbNIOYd\nqgjnr/U0Vatviu8ldF4U+MSuM6h1anH2gI3+ZZiUqj522gOpwzNw0TudHA05\nuzES\r\n=MG4U\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDwSWoMLWUsUkadyylopeqrXvDBJaCN0t3+BicGeMMQswIhAPP9y8wSV88WO2KPC33p+K0pRVSPkESZD4kNfgqDZyr5"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-12_1534385827615_0.09047469599852342"},"_hasShrinkwrap":false},"7.0.0-13":{"name":"stylelint-vscode","version":"7.0.0-13","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.31.0","postcss-jsx":"^0.31.0","postcss-markdown":"^0.31.0","postcss-styled":"^0.31.0","postcss-syntax":"^0.31.0","stylelint":"^9.4.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.0"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.3.0","file-url":"^2.0.2","nyc":"^13.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.2","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"e2a6451d73778c5628a3031225c76461173656b6","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-13","_npmVersion":"6.3.0","_nodeVersion":"10.8.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-fG9+ESWYRehad54QAyFwO6AVA8QxJ896vRYnXRAv1cxoekz/Gtd96ndf3T1FQXAHLaP1dihz8X3DvmRgMLNNTw==","shasum":"fe57dfbbb317c5abfba2ef92ce96e9efb1d5d111","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-13.tgz","fileCount":4,"unpackedSize":10402,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbdN+bCRA9TVsSAnZWagAAk1cP/i+960hQhHsd5Gv1138/\nsOrdp64ecLUneFGJ2m18tp66XS4Ctn4VR/aRFKwKK3O3CqytJZOSv1FaFqMj\nbyLS0WgnaraUE5n38wE8IQQfEB9vtR7fafxXhuAZ9nh8ngCgcaTF8Ho0QAhY\nGtl/6SD9TBhg0FR+bl+J56qPw2kkiPO9v25GkNh6SWUcZKoPuUwznCEbvDoY\nVaT1hdJlChjGgkE44JXVw6faUCucmsWC+5EWnJXZmxhaHqQzaJmdvyb9bH5F\nO0yH9xaPwkUP/OfWxOBPpkSv7j/VdpdRaEnaZF75yJ/bKcqz8zJn/aChx/rl\nWgKLV60cWgscTadJN/Sa5wMhsHCFHy77ASR8tobQtZVSE4vYxpVYBEh1PKdX\nqb6Cnp+9s4EqjSQ0SQp/MyvIT55Fv2e3SYW9kBDHJlUu7bfl1EbvWSTLwn2q\nElFkBNr1H8Z6dcp0GmpokI6ssj6DPucln8A0huArII7X1buvpTm1i/JglH2M\n9i+CFKUzsohb50ObTBxkrPlto7cs/41yL5JqsLuoy147v0EIdvtK2obh2U6P\nkdX29gLOEdTZzijCcRkGPgKiJOVFiO9YcboQ11Y8f8vGwjTBGx3fZbQ6xyUe\nD7ZseRtnzMevpg5WtRYigNvJBmkXKQ5dW9y9N0lqkhlItnyidEQrXLIKOiQD\npuE5\r\n=1SIO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIEih9U/s+YqMUkgjIvkD04vwonAe3i/37BEXSSMU/kj7AiB8xUEiRbSJugXgkXWIRbV18OVJWAWzmGco5sOBUOPNQA=="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-13_1534386075440_0.6131383393589707"},"_hasShrinkwrap":false},"7.0.0-14":{"name":"stylelint-vscode","version":"7.0.0-14","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.33.0","postcss-jsx":"^0.33.0","postcss-markdown":"^0.33.0","postcss-syntax":"^0.33.0","stylelint":"^9.5.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.3"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.4.0","file-url":"^2.0.2","nyc":"^13.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.2","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"c816ca17522cd7e52b1e9715f73e96987d9e5518","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-14","_npmVersion":"6.4.0","_nodeVersion":"10.9.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-Gw5LyifPjvJmh5SMj7ew5EY5JSi9sHjtx+Dh0EzY0j+00/BkOYVh4YxAGmjp0k5ZOHJwEV4TE2uWbTqcx6snRA==","shasum":"aea6dc899a5b1a105d6e6530e32f0a19b25b5590","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-14.tgz","fileCount":4,"unpackedSize":10371,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbehSnCRA9TVsSAnZWagAAoN8P/irZTRf4qNoyJih4AekF\ne1hDCitgRoR0obEVywa0HCrQWHFtWk/o1Hkg2ECT/RCJA5fV5u+P1Ei6ieLq\nd0DwAIMxXAvZ++u8B9r/brmZOt3VuIrZ/Bzyai3uyeBBVo+yDDStwX44rvat\nDtDnN7fs7ObGkCd+Ra9h0X2xAmWWLEVev2UcX21z8gPu5cViBSFTnaaN0WE7\nQL+tsa4nmPdgibz2DEapMMsFkAhYuinztD0PZX4o6HRIn2cDxIQWSkJDAJhN\nENd3EJVNS/1caMsBXnCW1aNM3WCCnBVuCiQfyV3Yusf2BntMVvNY7KW65fAv\n+AfHdrhTk4In+XE/mEmRByi21gxspwCgeKutBOrfGrsq0ulZwhfbYI0iKG6C\nxzLAKI5q8kepq6fv5tEnRkUhr2ao/+EPKyUtbsqLsDEVwkAP5lGdxkCzmikR\nXW1HR0d702TEG56hOP4UrTbC0GnOkGBH+ghvBHN0vkNfUKxKqHROwYpPmGpJ\nBF4cIm/iKkxzz+1AJWpDwFTqywleoqU8d2yV/dntj422qBKs0qsuH30eaxQd\nQHmqJSMlqVbw9xXb/zEvNmZQ53IPkHVvjMhm3JZCAMjJwURVF8zEi8yabZPZ\nPQ617yQoAmYw1SMgLHWADt105poVGNr50HMAUAzSH0wCYUTPKYN8EDY3CpPQ\no/vF\r\n=fIHx\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDeopVN+W2ZrrogW4eWugZnon1hdVOXP+80asDCKkqI1QIgCGudfGIcpqfTSXfs6/B5USNJ56EEW/icxHJaZgxHtV8="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-14_1534727335002_0.33424670394238265"},"_hasShrinkwrap":false},"7.0.0-15":{"name":"stylelint-vscode","version":"7.0.0-15","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.33.0","postcss-jsx":"^0.33.0","postcss-markdown":"^0.33.0","postcss-syntax":"^0.33.0","stylelint":"^9.5.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.3"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.4.0","file-url":"^2.0.2","nyc":"^13.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.2","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) option is not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"5d85038c1a384f6be8ce6a9945a61d34429178cb","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-15","_npmVersion":"6.4.0","_nodeVersion":"10.9.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-fTfkq4m7isIBHNaJGF9nPrK221BLu8l8HTXYrpm5SDq3xQqeB2kCBRKAztDpbN4pmXs84yVmOn9WE13zKSM1Iw==","shasum":"97eb9ff33ea08599157e24729d63bbd9a51c474c","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-15.tgz","fileCount":4,"unpackedSize":10498,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbe8olCRA9TVsSAnZWagAAwb4P/34C3RoSE3MBHD61SB6o\n9hMVjnGEKmyP4VKVFL21i6Hgi7PjZzl0w73TGMzxrr8WvZCgftgNeAdIUg5n\nqQ+QW7zWS9CrbbECH4oFg3BIAB3MWgSZvJuLtl60uyilR4euxXKOaANdUp00\nsXd4hiMsdhRmvgI5xnYipc1oZCwc4whbm2tjq45bziaCBCchw4yW++4XHA1O\njK4mFFhv2Y0gVzRAU6C6CoHm/JRmwgiYDJwRRRw71+jyJdeTjNtabKYGqJBC\n3IxqFCqcgC/jBFV+GRKVQeKl88sZdOp2CBqgSLu1frXbNVuuR3JdAGrDJpXU\niWLKi2XuhXS3Bk0tvbPPtV58L70fC5/EOizwQHunsND5KEWZoL/1URG79kut\nZeDDGLOmrqpW+H9HUeQEHuaxsv05MhOKNXBJN5DqyucN4oqiYftCt7lECmEZ\nnqx+mAjbePmC8OHYhDF8REuUgwBtBXIP7y6UbzvwH8f+lfmnKNTH8Ql5nseq\nqKDtaqigDNYjtjNFK2swIoF3xMR7gxI/raA8/1Z5EpLzIkz6hztKpUBFp8yF\nShEscfLufyMSCV+bHKRqZ9Ury5f1WTyDv7T/nthAhOF8cAqllofWtRLlcnAT\nuBZjf0CxJZ6zbW/Mvw/cIQ9mVMZUALNfFlKlGq2LNB7ralwlKZd2Ccr5++ER\nQ8lZ\r\n=x5aO\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQDENRTNP8q4UsWWbhhijcBMQ9sJxPCUh6CTpm0f9w0DbAIhAN0r5qeOwmWaJbGCz4trcyJOGHB337ZwAhhyVhLSpVGc"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-15_1534839333303_0.5459095156879246"},"_hasShrinkwrap":false},"7.0.0-16":{"name":"stylelint-vscode","version":"7.0.0-16","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","files":["index.js"],"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"@babel/core":"7.0.0-rc.1","array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.33.0","postcss-jsx":"^0.33.0","postcss-markdown":"^0.33.0","postcss-syntax":"^0.33.0","stylelint":"^9.5.0","stylelint-formatter-simplest":"^1.0.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.3"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.4.0","file-url":"^2.0.2","nyc":"^13.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.2","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) and [`formatter`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#formatter) options are not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"53930e01029e687ef9e9bc3925cb8416beca2d9e","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-16","_npmVersion":"6.4.0","_nodeVersion":"10.9.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-Sl1BIETaslyLt90hVyMmpJiQi4PNHajYsQTT8vuhcepcsqUaBGOn4oX2TgquOBkrhsWuAovCD/baIWErW+nYZw==","shasum":"570face29e38c0dfe1a9727a0b373a37777ed127","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-16.tgz","fileCount":4,"unpackedSize":10674,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbfNeECRA9TVsSAnZWagAAY+UP/12525f+SLLRxRPP7eHK\nye0scWfSX3PWr5BHQGUqNc81itbidu6eTfoIx6rZu3T1xZjPaDYDLnHlLN4A\nm/sgbG5XocONneqZsxU/xc0kEjn0G5Z8BweM5ODSApCf2Ak7LoZsiJVvwpIh\nha6SE3qEh31kAaNfhYTTEDRSn2H7Re9dkjjBLQNd7sHbpjIO4RhGshiA0jFg\n59JXZZXiIozMlO5zqspy89yxkzkd7UHJ3TbJgVFvoum0yJWbiwt6FduffShX\njaj+MATE1YkvdT6Cd1Oo5lWelqQexu4gJYwuxa7EfQUImhz825rpHkLAFueP\nGIio4sBOMyWNYKqaIKSeZlWvYmxotI6NLDpfaOFy38KtH2IyTjdapZsiKbYK\nehTv9vG1cJ1fgjBXHg4a2kNzefx4iapux+9L5qU7vjVNwxCdbUoZV4WNxirE\nrIZHMbQ4Hdx4B0MYbUofvUt3Gc061TOkvdFgTXHGcAd+4wYO9/3LMbIiuK48\nnEEKLKdYynJ7ZFH0KwIWGuFMrgHoyYGy4Y1DQdVo98M2t3RGtA61YqXEsChM\ngHQq5KxKAVzdTfap57WDCtNtbQWWybp1+GLiGdIqufCwEvurffgCjsrcqycK\n8MtFoUmA5yGPaIWshKfTioiNhseS+ocpdxY8IW31BeJJ1JQZmF2dpGWjoTv+\nWOI9\r\n=SaCF\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIQDKLS2QrMFYFwk8hj625GskqLNkwoD53dhiDEGnt0MjQgIgNNpjyD69hzsamOzm09cYKQPCODipaUYQgGkzGDmhvvY="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-16_1534908292012_0.22786646673501587"},"_hasShrinkwrap":false},"7.0.0-17":{"name":"stylelint-vscode","version":"7.0.0-17","description":"stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"scripts":{"pretest":"eslint .","test":"nyc --reporter=html --reporter=text node test/test.js"},"license":"ISC","keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"@babel/core":"7.0.0-rc.1","array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.4","lodash":"^4.17.10","postcss-html":"^0.33.0","postcss-jsx":"^0.33.0","postcss-markdown":"^0.33.0","postcss-syntax":"^0.33.0","stylelint":"^9.5.0","stylelint-formatter-simplest":"^1.0.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.3"},"devDependencies":{"@shinnn/eslint-config-node":"^6.0.0","eslint":"^5.4.0","file-url":"^2.0.2","nyc":"^13.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.3.2","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn/node"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Build status](https://ci.appveyor.com/api/projects/status/ncmsp5lp5gke8mci/branch/master?svg=true)](https://ci.appveyor.com/project/ShinnosukeWatanabe/stylelint-vscode/branch/master)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\n[stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.2.1/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/4.0.0/types/src/main.ts#L181-L208) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) and [`formatter`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#formatter) options are not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"44216d64628aa65dc7724d00d2742f4b697c0211","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-17","_npmVersion":"6.4.1","_nodeVersion":"10.10.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-xaOzim99Yf1HRihrSXCLIxLWTDkwNVdKp6qvUwiPYK4XdR0oogDAGex7RsTETJmlYVk0OEQK1eVeO0VPhmT1Ug==","shasum":"3f0d8e7047df61bbf55fecb17ee06d56fa8f1fcd","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-17.tgz","fileCount":4,"unpackedSize":10695,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbkibTCRA9TVsSAnZWagAAjvEQAIOSMQNguI4341g8qaLW\nCBJdVUFVkFweIhSEEXZopqMmaJlu4LZeacQ3aiZlbLhUDwp8v180zXYw8qc/\nXXyC8nIaOksthwABM4J30ubNEWxs0855begFOgtYzfsmWliiaVdGZX86xolB\nwvkcWXlAxeezkqh4cCuiL+XQ2uMzN+6A7QTJpBu7BYf8q/uzlSNmAMnCEcfL\n2pC3B6xq7o5cQDVcD5EnLmVIJWCbcc1lTbrXQJOaL/Ud7NBqaq7fy7n5oAi6\nKI3RWGtTwjQCezlIRqlLtNqaNPKKHMLbdWy/1UcZRZOSTNXEPclQj1duuNkc\nHRHTFdBXUCMQboEz4s9Iub1PJBoOBcs4+dh2lVRYsOP/QRH2H/MiVY9G4I0w\nJrEYbubIeRou8pwXNa9GasMM96iJIdX4XSDvmhK96r9so1yGp4UXJ4WUqqo2\nFuq/EsqR84W9GK3LRrqTauwyjVCq29G++ICd2lYNaYK4b7PcK6CUgU5S77we\nyqwpjr1T+67uiicuHw8ffV02I3SBpxa/YnWS7o24VIN/0I5yJP0Halv7qIvC\n/x3WWJJ3/AdFC50Y6hkTMszvqZxCO7M7J4R4p2hybkUXh6hV1qat4OxeXTef\nyFZFKAgfHvSP8w3oapJLShm9Ef9aCiNq7yaTI1iM92sOv27uXkciIyk6ev3e\n8xfV\r\n=fxmK\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEUCIB/Bq0Bx0YqSfPFsZI/DWao2lLZtK3uCT7vNrSmdemPeAiEAsDldlRGLH6gnlzGDrJw4BhqL+C0YlFRcrq8hTcfP5dI="}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-17_1536304850857_0.5279986490357382"},"_hasShrinkwrap":false},"7.0.0-18":{"name":"stylelint-vscode","version":"7.0.0-18","description":"A stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"license":"ISC","scripts":{"pretest":"eslint .","test":"nyc node test/test.js"},"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.5","lodash":"^4.17.11","postcss-html":"^0.34.0","postcss-jsx":"^0.34.0","postcss-markdown":"^0.34.0","postcss-syntax":"^0.34.0","stylelint":"^9.6.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.3"},"devDependencies":{"@shinnn/eslint-config":"^6.7.2","eslint":"^5.7.0","nyc":"^13.0.1","nyc-config-common":"^1.0.0","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.5.0","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn"},"nyc":{"extends":"nyc-config-common"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\nA [stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.6.0/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/types/3.13.0/types/src/main.ts#L452-L485) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) and [`formatter`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#formatter) options are not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"92caae7876c599d573ab82dbe03ab391b15d74a3","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-18","_npmVersion":"6.4.1","_nodeVersion":"10.12.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"integrity":"sha512-7lik4IOwFwOvIXnQqHNYs0wCBMCsokFSmGvnIEXDlihT8kWMSF5reyhEBtkBnVY08JyghrsDGsdQBKKUlpKnIg==","shasum":"668def235f300fc3e21574ac1efeab6665aaba92","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-18.tgz","fileCount":4,"unpackedSize":10444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJbwcl0CRA9TVsSAnZWagAA1PAQAITwoubh/RGXycPy6WBF\n6sCWH52e893AaQk+W/TV+DL9SSd1KCH4MnvjEQ7Lnw280oijQiJITRw3z234\nPHA4FprbE2+AkxQIUQ91PSAReTLugIaKvyeqeWKIN6GuYGqY+tmL2zVkAEty\nR0bOnaq2eTmcufi32fFlgFe4mExDWeBztJuGLgvMa/6piRg/VBOcOYXLTZGH\nDYWw0P2ceM6GkapoCcsU2M2L4DJX07MJbtDRoba9KlK8W4Nk8sQNVLgzSkYd\nsUtt4mW3ElyG71wqafU4deI/D+bbogTVGmgal6Up/EMVAc5WD224ufj+PHWi\nORHeLYfIN1du7XrTrJf8n/BWQthxYntH7plAfa0eVo+mW3l9Kt7r1E4k+KTc\nra9SGwlvnKwjY9S2h/cgq43gdSTVawqM96ZGG+TE2k4/mW/PHqcBi9sN0uf8\nKHOTvgiakJZfIicK+Noe5KiPq3nhgcE0OvVpJynssamFudOOckBg99tzJx5Z\noOj4tfnXh48EO6tUqG//xA6gY4mOHcpTVS8Lx3smOR9eCdDo9eknp1NuMrJ1\nLuVRhiPzYeHL9YG2FyrXgt0QJbOJCv8rOARRRA0+VXLaJcaoB4xOD3dzVq5w\nFTm2mjSc34TOH30/V+pnBBJxEm35t58oPmwo5Vp41yqajQJyHmf7VHNcIbja\nO2Hp\r\n=0m1A\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCH0KuZObSw7c3OUl/S9+r9Di3+2XZ+yD5ddRxeoNrEGoCIQCKaPPj5b43JWyy0JXsmwM//p3JpliINVHg5qtHHYOvRw=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-18_1539426675633_0.509375270560025"},"_hasShrinkwrap":false},"7.0.0-19":{"name":"stylelint-vscode","version":"7.0.0-19","description":"A stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"license":"ISC","scripts":{"pretest":"eslint .","test":"nyc node test/test.js"},"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.5","lodash":"^4.17.11","postcss-html":"^0.34.0","postcss-jsx":"^0.35.0","postcss-markdown":"^0.34.0","postcss-syntax":"^0.34.0","stylelint":"^9.7.0","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.0.3"},"devDependencies":{"@shinnn/eslint-config":"^6.8.0","eslint":"^5.8.0","nyc":"^13.1.0","nyc-config-common":"^1.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.5.0","tape":"^4.9.1"},"eslintConfig":{"extends":"@shinnn"},"nyc":{"extends":"nyc-config-common"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.org/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.org/shinnn/stylelint-vscode)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\nA [stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.6.0/lib/index.js#L30), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/types/3.13.0/types/src/main.ts#L452-L485) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) and [`formatter`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#formatter) options are not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"eb62ccd8626ccd63f97d1bffb1f8ebd70b6f521d","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-19","_npmVersion":"6.4.1","_nodeVersion":"11.0.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"dist":{"integrity":"sha512-hVdNzTAbA3MhvRJLVxQmFBXB/k4LqKm8IVH9XyzQW/kMjnq0DmV975EipercbsprJMe0cY0X/dE9oUhTnVVi1w==","shasum":"001354586e34b93074ecfc7d37d27b226fb94ed2","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-19.tgz","fileCount":4,"unpackedSize":10444,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJb1rjTCRA9TVsSAnZWagAAPK8P/24QngXPz8wxDrjwXmX/\n/aU0EgpCkamThawtVSGWPk/erueMGZM728j6ZK0nAa8VwPw5BMP9+DGtwZUH\nX4QTpMopSjrz48S0EnstTzQX6ylWfdDuM+7f60dd4QeOeItX02S9gXOthZZD\nXMyICWpihs0K0UuWmsUIvkDIdROjj+PtN5yryxZ/Ym1CvrT9FbLrL9gUptRz\n7l5q5YSotPBHY0FMn3LWrUV/nJNObodRLsomkVFv9J6yW/vYy3XcMMWTg9xG\noc3SQts0t4pmKgSKsacq0Ml/tMRvsUh7lfwurhCkNPY/txUBYouSDZX4oNbw\ntxK9yKIeT5HtcHcFoODzdSKR+Tafu0g3Tk/axzWwvbuesxssgwurFN9+K1U1\nJ3oZjCDhu3hRlhQRKTAvHfpCeIhFOYF3ysctf+oL3XClrCk8m3WxBRpcOZuT\nLuwMeK0Ccr+PP93zopsbMXyzJeu9hMwotixUdgWn5+xYVcTQudwhHI3/Ok7A\nywTVMwkAUawxj6bM/qN2itZUGQJqyi/pEQN6wmj16qHtfZDSg9f8FbQxBlf+\nWs57zhBk1GrPRhcqYCUgJnBzC9TqFS+IIDH74MI9h9/MucNh20x9R4rzJKXz\n4wCkhAF14grGZQcDGwEf1ZVl5WHKnxApfJT+GYA+OYZtKvZZAjL4vY9MLiue\nlSul\r\n=077v\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEYCIQD7AYt7X9of2xn2oVzPNz1j+DHf2bWWi+A+kFm6TuepLQIhAJeMJ6HRxIY0HIIjIPqK7Rq0NKAnxo2w36VJDcNjJshz"}]},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-19_1540798674261_0.18735280709056057"},"_hasShrinkwrap":false},"7.0.0-20":{"name":"stylelint-vscode","version":"7.0.0-20","description":"A stylelint wrapper to easily integrate with Visual Studio Code","repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"license":"ISC","scripts":{"pretest":"eslint .","test":"nyc node test/test.js"},"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.5","lodash":"^4.17.11","stylelint":"^9.10.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.2.1"},"devDependencies":{"@shinnn/eslint-config":"^6.8.9","eslint":"^5.12.1","nyc":"^13.1.0","nyc-config-common":"^1.0.1","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.5.2","tape":"^4.9.2"},"eslintConfig":{"extends":"@shinnn"},"nyc":{"extends":"nyc-config-common"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.com/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.com/shinnn/stylelint-vscode)\n[![Coverage Status](https://img.shields.io/coveralls/shinnn/stylelint-vscode.svg)](https://coveralls.io/github/shinnn/stylelint-vscode)\n\nA [stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-node-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/9.10.1/lib/index.js#L31), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/types/3.14/types/src/main.ts#L508-L546) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) and [`formatter`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#formatter) options are not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 - 2019 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"fa03b9e3f1017286cdc30deb1593ac155d0407f4","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-20","_nodeVersion":"11.6.0","_npmVersion":"6.7.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"integrity":"sha512-bZu3qhC5FgoZZhiuM1az4Nh/uXC9SjHHWgHvM+x4GYDiboe1nwejfsbj5RUS9wZNEZSFg2RatfGIKm3ksWwamQ==","shasum":"1c6f1c67f1ea4edb3d82e6258cd33bbccba007c4","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-20.tgz","fileCount":4,"unpackedSize":10415,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcTHRBCRA9TVsSAnZWagAAMdcP+wXZNXDenwpsp6QJp7TO\nl94J3Jc8MDBIqi/HLvr4UmYQu6D3ssqPE4m56KjZ9V2CqeFrb94MDVctVzyv\nELnrCYJpAq95BITfB+O5U52VmQNpnRVKwDz7je0F4VMA0m+6BKWWE5uf8R7S\nZ2Z+zlAPL19xgKN5YEKlsWLo6h+3jCYe6cWft8fjoM4jSBiyGpaBWSeS5R1L\njbQUamb+DlNHqEGkQwXVXgATRZtVSm/hWc1oQchXg0Ag4qYgkD4okSN0jMa4\nO0PnpOWv+tqQlcbgJNO7h07cmY7WndKVnQT34yU6Cl/GbfrGQDqJO0Kun0o5\nkx7jf0Z/TLP4udxf+q5jZCo6cSDDDvhGlBPLqq8eFALQIiBMGx3lSgOBDDMQ\nzJ3gOSAKaHjSmn/ohHLjWDjpLMTLzIpKezVfBrQLrnB7Lru1AMJJx96tSmuw\na/ioyeDURvVZu0w0vEoq5t5f0JDAfCXUuJAS5SvE/NuMI5UYvha18TVVoPq3\nvkxpr94fpZWHpfmqqfPXX/O4EK5vxy10UKXODA6eTX/pnzQstZqNZARgohu6\ngst7C09D6m4luFmCmY0t12SLPJRdAOCkMu4Ag45CiAub0nfvQ+mB5bBRvwrK\nDdZExpE+2LJMApIPf2iInbzBPuk/3z+a+SYNedRafZD5KYOggb0U0GEbkrfm\nCKUw\r\n=EqP/\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIFEw34ZvRLvUjEhoJPftnT2NgwfzottNW7UDugkMEnCvAiAZSNd+dTfjTO7vVsEPbSXFvBzBMxVnO84W62m3X1OT4Q=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-20_1548514368572_0.4280994111372314"},"_hasShrinkwrap":false},"7.0.0-21":{"name":"stylelint-vscode","version":"7.0.0-21","description":"A stylelint wrapper to easily integrate with Visual Studio Code","author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"license":"ISC","scripts":{"pretest":"eslint .","test":"coverage test/test.js"},"keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"dependencies":{"array-to-error":"^1.1.1","array-to-sentence":"^2.0.0","inspect-with-kind":"^1.0.5","lodash":"^4.17.11","stylelint":"^10.0.1","stylelint-warning-to-vscode-diagnostic":"^1.0.1","vscode-languageserver":"^5.2.1"},"devDependencies":{"@shinnn/eslint-config":"^6.10.2","coverage":"^0.1.5","eslint":"^5.16.0","stylelint-processor-glamorous":"^0.3.0","stylelint-processor-styled-components":"^1.6.0","tape":"^4.10.1"},"eslintConfig":{"extends":"@shinnn"},"readme":"# stylelint-vscode\n\n[![npm version](https://img.shields.io/npm/v/stylelint-vscode.svg)](https://www.npmjs.com/package/stylelint-vscode)\n[![Build Status](https://travis-ci.com/shinnn/stylelint-vscode.svg?branch=master)](https://travis-ci.com/shinnn/stylelint-vscode)\n[![codecov](https://codecov.io/gh/shinnn/stylelint-vscode/branch/master/graph/badge.svg)](https://codecov.io/gh/shinnn/stylelint-vscode)\n\nA [stylelint](https://github.com/stylelint/stylelint) wrapper to easily integrate with [Visual Studio Code](https://code.visualstudio.com/) [language server](https://github.com/Microsoft/vscode-languageserver-node)\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\nconst {TextDocument} = require('vscode-languageserver-types');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/0.css', 'css', 1, `\np {\n  line-height: .8;\n  color: red;\n}`), {\n    code,\n    config: {\n      rules: {\n        'number-leading-zero': 'always',\n        'color-named': ['never', {severity: 'warning'}]\n      }\n    }\n  }); /* => [{\n    range: {\n      start: {line: 2, character: 14},\n      end: {line: 2, character: 14}\n    },\n    message: 'Expected a leading zero (number-leading-zero)',\n    severity: 1,\n    code: 'number-leading-zero',\n    source: 'stylelint'\n  }, {\n    range: {\n      start: {line: 3, character: 9},\n      end: {line: 3, character: 9}\n    },\n    message: 'Unexpected named color \"red\" (color-no-named)',\n    severity: 2,\n    code: 'color-no-named',\n    source: 'stylelint'\n  }] */\n})();\n```\n\n## Installation\n\n[Use](https://docs.npmjs.com/cli/install) [npm](https://docs.npmjs.com/getting-started/what-is-npm).\n\n```\nnpm install stylelint-vscode\n```\n\n## API\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n```\n\n### stylelintVSCode(*textDocument* [, *options*])\n\n*textDocument*: [`TextDocument`](https://code.visualstudio.com/docs/extensionAPI/vscode-api#TextDocument)  \n*options*: `Object` (directly passed to [`stylelint.lint`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#the-stylelint-nodejs-api))  \nReturn: `Promise<Array<Object>>`\n\nIt works like [`stylelint.lint()`](https://github.com/stylelint/stylelint/blob/10.0.1/lib/index.js#L31), except for:\n\n* [`code`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#code) and [`codeFilename`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#codefilename) option values are derived from a `TextDocument` passed to the first argument.\n* It will be resolved with an `Array` of [VS Code `Diagnostic`](https://github.com/Microsoft/vscode-languageserver-node/blob/release/types/3.14/types/src/main.ts#L508-L546) instances.\n* It will be *rejected* (not resolved) when it takes invalid configs.\n  * In this case, it joins config errors into a single error object by using [array-to-error](https://github.com/shinnn/array-to-error).\n* It suppresses `No configuration found` error.\n  * Doing nothing when there is no configuration is a common behavior of editor plugins.\n* [`files`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#files) and [`formatter`](https://github.com/stylelint/stylelint/blob/master/docs/user-guide/node-api.md#formatter) options are not supported.\n\n```javascript\nconst stylelintVSCode = require('stylelint-vscode');\n\n(async () => {\n  await stylelintVSCode(TextDocument.create('file:///Users/me/1.css', 'css', 1, '{foo}')); /*=> [{\n    range: {\n      start: {line: 0, character: 1},\n      end: {line: 0, character: 1}\n    },\n    message: 'Unknown word (CssSyntaxError)',\n    severity: 1,\n    code: 'CssSyntaxError',\n    source: 'stylelint'\n  }] */\n});\n```\n\n```javascript\n(async () => {\n  try {\n    await stylelintVSCode(TextDocument.create('file:///Users/me/2.css', 'css', 1, 'a {}'), {\n      config: {\n        rules: {\n          indentation: 2,\n          'function-comma-space-before': 'foo'\n        }\n      }\n    });\n  } catch (err) {\n    err.name;\n    //=> 'SyntaxError'\n\n    err.message;\n    //=> 'Expected option value for rule \"indentation\"\\nInvalid option value \"foo\" for rule \"function-comma-space-before\"'\n\n    err.reasons;\n    /* =>\n      [\n        'Expected option value for rule \"indentation\"',\n        'Invalid option value \"foo\" for rule \"function-comma-space-before\"'\n      ]\n    */\n  }\n})();\n```\n\n## Related project\n\n* [vscode-stylelint](https://github.com/shinnn/vscode-stylelint) — A VS Code extension powered by this module\n\n## License\n\n[ISC License](./LICENSE) © 2018 - 2019 Shinnosuke Watanabe\n","readmeFilename":"README.md","gitHead":"41367fe8ebac672e1ca10630a7d5a1410e2a621c","bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","_id":"stylelint-vscode@7.0.0-21","_nodeVersion":"11.14.0","_npmVersion":"6.9.0","_npmUser":{"name":"shinnn","email":"snnskwtnb@gmail.com"},"maintainers":[{"name":"shinnn","email":"snnskwtnb@gmail.com"}],"dist":{"integrity":"sha512-M7tnqBendVqPAAR3CWSJswMRV6/ZRypW3iQz4S4gxUTkmrBS/+8QW3bJ4ltKAJif7u89CYVG12hBqY0kGacFCw==","shasum":"54fe7571de64454368c906cbc81034847a62c446","tarball":"https://registry.npmjs.org/stylelint-vscode/-/stylelint-vscode-7.0.0-21.tgz","fileCount":4,"unpackedSize":10346,"npm-signature":"-----BEGIN PGP SIGNATURE-----\r\nVersion: OpenPGP.js v3.0.4\r\nComment: https://openpgpjs.org\r\n\r\nwsFcBAEBCAAQBQJcuj0WCRA9TVsSAnZWagAAuKkP/3+HFlw5nCRMl7DCIWNm\nGbN9Ons0nw3cE9Hu0kaU659JLwWn9+eSMZx41QeGdXtCh67VvxVZPg60sJGL\n0XggaSjjP8vAaUE4c0Oi6hpIldrMlk8u9Ujo8VIZHa8t2el0ymU5WPqp1qiC\nn8Rhm61UHwJL0jujJ5jGc09KXwUYCqe7fM+9F1UHwS/nfHOkw/T3avkszKhM\nvbB5K9tGpkxCqPrtrVtXWgNtmTKUaYXEqlGZCyMwMttbXLObayvUMKTmhKyl\nqdtFrOM+lLYCc46WB7MYrhiBc4WyfKRDMCuMli2qwP3ztK0h+8G74Ajp8cj1\nRYOFDICNYnWZXj9FWtjZymtdfOnCqj2923EhZrPc4X9CMcSDeVTxMpm3KFon\nobeAT06Fo40NNACWNiAHbqHugnP2E/k7MWfbBcmtKC5Lsj4uOL2pWU3jVLQa\nj1hP4q6/4EMePp5vWWRH+Q64UBhD5yBUGlP/7Ve7+iT4050u4dDGKROT+a2s\n6eOCgzuIIBcZSG81v5+dtBBMusPQs7uy0qgYFzA/bg9qy6Kwcc+jaGQc9O3K\n56jN90GldF/MsG67hEproovWZ1lZ9QXiRl4d/JausA8v/UgjAdXUoXpeYnpO\nvNx4pizIjfhpcuQxyJwJIYvpbYb7aDfO3/HaWLMkHrUQh9o9mD3ztvE9FUkI\n1HXe\r\n=vl2s\r\n-----END PGP SIGNATURE-----\r\n","signatures":[{"keyid":"SHA256:jl3bwswu80PjjokCgh0o2w5c2U4LhQAE57gj9cz1kzA","sig":"MEQCIAaa6GXqHKb66Slsph7issJA8oeyvRv+AXgFCVifjSfpAiAPrBBwIeHgRZMiUbGbGOJ7VCcB2hdqhoVMBS1cDcvP0w=="}]},"directories":{},"_npmOperationalInternal":{"host":"s3://npm-registry-packages","tmp":"tmp/stylelint-vscode_7.0.0-21_1555709205463_0.678115551809942"},"_hasShrinkwrap":false}},"readme":"","maintainers":[{"email":"stephen@netweb.com.au","name":"ntwb"}],"time":{"modified":"2022-06-27T01:39:46.535Z","created":"2015-11-24T16:02:57.634Z","1.0.0":"2015-11-24T16:02:57.634Z","2.0.0":"2015-12-22T16:52:39.526Z","3.0.0":"2016-02-11T10:33:28.434Z","3.0.1":"2016-02-11T10:50:27.608Z","3.1.0":"2016-03-10T13:51:02.485Z","4.0.0":"2016-03-16T12:26:17.329Z","4.1.0":"2016-04-21T12:03:43.912Z","4.1.1":"2016-05-18T10:40:24.552Z","5.0.0":"2016-07-15T10:52:27.779Z","5.0.1":"2016-08-25T09:05:18.312Z","5.1.0":"2016-10-11T18:04:19.009Z","5.2.0":"2016-11-23T13:32:24.454Z","5.2.1":"2016-11-25T10:37:26.604Z","5.2.2":"2016-11-28T11:03:40.945Z","5.2.3":"2016-12-05T11:29:49.709Z","6.0.0":"2017-07-18T06:37:34.527Z","6.1.0":"2018-02-22T09:44:44.967Z","6.1.1":"2018-03-07T00:36:09.679Z","7.0.0-0":"2018-03-07T00:53:40.843Z","7.0.0-1":"2018-03-08T04:32:37.699Z","7.0.0-2":"2018-03-09T00:38:14.471Z","7.0.0-3":"2018-05-22T00:24:12.923Z","7.0.0-4":"2018-05-26T12:28:32.574Z","7.0.0-5":"2018-05-26T12:46:45.579Z","7.0.0-6":"2018-06-14T02:49:04.009Z","7.0.0-7":"2018-06-18T01:08:04.721Z","7.0.0-8":"2018-06-18T03:46:22.152Z","7.0.0-9":"2018-06-19T01:23:42.178Z","7.0.0-10":"2018-06-19T03:31:26.891Z","7.0.0-11":"2018-07-26T02:45:55.468Z","7.0.0-12":"2018-08-16T02:17:07.679Z","7.0.0-13":"2018-08-16T02:21:15.555Z","7.0.0-14":"2018-08-20T01:08:55.117Z","7.0.0-15":"2018-08-21T08:15:33.358Z","7.0.0-16":"2018-08-22T03:24:52.122Z","7.0.0-17":"2018-09-07T07:20:51.033Z","7.0.0-18":"2018-10-13T10:31:15.774Z","7.0.0-19":"2018-10-29T07:37:54.487Z","7.0.0-20":"2019-01-26T14:52:48.658Z","7.0.0-21":"2019-04-19T21:26:45.612Z"},"homepage":"https://github.com/shinnn/stylelint-vscode#readme","keywords":["stylelint","style","lint","linter","check","checker","css","stylesheet","validate","validation","vsc","vscode","diagnostic","diagnostics","promise","promises","then","async","asynchronous","asynchronously"],"repository":{"type":"git","url":"git+https://github.com/shinnn/stylelint-vscode.git"},"author":{"name":"Shinnosuke Watanabe","url":"https://github.com/shinnn"},"bugs":{"url":"https://github.com/shinnn/stylelint-vscode/issues"},"license":"ISC","readmeFilename":"","users":{"insomniaqc":true}}