mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-11-10 21:28:04 +02:00
This doesn't allow --fix to run on the whole tree in one go, but does allow it to be run on individual directories. This is due to an ESLint issue, where once the processor is loaded, it applies to the rest of the files. MozReview-Commit-ID: Fqg5yK22Dhu --HG-- rename : tools/lint/eslint/eslint-plugin-mozilla/.eslintrc.js => tools/lint/eslint/.eslintrc.js rename : tools/lint/eslint/eslint-plugin-mozilla/lib/processors/self-hosted.js => tools/lint/eslint/eslint-plugin-spidermonkey-js/lib/processors/self-hosted.js extra : rebase_source : 9913f929985016f4a22ff78641051dc025df14f2
15 lines
399 B
ReStructuredText
15 lines
399 B
ReStructuredText
==============================
|
|
Mozilla ESLint SpiderMonkey JS
|
|
==============================
|
|
|
|
This plugin only creates one item at the moment - a processor for the SpiderMonkey
|
|
JS code.
|
|
|
|
Processors
|
|
==========
|
|
|
|
The processor is used to pre-process all *.js files and deals with the macros
|
|
that SpiderMonkey uses.
|
|
|
|
Note: Currently the ESLint option --fix is disabled when the preprocessor is
|
|
enabled.
|