Граф коммитов

42 Коммитов

Автор SHA1 Сообщение Дата
Luca Greco eeccf2547a
fix: Use ESLint Linter API to more directly control parser and rules module loading (#4078)
* fix: Use ESLint Linter API to more directly control parser and rules module loading
* chore: Add smoke test to verify conflicting eslint version do not break addons-linter
2021-12-13 18:09:43 +01:00
Luca Greco 6886efcc8e chore: Show an explicit error if the requested manifest version range is invalid 2021-05-11 11:30:40 +02:00
renovate[bot] e6bd2299ce
Update dependency prettier to v2 (#3082)
Update dependency prettier to v2

Co-authored-by: Renovate Bot <bot@renovateapp.com>
Co-authored-by: Andreas Wagner <mail@andreaswagner.org>
2020-03-30 14:50:02 +02:00
Linus Unnebäck c1e592034f Move internal scripts to separate folder (#2309)
Fixes #2278 

This PR moves internal scripts to another folder from `bin/`, where the public scripts will live alone now. It also updates the babel dependencies to be in `devDependencies`, since they are only used in the internal scripts.
2018-12-11 08:30:11 +01:00
greenkeeper[bot] ed2baa6ad7
Upgrade to Babel 7.
babeljs.io/docs/en/v7-migration

This tries to be as backwards compatible with what we generated with babel 6 as possible.

Babel 7 deprecated stages in favour of explicitly defining what features/syntaxes you're using.

Fixes #2177
2018-09-06 19:30:09 +02: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
Linus Unnebäck ec9bd1f88b
Move to npm and update lock-file 2018-06-19 11:06:29 +01:00
Stuart Colville 4af51fb328 Remove grunt entirely 2018-06-07 17:30:17 +01:00
Mark Striemer bb29ca1b29
Use mozilla-unified to download and import Firefox schemas
* Ignore bash scripts in bin for eslint
* Update download-import-tag and add some docs

Fixes #1811
2018-04-06 10:55:03 +02:00
Luca Greco 80556ccfa9 chore(locales): Applied some minor changes to the locales scripts 2018-04-05 16:04:00 +02:00
Christopher Grebs 5b98f9a915
Fix webpack build by inlining the dynamic require call. (#1890)
* Fix webpack build by inlining the dynamic require call.

This also removes more grunt dependencies and starts building directly
with webpack.

* Use ideas from review, also build-locales on travis so that they get bundled on release
2018-03-08 18:13:15 +01:00
Ravneet 6031465040 Added build-locales script (#1705)
* Added build-locales script

* Modified package.json

* Fixed linting errors
2018-01-17 19:36:01 +01:00
Ravneet 251708739a Added merge-locales script 2018-01-17 21:11:09 +05:30
Ravneet 715021c494 Solved infix error 2017-12-15 15:37:25 +05:30
Ravneet 6fcb31716b Shifted for loop style 2017-12-14 17:31:05 +05:30
Ravneet 79c028dcec Fixed tests 2017-12-14 16:59:21 +05:30
Ravneet bb65348a98 Fixed Tests 2017-12-14 15:07:35 +05:30
Ravneet 3b1ad0ed2a Created create-locales script 2017-12-14 14:42:06 +05:30
Divya Rani 3499114f51 Added bin folder to eslint scans (#1533)
Fixes #1487
bin folder is being included while using command npm eun eslint

* added bin folder to eslint scans
* lint violations fixed
* Update addons-linter
* Update firefox-schema-import
* disable global-require
* Update .eslintrc
* Update firefox-schema-import
2017-09-13 07:33:10 +02:00
Matthew Riley MacPherson 060b5f373e chore: Tidy up error message 2017-08-22 19:32:35 +01:00
Divya Rani 8ea3711b98 Update addons-linter 2017-08-22 21:37:44 +05:30
Divya Rani 365b23ef30 Update addons-linter 2017-08-22 19:48:30 +05:30
Divya Rani f86b8bccc6 Update addons-linter 2017-08-22 19:40:56 +05:30
Divya Rani 35b39b0299 Update addons-linter 2017-08-22 17:50:39 +05:30
Divya Rani fd7b118dcc Update addons-linter 2017-08-21 20:02:30 +05:30
Christopher Grebs 0925b741f8 Switch to using yarn, remove babel-polyfill.
Fixes #1370
2017-06-22 16:22:10 +08:00
Mark Striemer 9843edb0ad Auto-generate the src/schema/imported/index.js file (#1347) 2017-06-13 14:33:58 -05:00
Mark Striemer 1aa0ab93c6 Support importing schemas 55+ and nightly (#1344) 2017-06-13 14:33:34 -05:00
Mark Striemer 620076a8b6 Support folding multiple matching schemas into one (fixes #1209)
Adds support for importing schemas from a local .tgz file.
2017-04-19 12:41:34 -05:00
Mark Striemer e49684e56d Update script to download and import firefox schemas (fixes #1210) 2017-04-09 21:21:55 -05:00
Mark Striemer b43faf7a6d Fix pathing issues when importing schemas (fixes #1204) (#1208) 2017-04-05 10:11:39 -05:00
Mark Striemer 5860f54414 Add metadata to firefox schemas (fixes #1130) (#1169) 2017-03-15 09:20:51 -05:00
Mark Striemer 4413db51b3 Import schemas from Firefox (fixes #1129) (#1142) 2017-03-01 12:58:33 -06:00
Stuart Colville 185d08c5f9 Add exit codes on exit 2016-01-04 16:40:32 +00:00
Stuart Colville 2749a384a9 Fix path for hashes in package 2015-12-15 19:03:56 +00:00
Stuart Colville 02c4a2d53a Rename bin/addons-validator -> bin/addons-linter 2015-12-15 14:11:49 +00:00
Matthew Riley MacPherson 071d2b5540 Change validator to linter (fix #397) 2015-12-11 14:36:42 -05:00
Stuart Colville 31343d967b Remove unused global 2015-11-27 16:13:21 +00:00
Stuart Colville a2f37aa946 Add metadata CLI option and return metadata as JSON 2015-11-12 09:14:05 +00:00
Stuart Colville 8d19da3870 Make path correct for use from bin and via tests 2015-11-03 22:26:16 +00:00
Stuart Colville eff85a03bb Add basic zip handling 2015-09-30 09:36:30 +01:00
Stuart Colville 58534e87bd Add initial CLI 2015-09-25 19:47:21 +01:00