Π“Ρ€Π°Ρ„ ΠΊΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

7599 ΠšΠΎΠΌΠΌΠΈΡ‚ΠΎΠ²

Автор SHA1 Π‘ΠΎΠΎΠ±Ρ‰Π΅Π½ΠΈΠ΅ Π”Π°Ρ‚Π°
Stuart Colville 6b1bdf6f15 Invert regex for urls 2015-10-22 14:25:23 +01:00
Matthew Riley MacPherson 4eb4338958 Merge pull request #136 from mozilla/add-docs-for-end-users-115
Add docs for end users
2015-10-22 12:41:17 +01:00
Matthew Riley MacPherson 4d3d67edfa Add simple CONTRIBUTING doc 2015-10-22 01:10:21 +01:00
Matthew Riley MacPherson c9008daf84 Add docs for end-users (close #115) 2015-10-22 01:10:08 +01:00
Matthew Riley MacPherson a5723a2e88 Clean up some text in the README
I have an English linter and it flagged a few things as a bit wordy.

Just thought I'd tweak those.
2015-10-22 00:55:08 +01:00
Matthew Riley MacPherson 45deb425b1 Change "validators" to "scanners"
Confusingly, we name our scanners as `HTMLScanner`, `RDFScanner`,
etc. but put them in a `validators/` folder, and then have a `validator.js`
file as well with the real "validator".

This moves scanners into a folder that makes more sense so it's clear that
a scanner scans one file and collects messages for said file, but the validator
is the class that actually puts all of these pieces together and validates
an actual add-on.

*Phew*!
2015-10-21 23:05:52 +01:00
Matthew Riley MacPherson 41691f7d58 Create base class for CSS/HTML/RDF validators
I was starting on #128, but realised a good opportunity to do a refactor of
some of the validators.

The CSS validator could be DRY'd further but this should still consolidate
functionality.

This moves tests for rules into the base validator tests and out of the
CSS/HTML/RDF parser tests; all classes that extend the Base class implement

* Closes #83
* Closes #127
* Closes #128
2015-10-21 22:42:17 +01:00
Stuart Colville 260a2e3b61 Merge pull request #132 from muffinresearch/add-test-for-msg-codes-in-rules.md
Add test for msg codes in rules.md
2015-10-21 18:53:52 +01:00
Stuart Colville d5c7d63222 Add test for message codes being present in rules.md 2015-10-21 17:24:35 +01:00
Stuart Colville 8e6f7a2da9 Merge pull request #131 from muffinresearch/add-ref-and-done-field
Add done? field and code refs to rules table
2015-10-21 17:23:56 +01:00
Stuart Colville 76c67de7d1 Add done? field and code refs to rules table 2015-10-21 15:39:37 +01:00
Stuart Colville 6fba805b72 Merge pull request #129 from muffinresearch/add-more-dev-docs
Add more developer docs
2015-10-21 14:53:20 +01:00
Stuart Colville fbdacb7fb5 Add more developer docs 2015-10-21 12:21:01 +01:00
Stuart Colville 1a56e14ab6 Add diagram to README. 2015-10-20 17:20:43 +01:00
Stuart Colville e3ea1dd925 Add png version of flow for linking to readme 2015-10-20 17:18:54 +01:00
Stuart Colville 8c82bcf8ff Merge pull request #121 from muffinresearch/add-architecture-docs
Add architecture docs
2015-10-20 17:11:24 +01:00
Stuart Colville aaff6fbe8e Merge pull request #120 from muffinresearch/add-flow-docs
Add flow docs
2015-10-20 17:02:32 +01:00
Stuart Colville d0a4c16443 Add architecture docs 2015-10-20 17:02:01 +01:00
Stuart Colville 88b54a432a Add flow docs 2015-10-20 15:53:13 +01:00
Matthew Riley MacPherson 2f1ca9cb4c Merge pull request #108 from mozilla/greenkeeper-eslint-1.7.2
Update eslint to version 1.7.2 πŸš€
2015-10-19 22:28:46 +01:00
greenkeeperio-bot 05257f99d7 chore(package): update eslint to version 1.7.2
http://greenkeeper.io/
2015-10-19 22:15:45 +01:00
Stuart Colville 227d04091f Merge pull request #106 from muffinresearch/check-log-level-env-var
Add check for logger level
2015-10-19 18:15:26 +01:00
Stuart Colville 90505a3b11 Add check for logger level 2015-10-19 18:01:48 +01:00
Stuart Colville ca23d68d0a Merge pull request #105 from muffinresearch/introspect-addon-type
Add Addon type detection
2015-10-19 17:17:09 +01:00
Stuart Colville afb719c5f0 Add Addon type detection 2015-10-19 17:09:54 +01:00
Matthew Riley MacPherson e0b827d49a Merge pull request #104 from mozilla/greenkeeper-webpack-dev-server-1.12.1
Update webpack-dev-server to version 1.12.1 πŸš€
2015-10-18 23:13:52 +01:00
greenkeeperio-bot 9e42bb3764 chore(package): update webpack-dev-server to version 1.12.1
http://greenkeeper.io/
2015-10-18 23:06:02 +01:00
Matthew Riley MacPherson 94bb090050 Merge pull request #103 from mozilla/greenkeeper-load-grunt-tasks-3.3.0
Update load-grunt-tasks to version 3.3.0 πŸš€
2015-10-18 19:20:54 +01:00
greenkeeperio-bot 59c8c0c875 chore(package): update load-grunt-tasks to version 3.3.0
http://greenkeeper.io/
2015-10-18 19:11:10 +01:00
Matthew Riley MacPherson cb01817ce3 Merge pull request #102 from mozilla/greenkeeper-eslint-1.7.1
Update eslint to version 1.7.1 πŸš€
2015-10-16 23:04:46 +01:00
greenkeeperio-bot 53080d3a76 chore(package): update eslint to version 1.7.1
http://greenkeeper.io/
2015-10-16 22:54:55 +01:00
Matthew Riley MacPherson 186787ec5e Merge pull request #101 from mozilla/greenkeeper-eslint-1.7.0
Update eslint to version 1.7.0 πŸš€
2015-10-16 18:40:23 +01:00
greenkeeperio-bot 56ea42152b chore(package): update eslint to version 1.7.0
http://greenkeeper.io/
2015-10-16 18:31:53 +01:00
Stuart Colville 2391d1f31d Merge pull request #99 from muffinresearch/add-bunyan-logger
Add logger
2015-10-16 15:46:52 +01:00
Stuart Colville 156e39aba7 Add logger 2015-10-16 13:07:20 +01:00
Stuart Colville 709c707860 Merge pull request #97 from mozilla/greenkeeper-grunt-eslint-17.3.1
Update grunt-eslint to version 17.3.1 πŸš€
2015-10-15 15:57:02 +01:00
Matthew Riley MacPherson 692c153ac0 Merge pull request #90 from mozilla/use-terminal-width
Use terminal width for CLI wrapping
2015-10-15 15:52:04 +01:00
greenkeeperio-bot 555d499a40 chore(package): update grunt-eslint to version 17.3.1
http://greenkeeper.io/
2015-10-15 15:51:37 +01:00
Matthew Riley MacPherson 5cd0d503d5 Merge pull request #84 from mozilla/move-rdf-rules-to-folder
Move RDF + JS rules to their own folders
2015-10-15 14:17:48 +01:00
Matthew Riley MacPherson 1863ad5e67 Fix and improve display on small terminal widths
Fix #95.
Close #96.
2015-10-15 14:17:33 +01:00
Matthew Riley MacPherson f045ff62bc Tweak function signatures and rule grabbing 2015-10-15 13:23:36 +01:00
Matthew Riley MacPherson 077e40fa72 Use webpack:watch only 2015-10-15 13:07:52 +01:00
Stuart Colville 67b42fca80 Merge pull request #94 from muffinresearch/pass-back-list
Pass back message list instead of passing it
2015-10-15 13:07:09 +01:00
Matthew Riley MacPherson db4a17c0c8 Merge pull request #93 from mozilla/use-grunt-webpack
Use our grunt task for npm start
2015-10-15 13:03:14 +01:00
Matthew Riley MacPherson a0eb146d70 Use webpack watch instead of just build 2015-10-15 12:54:53 +01:00
Stuart Colville 0876e5f661 Pass back message list instead of passing it 2015-10-15 12:39:37 +01:00
Matthew Riley MacPherson 470260452b Use our grunt task for npm start 2015-10-15 11:55:48 +01:00
Stuart Colville 63c0c270ab Merge pull request #91 from muffinresearch/add-manifest-rules
Add chrome.manifest scanner + rule
2015-10-15 11:54:53 +01:00
Stuart Colville 35ff23b3cc Move rule tests into dir 2015-10-15 11:17:32 +01:00
Stuart Colville 59d306600d Merge pull request #92 from muffinresearch/move-css-rules-into-dir
Move CSS rules into a dir
2015-10-15 10:35:28 +01:00