Andreas Wagner
252002587e
Bump minimum node version to 12 ( #3618 )
2021-03-15 13:02:41 +01:00
William Durand
6fe4089cc5
Switch to Circle CI ( #3502 )
2020-12-15 19:58:40 +01:00
William Durand
b8aa11ad9a
Upgrade ESLint to 6.x ( #3181 )
...
Co-authored-by: Luca Greco <lgreco@mozilla.com>
2020-06-23 15:41:44 +02:00
William Durand
60b3776909
Add prettier-ci npm script ( #3132 )
2020-04-27 10:50:47 +02:00
Andreas Wagner
e04fa5854d
Update to node 10
2019-11-18 14:10:45 +01:00
Stuart Colville
e88dbce6af
Add codecov in place of coveralls
2019-08-12 19:46:48 +01:00
Christopher Grebs
3b548b08b9
Configure renovate, force exact package-lock versions. ( #2410 )
...
This also force-replaces any http urls in package-lock to be https
again.
Fixes #2409
2019-01-30 16:01:20 +01:00
Martin Giger
fc1ddbcb36
feat: detect API and manifest key incompatibilities with strict_min_version ( #1493 ) ( #2290 )
...
Fixes #1493
This is a first attempt at integrating the browser-compat-data from the MDN compatibility tables with the linter.
It currently checks for manifest keys, permissions and APIs to be supported by the given `strict_min_version` in the manifest for both Firefox and Firefox for Android. All produced messages are warnings. However, no warning is shown if Firefox or Firefox for Android do not implement an API and that is documented in the compat data. This is to avoid a lot of Firefox for Android spam, plus the totally unsupported APIs should be caught by the schemas.
I'm not quite happy with the amount of duplication of logic, even though it's subtly different for all cases, so improvement suggestions welcome! Further I'll happily add more tests, these are just the ones I could come up with.
2018-12-11 08:41:36 +01:00
Peter deHaan
c5ff023aeb
Run markdown-spellcheck against README and docs
2018-10-16 15:36:09 -07:00
greenkeeper[bot]
225c9130df
Update eslint-config-amo, integrate Prettier and addons-frontend inspired configuration ( #2144 )
...
* chore(package): update eslint-config-amo to version 1.8.0
* chore(package): update lockfile
https://npm.im/greenkeeper-lockfile
* Update to eslint-config-amo 1.8.3
* Integrate prettier and addons-frontend inspired configs
* Run prettier
* Fix some more docs inconsistencies
* Some more eslint/prettier config cleanups
* Reformat bin/
* Fix dependency updates
* Fix readme
* Keep es5 trailing comma support
Fixes #2084
2018-09-04 13:18:45 +02:00
Mathieu Pillard
5c81485a7f
Always validate language packs if langpack_id is present in manifest
...
Previously we would only validate them if the --langpack flag was
passed.
2018-08-02 13:06:58 +02:00
Christopher Grebs
b4f1107150
Cleanup README.md and rules.md ( #2060 )
...
* Cleanup README.md and rules.md
Fixes #2034
Fixes #1560
* Sort by severity, change title
2018-06-26 07:26:27 +02:00
Linus Unnebäck
ec9bd1f88b
Move to npm and update lock-file
2018-06-19 11:06:29 +01:00
Stuart Colville
6717cda96d
Remove more grunt references
2018-06-08 17:07:28 +01:00
Stuart Colville
b4d3869d0f
gh-pages now supports https
2018-06-08 16:27:44 +01:00
Potch
d38731b089
Add `langpack` to API usage example to avoid cli barf.
2018-02-09 14:46:47 -08:00
Christopher Grebs
08e2b1ea05
Update contributing docs ( #1574 )
...
* Update contributing docs
This got heavily inspired by the web-ext contribution docs, kudos for
them!
* More logs cleanups, remove grunt commands that are already documented via 'scripts' section
* Fold in review comments. Thanks @tofumatt and @muffinresearch
* Remove en-US
Fix #1572
2017-10-09 09:50:46 +02:00
YFdyh000
27d5307086
Fix `yarn add` command line
2017-08-15 10:09:17 +08:00
Stuart Colville
6109428a06
Configure amo eslint config ( #1451 )
...
* Sync lockfile
* Add and setup amo eslint config
* Use Array.prototype.some instead of loop
* Make test command compare with addons-frontend
* Update README to refer to yarn over npm
2017-08-11 16:49:06 +02:00
Luca Greco
a99d44f33d
docs: Added notes on API integration
2017-03-15 20:13:57 +01:00
Matthew Riley MacPherson
b377d7993f
Improve fixtures making them webextensions ( fix #798 )
2016-07-01 16:30:57 +01:00
Peter deHaan
2313ba071f
Sort ESLint rules and fix Grunt scripts
...
Bump grunt dependency and extend eslint:recommended rules
Remove jscs meta and address review feedback
Remove last JSCS references from source/docs
2016-05-19 12:25:07 -07:00
Matthew Riley MacPherson
071d2b5540
Change validator to linter ( fix #397 )
2015-12-11 14:36:42 -05:00
Christopher Grebs
1c76435ffd
Add npm package version badge
...
I tend to lose the link and find myself coming back looking for a badge but there isn't one.
2015-12-04 00:42:25 +01:00
Stuart Colville
c1b482bf07
Process a directory too
2015-11-23 15:36:26 +00:00
Matthew Riley MacPherson
b9f0022be8
Merge pull request #210 from mozilla/i-was-thinking-locally-but-meant-to-act-globally
...
Fix README saying "locally"
2015-11-05 11:48:26 +00:00
Matthew Riley MacPherson
69aab90607
Fix README saying "locally"
2015-11-04 19:13:43 +00:00
Matthew Riley MacPherson
cc836b5880
Import from helpers; fix #187
2015-11-03 16:16:00 +00:00
Stuart Colville
146158d029
FIx typo
2015-10-30 17:05:01 +00:00
Stuart Colville
cae1bb3a76
Add link to the rules on github.io
2015-10-29 20:17:15 +00:00
Matthew Riley MacPherson
795df5afb4
Add Travis Build
2015-10-28 12:48:46 +00:00
Matthew Riley MacPherson
fc96616aa9
Merge pull request #153 from mozilla/clearer-dev-install
...
Provide a VERY clear quickstart for devs
2015-10-26 11:50:40 +00:00
Matthew Riley MacPherson
02a3f6b5f5
Provide a VERY clear quickstart for devs
2015-10-23 23:58:44 +01:00
Stuart Colville
de7166e7f8
Pre-process eslint rules
2015-10-23 19:39:44 +01:00
Stuart Colville
1e47030c8a
Add way to run tests sans coverage
2015-10-23 18:02:29 +01:00
Mike Nolan
c042f075fd
Refactored unexpected success into helper
...
Resolves #130
2015-10-22 15:56:14 -04: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
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
d0a4c16443
Add architecture docs
2015-10-20 17:02:01 +01:00
Stuart Colville
156e39aba7
Add logger
2015-10-16 13:07:20 +01:00
Stuart Colville
65a5129d2c
Require at least node 0.12.x
2015-10-13 16:38:06 +01:00
Stuart Colville
710f91ac40
Add coveralls badge
2015-10-12 10:02:20 +01:00
Matthew Riley MacPherson
f55b9f31dc
Point Travis badge to master branch
2015-10-10 17:41:05 +01:00
Matthew Riley MacPherson
62da0171e5
Merge pull request #22 from mozilla/mention-greenkeeper
...
Mention our use of greenkeeper and tidy README
2015-09-25 19:07:03 +01:00
Stuart Colville
06dfc65555
Add deps badge
2015-09-25 18:43:31 +01:00
Matthew Riley MacPherson
586d8bb133
Mention our use of greenkeeper and tidy README
2015-09-25 16:45:49 +01:00
Stuart Colville
68303ce9d7
Setup travis add badges
2015-09-16 17:43:49 +01:00
Stuart Colville
7c7065bda0
Run tests via npm + update README
2015-09-16 17:28:28 +01:00