diff options
author | guybedford <guybedford@gmail.com> | 2017-09-03 14:20:06 +0300 |
---|---|---|
committer | Michaël Zasso <targos@protonmail.com> | 2017-10-18 09:25:36 +0300 |
commit | 7337a40491da073e8d5eb8acf54d447004d8a418 (patch) | |
tree | 572205f3561856def7d86d3ac27179fff04eb8bd /.eslintrc.yaml | |
parent | 0e2db0e64e6ce6fc3cc1ea3eeaeee6d2ce797267 (diff) |
module: resolve and instantiate loader pipeline hooks
This enables a --loader flag for Node, which can provide custom
"resolve" and "dynamicInstantiate" methods for custom ES module
loading.
In the process, module providers have been converted from classes
into functions and the module APIs have been made to pass URL strings
over objects.
PR-URL: https://github.com/nodejs/node/pull/15445
Reviewed-By: Bradley Farias <bradley.meck@gmail.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Jeremiah Senkpiel <fishrock123@rocketmail.com>
Reviewed-By: Michaël Zasso <targos@protonmail.com>
Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to '.eslintrc.yaml')
-rw-r--r-- | .eslintrc.yaml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/.eslintrc.yaml b/.eslintrc.yaml index b68d2657465..d8768459c2e 100644 --- a/.eslintrc.yaml +++ b/.eslintrc.yaml @@ -11,7 +11,7 @@ parserOptions: ecmaVersion: 2017 overrides: - - files: ["doc/api/esm.md", "*.mjs"] + - files: ["doc/api/esm.md", "*.mjs", "test/es-module/test-esm-example-loader.js"] parserOptions: sourceType: module @@ -117,6 +117,7 @@ rules: keyword-spacing: error linebreak-style: [error, unix] max-len: [error, {code: 80, + ignorePattern: "^\/\/ Flags:", ignoreRegExpLiterals: true, ignoreUrls: true, tabWidth: 2}] |