Matthew Riley MacPherson
49f7e35215
Adjust validator size based on terminal size
2015-10-14 22:50:24 +01:00
Stuart Colville
126f393d62
Add chrome.manifest scanner + rule
2015-10-14 22:37:25 +01:00
Matthew Riley MacPherson
17a5f93e1c
Use terminal width for CLI wrapping
...
I was using a larger-than-usual terminal window and noticed the output was
still wrapped to 78 characters.
This uses process.stdout.columns if available to set the CLI wrap value.
(minus two pixels to preserve a similar padding effect as using 78 over 80).
2015-10-14 22:16:30 +01:00
Stuart Colville
bc6c931884
Move CSS rules into a dir
2015-10-14 22:09:34 +01:00
Matthew Riley MacPherson
aced6fba95
Move RDF rules to their own folder (#fix #79 )
...
Related to #78 ; this moves the RDF rules into their own folder.
Next step would be to move rule tests into their own sections.
2015-10-14 19:43:49 +01:00
Matthew Riley MacPherson
4325762768
Move JS rules to their own folder
2015-10-14 19:42:05 +01:00
Matthew Riley MacPherson
6338ec57df
Merge pull request #70 from mozilla/html-parser-54
...
Add HTML rule checker (close #54 )
2015-10-14 19:38:22 +01:00
Matthew Riley MacPherson
bc044ec376
Add multiple file extension support
2015-10-14 19:35:26 +01:00
Matthew Riley MacPherson
272b4da7ea
Add HTML rule checker ( close #54 )
2015-10-14 19:35:26 +01:00
Matthew Riley MacPherson
d7d390239b
Merge pull request #87 from mozilla/use-string.endswith-86
...
Remove utils.endsWith
2015-10-14 19:00:27 +01:00
Matthew Riley MacPherson
f71f36635c
Remove utils.endsWith
2015-10-14 18:05:01 +01:00
Stuart Colville
ee7495f5a3
Merge pull request #82 from muffinresearch/add-chrome-manifest-parser
...
Add basic chrome.manifest parser
2015-10-14 15:32:56 +01:00
Stuart Colville
d0f8e2bfd6
Add basic chrome.manifest parser
2015-10-14 15:09:23 +01:00
Stuart Colville
284169c502
Merge pull request #81 from muffinresearch/require-at-least-node-0.12.x
...
Require at least node 0.12.x
2015-10-13 16:50:48 +01:00
Stuart Colville
65a5129d2c
Require at least node 0.12.x
2015-10-13 16:38:06 +01:00
Stuart Colville
9eef5907a1
Merge pull request #77 from muffinresearch/add-more-css-tests
...
Add additional CSS tests
2015-10-12 16:52:01 +01:00
Stuart Colville
901f573fd9
Add additional CSS tests
2015-10-12 15:10:50 +01:00
Stuart Colville
d880525f62
Merge pull request #76 from muffinresearch/add-css-scanner
...
Add css scanner (fixes #53 , fixes #31 )
2015-10-12 14:49:46 +01:00
Stuart Colville
59c2e3e444
Add css scanner ( fixes #53 , fixes #31 )
2015-10-12 14:41:56 +01:00
Matthew Riley MacPherson
675da6f460
Merge pull request #63 from mozilla/add-rdf-parser-48
...
Add an RDF parser and one rule (close #48 )
2015-10-12 10:42:06 +01:00
Matthew Riley MacPherson
0872c194f6
Add banned with other tag tests
...
Fixes updateKey/updateURL checks.
2015-10-12 10:38:11 +01:00
Stuart Colville
710f91ac40
Add coveralls badge
2015-10-12 10:02:20 +01:00
Stuart Colville
e59caf7acb
Merge pull request #74 from muffinresearch/enable-coveralls
...
Enable coveralls
2015-10-12 09:59:50 +01:00
Stuart Colville
6a1e6cc2b9
Enable coveralls
2015-10-12 09:34:42 +01:00
Stuart Colville
b10984c3ce
Merge pull request #72 from muffinresearch/silence-output
...
Quick fix to silence output (fixes #69 )
2015-10-12 09:27:02 +01:00
Stuart Colville
903ff0f57c
Add comments to explain the use of stubs to prevent output
2015-10-12 09:12:55 +01:00
Matthew Riley MacPherson
117fd149b8
Merge pull request #73 from mozilla/fix-travis-badge
...
Point Travis badge to master branch
2015-10-12 09:10:25 +01:00
Stuart Colville
7bf0cb3f33
Merge pull request #71 from muffinresearch/fix-some-missing-coverage
...
Add missing test coverage
2015-10-12 09:09:23 +01:00
Matthew Riley MacPherson
f55b9f31dc
Point Travis badge to master branch
2015-10-10 17:41:05 +01:00
Stuart Colville
52f2d5a87b
Quick fix to silence output
2015-10-10 13:24:06 +02:00
Stuart Colville
296c7bc375
Add missing test coverage
2015-10-10 12:47:54 +02:00
Stuart Colville
14dc39a5a4
Remove npm coverage script
2015-10-09 16:13:08 +02:00
Matthew Riley MacPherson
18ca354344
Create RDF codes dynamically
2015-10-09 12:25:23 +01:00
Matthew Riley MacPherson
c32cde989b
Improve scanFile test
2015-10-09 12:25:23 +01:00
Matthew Riley MacPherson
99756ba7bd
Add an RDF parser and one rule ( close #48 )
...
This should implement `shouldnt_exist` and `obsolete` from
https://github.com/mozilla/addons-validator/blob/master/docs/rules.md#installrdf
2015-10-09 12:25:23 +01:00
Stuart Colville
93fe8a6990
Add missing module resolution to webpack:watch
2015-10-09 09:38:48 +02:00
Stuart Colville
9d99750b26
Merge pull request #64 from mozilla/move-validators-59
...
Move validators to own folder (close #59 )
2015-10-09 09:16:40 +02:00
Stuart Colville
860a54ea01
Merge pull request #61 from muffinresearch/add-coverage
...
Add coverage reporting to tests
2015-10-09 08:52:12 +02:00
Stuart Colville
30b2d85260
Merge pull request #65 from mozilla/greenkeeper-yargs-3.27.0
...
Update yargs to version 3.27.0 π
2015-10-09 08:27:04 +02:00
greenkeeperio-bot
be47e48d57
chore(package): update yargs to version 3.27.0
...
http://greenkeeper.io/
2015-10-09 03:06:37 +01:00
Matthew Riley MacPherson
8e92720d35
Move validators to own folder ( close #59 )
2015-10-08 22:44:00 +01:00
Matthew Riley MacPherson
b583fa9f0e
Merge pull request #58 from mozilla/js-syntax-error-fix-52
...
Handle invalid JS; add an error when encountered
2015-10-08 22:18:12 +01:00
Matthew Riley MacPherson
c12edb5b53
Clean up JSScanner nits
2015-10-08 22:16:43 +01:00
Matthew Riley MacPherson
1a70484791
Be explicit about true/false
2015-10-08 22:15:41 +01:00
Matthew Riley MacPherson
76a1e90ac0
Handle invalid JS; add an error when encountered
...
Adds a test case for malformed JS and a bit of extra code in the
JS Scanner to make sure we handle SyntaxErrors, which are a bit
different from other errors created by ESLint.
Fixes #52 .
2015-10-08 22:15:41 +01:00
Stuart Colville
34cfbbf0d2
Add coverage reporting to tests
2015-10-08 16:54:41 +02:00
Matthew Riley MacPherson
67089fa05d
Merge pull request #60 from muffinresearch/make-scanning-more-generic
...
Make scanning more generic
2015-10-07 20:13:38 +01:00
Stuart Colville
ba30f43659
Make scanning more generic
2015-10-07 20:59:56 +02:00
Stuart Colville
f6091c93d9
Merge pull request #57 from muffinresearch/add-text-output
...
Add text output (fixes #51 )
2015-10-07 17:17:09 +01:00
Stuart Colville
12b7a9d311
Use message.code instead of message.id
2015-10-07 17:13:57 +01:00