🔍 Firefox Add-ons linter, written in JavaScript. 👁
Перейти к файлу
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
bin Add basic zip handling 2015-09-30 09:36:30 +01:00
docs Add draft of rules found in amo-validator 2015-09-17 19:22:56 +01:00
src Use terminal width for CLI wrapping 2015-10-14 22:16:30 +01:00
tasks Add missing module resolution to webpack:watch 2015-10-09 09:38:48 +02:00
tests Use terminal width for CLI wrapping 2015-10-14 22:16:30 +01:00
.babelrc Add coverage reporting to tests 2015-10-08 16:54:41 +02:00
.eslintrc Fix up code output and ensure codes are < 25 chars 2015-10-07 16:44:18 +01:00
.gitignore Add coverage reporting to tests 2015-10-08 16:54:41 +02:00
.jscsrc Add JSCS Tests 2015-10-01 18:33:54 +01:00
.npmrc Add .npmrc to remove package prefixes by default 2015-10-01 11:31:11 +01:00
.nvmrc Require at least node 0.12.x 2015-10-13 16:38:06 +01:00
.travis.yml Require at least node 0.12.x 2015-10-13 16:38:06 +01:00
Gruntfile.js Add coverage reporting to tests 2015-10-08 16:54:41 +02:00
LICENSE Initial commit 2015-09-14 09:34:44 +01:00
README.md Require at least node 0.12.x 2015-10-13 16:38:06 +01:00
package.json Add HTML rule checker (close #54) 2015-10-14 19:35:26 +01:00
webpack.config.js Add coverage reporting to tests 2015-10-08 16:54:41 +02:00

README.md

Build Status Coverage Status Dependency Status devDependency Status

addons-validator

The Add-ons Validator, JS edition.

Required node version

Node v0.12.x or greater is required. Using nvm is probably the easiest way to manage multiple node versions side by side. See nvm on github for more details.

Install dependencies

Install dependencies with npm:

npm install

Dependencies are automatically kept up-to-date using greenkeeper.

Testing

Tests use grunt but don't require global grunt. Just run:

npm test