__webpack_require__(1);
__webpack_require__(375);
__webpack_require__(376);
-module.exports = __webpack_require__(822);
+module.exports = __webpack_require__(823);
/***/ }),
astUtils = __webpack_require__(409),
ConfigOps = __webpack_require__(410),
validator = __webpack_require__(411),
- Traverser = __webpack_require__(639),
+ Traverser = __webpack_require__(640),
{
SourceCode
-} = __webpack_require__(775),
- CodePathAnalyzer = __webpack_require__(790),
- applyDisableDirectives = __webpack_require__(797),
- ConfigCommentParser = __webpack_require__(798),
- NodeEventGenerator = __webpack_require__(811),
- createReportTranslator = __webpack_require__(813),
- Rules = __webpack_require__(816),
- createEmitter = __webpack_require__(818),
- SourceCodeFixer = __webpack_require__(819),
- timing = __webpack_require__(820),
- ruleReplacements = __webpack_require__(821);
+} = __webpack_require__(776),
+ CodePathAnalyzer = __webpack_require__(791),
+ applyDisableDirectives = __webpack_require__(798),
+ ConfigCommentParser = __webpack_require__(799),
+ NodeEventGenerator = __webpack_require__(812),
+ createReportTranslator = __webpack_require__(814),
+ Rules = __webpack_require__(817),
+ createEmitter = __webpack_require__(819),
+ SourceCodeFixer = __webpack_require__(820),
+ timing = __webpack_require__(821),
+ ruleReplacements = __webpack_require__(822);
const debug = __webpack_require__(416)("eslint:linter");
Object.keys(ruleListeners).forEach(selector => {
emitter.on(selector, timing.enabled ? timing.time(ruleId, ruleListeners[selector]) : ruleListeners[selector]);
});
- });
- const eventGenerator = new CodePathAnalyzer(new NodeEventGenerator(emitter));
+ }); // only run code path analyzer if the top level node is "Program", skip otherwise
+
+ const eventGenerator = nodeQueue[0].node.type === "Program" ? new CodePathAnalyzer(new NodeEventGenerator(emitter)) : new NodeEventGenerator(emitter);
nodeQueue.forEach(traversalInfo => {
currentNode = traversalInfo.node;
/* 383 */
/***/ (function(module) {
-module.exports = JSON.parse("{\"_from\":\"estraverse@^4.1.1\",\"_id\":\"estraverse@4.3.0\",\"_inBundle\":false,\"_integrity\":\"sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==\",\"_location\":\"/estraverse\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"estraverse@^4.1.1\",\"name\":\"estraverse\",\"escapedName\":\"estraverse\",\"rawSpec\":\"^4.1.1\",\"saveSpec\":null,\"fetchSpec\":\"^4.1.1\"},\"_requiredBy\":[\"/babel-eslint/eslint-scope\",\"/eslint-scope\",\"/esrecurse\",\"/webpack/eslint-scope\"],\"_resolved\":\"https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz\",\"_shasum\":\"398ad3f3c5a24948be7725e83d11a7de28cdbd1d\",\"_spec\":\"estraverse@^4.1.1\",\"_where\":\"/home/dcsapak/git/pve-eslint/eslint-v7.0.0/node_modules/eslint-scope\",\"bugs\":{\"url\":\"https://github.com/estools/estraverse/issues\"},\"bundleDependencies\":false,\"deprecated\":false,\"description\":\"ECMAScript JS AST traversal functions\",\"devDependencies\":{\"babel-preset-env\":\"^1.6.1\",\"babel-register\":\"^6.3.13\",\"chai\":\"^2.1.1\",\"espree\":\"^1.11.0\",\"gulp\":\"^3.8.10\",\"gulp-bump\":\"^0.2.2\",\"gulp-filter\":\"^2.0.0\",\"gulp-git\":\"^1.0.1\",\"gulp-tag-version\":\"^1.3.0\",\"jshint\":\"^2.5.6\",\"mocha\":\"^2.1.0\"},\"engines\":{\"node\":\">=4.0\"},\"homepage\":\"https://github.com/estools/estraverse\",\"license\":\"BSD-2-Clause\",\"main\":\"estraverse.js\",\"maintainers\":[{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"url\":\"http://github.com/Constellation\"}],\"name\":\"estraverse\",\"repository\":{\"type\":\"git\",\"url\":\"git+ssh://git@github.com/estools/estraverse.git\"},\"scripts\":{\"lint\":\"jshint estraverse.js\",\"test\":\"npm run-script lint && npm run-script unit-test\",\"unit-test\":\"mocha --compilers js:babel-register\"},\"version\":\"4.3.0\"}");
+module.exports = JSON.parse("{\"_from\":\"estraverse@^4.1.1\",\"_id\":\"estraverse@4.3.0\",\"_inBundle\":false,\"_integrity\":\"sha512-39nnKffWz8xN1BU/2c79n9nB9HDzo0niYUqx6xyqUnyoAnQyyWpOTdZEeiCch8BBu515t4wp9ZmgVfVhn9EBpw==\",\"_location\":\"/estraverse\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"estraverse@^4.1.1\",\"name\":\"estraverse\",\"escapedName\":\"estraverse\",\"rawSpec\":\"^4.1.1\",\"saveSpec\":null,\"fetchSpec\":\"^4.1.1\"},\"_requiredBy\":[\"/babel-eslint/eslint-scope\",\"/eslint-scope\",\"/esrecurse\",\"/webpack/eslint-scope\"],\"_resolved\":\"https://registry.npmjs.org/estraverse/-/estraverse-4.3.0.tgz\",\"_shasum\":\"398ad3f3c5a24948be7725e83d11a7de28cdbd1d\",\"_spec\":\"estraverse@^4.1.1\",\"_where\":\"/root/sources/pve/pve-eslint/eslint-v7.1.0/node_modules/eslint-scope\",\"bugs\":{\"url\":\"https://github.com/estools/estraverse/issues\"},\"bundleDependencies\":false,\"deprecated\":false,\"description\":\"ECMAScript JS AST traversal functions\",\"devDependencies\":{\"babel-preset-env\":\"^1.6.1\",\"babel-register\":\"^6.3.13\",\"chai\":\"^2.1.1\",\"espree\":\"^1.11.0\",\"gulp\":\"^3.8.10\",\"gulp-bump\":\"^0.2.2\",\"gulp-filter\":\"^2.0.0\",\"gulp-git\":\"^1.0.1\",\"gulp-tag-version\":\"^1.3.0\",\"jshint\":\"^2.5.6\",\"mocha\":\"^2.1.0\"},\"engines\":{\"node\":\">=4.0\"},\"homepage\":\"https://github.com/estools/estraverse\",\"license\":\"BSD-2-Clause\",\"main\":\"estraverse.js\",\"maintainers\":[{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"url\":\"http://github.com/Constellation\"}],\"name\":\"estraverse\",\"repository\":{\"type\":\"git\",\"url\":\"git+ssh://git@github.com/estools/estraverse.git\"},\"scripts\":{\"lint\":\"jshint estraverse.js\",\"test\":\"npm run-script lint && npm run-script unit-test\",\"unit-test\":\"mocha --compilers js:babel-register\"},\"version\":\"4.3.0\"}");
/***/ }),
/* 384 */
/* 389 */
/***/ (function(module) {
-module.exports = JSON.parse("{\"_from\":\"esrecurse@^4.1.0\",\"_id\":\"esrecurse@4.2.1\",\"_inBundle\":false,\"_integrity\":\"sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==\",\"_location\":\"/esrecurse\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"esrecurse@^4.1.0\",\"name\":\"esrecurse\",\"escapedName\":\"esrecurse\",\"rawSpec\":\"^4.1.0\",\"saveSpec\":null,\"fetchSpec\":\"^4.1.0\"},\"_requiredBy\":[\"/babel-eslint/eslint-scope\",\"/eslint-scope\",\"/webpack/eslint-scope\"],\"_resolved\":\"https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz\",\"_shasum\":\"007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf\",\"_spec\":\"esrecurse@^4.1.0\",\"_where\":\"/home/dcsapak/git/pve-eslint/eslint-v7.0.0/node_modules/eslint-scope\",\"babel\":{\"presets\":[\"es2015\"]},\"bugs\":{\"url\":\"https://github.com/estools/esrecurse/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"estraverse\":\"^4.1.0\"},\"deprecated\":false,\"description\":\"ECMAScript AST recursive visitor\",\"devDependencies\":{\"babel-cli\":\"^6.24.1\",\"babel-eslint\":\"^7.2.3\",\"babel-preset-es2015\":\"^6.24.1\",\"babel-register\":\"^6.24.1\",\"chai\":\"^4.0.2\",\"esprima\":\"^4.0.0\",\"gulp\":\"^3.9.0\",\"gulp-bump\":\"^2.7.0\",\"gulp-eslint\":\"^4.0.0\",\"gulp-filter\":\"^5.0.0\",\"gulp-git\":\"^2.4.1\",\"gulp-mocha\":\"^4.3.1\",\"gulp-tag-version\":\"^1.2.1\",\"jsdoc\":\"^3.3.0-alpha10\",\"minimist\":\"^1.1.0\"},\"engines\":{\"node\":\">=4.0\"},\"homepage\":\"https://github.com/estools/esrecurse\",\"license\":\"BSD-2-Clause\",\"main\":\"esrecurse.js\",\"maintainers\":[{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"url\":\"https://github.com/Constellation\"}],\"name\":\"esrecurse\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/estools/esrecurse.git\"},\"scripts\":{\"lint\":\"gulp lint\",\"test\":\"gulp travis\",\"unit-test\":\"gulp test\"},\"version\":\"4.2.1\"}");
+module.exports = JSON.parse("{\"_from\":\"esrecurse@^4.1.0\",\"_id\":\"esrecurse@4.2.1\",\"_inBundle\":false,\"_integrity\":\"sha512-64RBB++fIOAXPw3P9cy89qfMlvZEXZkqqJkjqqXIvzP5ezRZjW+lPWjw35UX/3EhUPFYbg5ER4JYgDw4007/DQ==\",\"_location\":\"/esrecurse\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"esrecurse@^4.1.0\",\"name\":\"esrecurse\",\"escapedName\":\"esrecurse\",\"rawSpec\":\"^4.1.0\",\"saveSpec\":null,\"fetchSpec\":\"^4.1.0\"},\"_requiredBy\":[\"/babel-eslint/eslint-scope\",\"/eslint-scope\",\"/webpack/eslint-scope\"],\"_resolved\":\"https://registry.npmjs.org/esrecurse/-/esrecurse-4.2.1.tgz\",\"_shasum\":\"007a3b9fdbc2b3bb87e4879ea19c92fdbd3942cf\",\"_spec\":\"esrecurse@^4.1.0\",\"_where\":\"/root/sources/pve/pve-eslint/eslint-v7.1.0/node_modules/eslint-scope\",\"babel\":{\"presets\":[\"es2015\"]},\"bugs\":{\"url\":\"https://github.com/estools/esrecurse/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"estraverse\":\"^4.1.0\"},\"deprecated\":false,\"description\":\"ECMAScript AST recursive visitor\",\"devDependencies\":{\"babel-cli\":\"^6.24.1\",\"babel-eslint\":\"^7.2.3\",\"babel-preset-es2015\":\"^6.24.1\",\"babel-register\":\"^6.24.1\",\"chai\":\"^4.0.2\",\"esprima\":\"^4.0.0\",\"gulp\":\"^3.9.0\",\"gulp-bump\":\"^2.7.0\",\"gulp-eslint\":\"^4.0.0\",\"gulp-filter\":\"^5.0.0\",\"gulp-git\":\"^2.4.1\",\"gulp-mocha\":\"^4.3.1\",\"gulp-tag-version\":\"^1.2.1\",\"jsdoc\":\"^3.3.0-alpha10\",\"minimist\":\"^1.1.0\"},\"engines\":{\"node\":\">=4.0\"},\"homepage\":\"https://github.com/estools/esrecurse\",\"license\":\"BSD-2-Clause\",\"main\":\"esrecurse.js\",\"maintainers\":[{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"url\":\"https://github.com/Constellation\"}],\"name\":\"esrecurse\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/estools/esrecurse.git\"},\"scripts\":{\"lint\":\"gulp lint\",\"test\":\"gulp travis\",\"unit-test\":\"gulp test\"},\"version\":\"4.2.1\"}");
/***/ }),
/* 390 */
/* 391 */
/***/ (function(module) {
-module.exports = JSON.parse("{\"_from\":\"eslint-scope@^5.0.0\",\"_id\":\"eslint-scope@5.0.0\",\"_inBundle\":false,\"_integrity\":\"sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==\",\"_location\":\"/eslint-scope\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"eslint-scope@^5.0.0\",\"name\":\"eslint-scope\",\"escapedName\":\"eslint-scope\",\"rawSpec\":\"^5.0.0\",\"saveSpec\":null,\"fetchSpec\":\"^5.0.0\"},\"_requiredBy\":[\"/\",\"/eslint\"],\"_resolved\":\"https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz\",\"_shasum\":\"e87c8887c73e8d1ec84f1ca591645c358bfc8fb9\",\"_spec\":\"eslint-scope@^5.0.0\",\"_where\":\"/home/dcsapak/git/pve-eslint/eslint-v7.0.0\",\"bugs\":{\"url\":\"https://github.com/eslint/eslint-scope/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"esrecurse\":\"^4.1.0\",\"estraverse\":\"^4.1.1\"},\"deprecated\":false,\"description\":\"ECMAScript scope analyzer for ESLint\",\"devDependencies\":{\"@typescript-eslint/parser\":\"^1.11.0\",\"chai\":\"^4.2.0\",\"eslint\":\"^6.0.1\",\"eslint-config-eslint\":\"^5.0.1\",\"eslint-plugin-node\":\"^9.1.0\",\"eslint-release\":\"^1.0.0\",\"espree\":\"^6.0.0\",\"istanbul\":\"^0.4.5\",\"mocha\":\"^6.1.4\",\"npm-license\":\"^0.3.3\",\"shelljs\":\"^0.8.3\",\"typescript\":\"^3.5.2\"},\"engines\":{\"node\":\">=8.0.0\"},\"files\":[\"LICENSE\",\"README.md\",\"lib\"],\"homepage\":\"http://github.com/eslint/eslint-scope\",\"license\":\"BSD-2-Clause\",\"main\":\"lib/index.js\",\"name\":\"eslint-scope\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/eslint/eslint-scope.git\"},\"scripts\":{\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"generate-release\":\"eslint-generate-release\",\"lint\":\"node Makefile.js lint\",\"publish-release\":\"eslint-publish-release\",\"test\":\"node Makefile.js test\"},\"version\":\"5.0.0\"}");
+module.exports = JSON.parse("{\"_from\":\"eslint-scope@^5.0.0\",\"_id\":\"eslint-scope@5.0.0\",\"_inBundle\":false,\"_integrity\":\"sha512-oYrhJW7S0bxAFDvWqzvMPRm6pcgcnWc4QnofCAqRTRfQC0JcwenzGglTtsLyIuuWFfkqDG9vz67cnttSd53djw==\",\"_location\":\"/eslint-scope\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"eslint-scope@^5.0.0\",\"name\":\"eslint-scope\",\"escapedName\":\"eslint-scope\",\"rawSpec\":\"^5.0.0\",\"saveSpec\":null,\"fetchSpec\":\"^5.0.0\"},\"_requiredBy\":[\"/\",\"/eslint\"],\"_resolved\":\"https://registry.npmjs.org/eslint-scope/-/eslint-scope-5.0.0.tgz\",\"_shasum\":\"e87c8887c73e8d1ec84f1ca591645c358bfc8fb9\",\"_spec\":\"eslint-scope@^5.0.0\",\"_where\":\"/root/sources/pve/pve-eslint/eslint-v7.1.0\",\"bugs\":{\"url\":\"https://github.com/eslint/eslint-scope/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"esrecurse\":\"^4.1.0\",\"estraverse\":\"^4.1.1\"},\"deprecated\":false,\"description\":\"ECMAScript scope analyzer for ESLint\",\"devDependencies\":{\"@typescript-eslint/parser\":\"^1.11.0\",\"chai\":\"^4.2.0\",\"eslint\":\"^6.0.1\",\"eslint-config-eslint\":\"^5.0.1\",\"eslint-plugin-node\":\"^9.1.0\",\"eslint-release\":\"^1.0.0\",\"espree\":\"^6.0.0\",\"istanbul\":\"^0.4.5\",\"mocha\":\"^6.1.4\",\"npm-license\":\"^0.3.3\",\"shelljs\":\"^0.8.3\",\"typescript\":\"^3.5.2\"},\"engines\":{\"node\":\">=8.0.0\"},\"files\":[\"LICENSE\",\"README.md\",\"lib\"],\"homepage\":\"http://github.com/eslint/eslint-scope\",\"license\":\"BSD-2-Clause\",\"main\":\"lib/index.js\",\"name\":\"eslint-scope\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/eslint/eslint-scope.git\"},\"scripts\":{\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"generate-release\":\"eslint-generate-release\",\"lint\":\"node Makefile.js lint\",\"publish-release\":\"eslint-publish-release\",\"test\":\"node Makefile.js test\"},\"version\":\"5.0.0\"}");
/***/ }),
/* 392 */
/* 402 */
/***/ (function(module) {
-module.exports = JSON.parse("{\"_from\":\"espree@^7.0.0\",\"_id\":\"espree@7.0.0\",\"_inBundle\":false,\"_integrity\":\"sha512-/r2XEx5Mw4pgKdyb7GNLQNsu++asx/dltf/CI8RFi9oGHxmQFgvLbc5Op4U6i8Oaj+kdslhJtVlEZeAqH5qOTw==\",\"_location\":\"/espree\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"espree@^7.0.0\",\"name\":\"espree\",\"escapedName\":\"espree\",\"rawSpec\":\"^7.0.0\",\"saveSpec\":null,\"fetchSpec\":\"^7.0.0\"},\"_requiredBy\":[\"/\",\"/eslint\"],\"_resolved\":\"https://registry.npmjs.org/espree/-/espree-7.0.0.tgz\",\"_shasum\":\"8a7a60f218e69f120a842dc24c5a88aa7748a74e\",\"_spec\":\"espree@^7.0.0\",\"_where\":\"/home/dcsapak/git/pve-eslint/eslint-v7.0.0\",\"author\":{\"name\":\"Nicholas C. Zakas\",\"email\":\"nicholas+npm@nczconsulting.com\"},\"bugs\":{\"url\":\"http://github.com/eslint/espree.git\"},\"bundleDependencies\":false,\"dependencies\":{\"acorn\":\"^7.1.1\",\"acorn-jsx\":\"^5.2.0\",\"eslint-visitor-keys\":\"^1.1.0\"},\"deprecated\":false,\"description\":\"An Esprima-compatible JavaScript parser built on Acorn\",\"devDependencies\":{\"browserify\":\"^16.5.0\",\"chai\":\"^4.2.0\",\"eslint\":\"^6.0.1\",\"eslint-config-eslint\":\"^5.0.1\",\"eslint-plugin-node\":\"^9.1.0\",\"eslint-release\":\"^1.0.0\",\"esprima\":\"latest\",\"esprima-fb\":\"^8001.2001.0-dev-harmony-fb\",\"json-diff\":\"^0.5.4\",\"leche\":\"^2.3.0\",\"mocha\":\"^6.2.0\",\"nyc\":\"^14.1.1\",\"regenerate\":\"^1.4.0\",\"shelljs\":\"^0.3.0\",\"shelljs-nodecli\":\"^0.1.1\",\"unicode-6.3.0\":\"^0.7.5\"},\"engines\":{\"node\":\"^10.12.0 || >=12.0.0\"},\"files\":[\"lib\",\"espree.js\"],\"homepage\":\"https://github.com/eslint/espree\",\"keywords\":[\"ast\",\"ecmascript\",\"javascript\",\"parser\",\"syntax\",\"acorn\"],\"license\":\"BSD-2-Clause\",\"main\":\"espree.js\",\"name\":\"espree\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/eslint/espree.git\"},\"scripts\":{\"browserify\":\"node Makefile.js browserify\",\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"generate-regex\":\"node tools/generate-identifier-regex.js\",\"generate-release\":\"eslint-generate-release\",\"lint\":\"node Makefile.js lint\",\"publish-release\":\"eslint-publish-release\",\"sync-docs\":\"node Makefile.js docs\",\"test\":\"npm run-script lint && node Makefile.js test\"},\"version\":\"7.0.0\"}");
+module.exports = JSON.parse("{\"_from\":\"espree@^7.0.0\",\"_id\":\"espree@7.0.0\",\"_inBundle\":false,\"_integrity\":\"sha512-/r2XEx5Mw4pgKdyb7GNLQNsu++asx/dltf/CI8RFi9oGHxmQFgvLbc5Op4U6i8Oaj+kdslhJtVlEZeAqH5qOTw==\",\"_location\":\"/espree\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"espree@^7.0.0\",\"name\":\"espree\",\"escapedName\":\"espree\",\"rawSpec\":\"^7.0.0\",\"saveSpec\":null,\"fetchSpec\":\"^7.0.0\"},\"_requiredBy\":[\"/\",\"/eslint\"],\"_resolved\":\"https://registry.npmjs.org/espree/-/espree-7.0.0.tgz\",\"_shasum\":\"8a7a60f218e69f120a842dc24c5a88aa7748a74e\",\"_spec\":\"espree@^7.0.0\",\"_where\":\"/root/sources/pve/pve-eslint/eslint-v7.1.0\",\"author\":{\"name\":\"Nicholas C. Zakas\",\"email\":\"nicholas+npm@nczconsulting.com\"},\"bugs\":{\"url\":\"http://github.com/eslint/espree.git\"},\"bundleDependencies\":false,\"dependencies\":{\"acorn\":\"^7.1.1\",\"acorn-jsx\":\"^5.2.0\",\"eslint-visitor-keys\":\"^1.1.0\"},\"deprecated\":false,\"description\":\"An Esprima-compatible JavaScript parser built on Acorn\",\"devDependencies\":{\"browserify\":\"^16.5.0\",\"chai\":\"^4.2.0\",\"eslint\":\"^6.0.1\",\"eslint-config-eslint\":\"^5.0.1\",\"eslint-plugin-node\":\"^9.1.0\",\"eslint-release\":\"^1.0.0\",\"esprima\":\"latest\",\"esprima-fb\":\"^8001.2001.0-dev-harmony-fb\",\"json-diff\":\"^0.5.4\",\"leche\":\"^2.3.0\",\"mocha\":\"^6.2.0\",\"nyc\":\"^14.1.1\",\"regenerate\":\"^1.4.0\",\"shelljs\":\"^0.3.0\",\"shelljs-nodecli\":\"^0.1.1\",\"unicode-6.3.0\":\"^0.7.5\"},\"engines\":{\"node\":\"^10.12.0 || >=12.0.0\"},\"files\":[\"lib\",\"espree.js\"],\"homepage\":\"https://github.com/eslint/espree\",\"keywords\":[\"ast\",\"ecmascript\",\"javascript\",\"parser\",\"syntax\",\"acorn\"],\"license\":\"BSD-2-Clause\",\"main\":\"espree.js\",\"name\":\"espree\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/eslint/espree.git\"},\"scripts\":{\"browserify\":\"node Makefile.js browserify\",\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"generate-regex\":\"node tools/generate-identifier-regex.js\",\"generate-release\":\"eslint-generate-release\",\"lint\":\"node Makefile.js lint\",\"publish-release\":\"eslint-publish-release\",\"sync-docs\":\"node Makefile.js docs\",\"test\":\"npm run-script lint && node Makefile.js test\"},\"version\":\"7.0.0\"}");
/***/ }),
/* 403 */
/* 408 */
/***/ (function(module) {
-module.exports = JSON.parse("{\"name\":\"eslint\",\"version\":\"7.0.0\",\"author\":\"Nicholas C. Zakas <nicholas+npm@nczconsulting.com>\",\"description\":\"An AST-based pattern checker for JavaScript.\",\"bin\":{\"eslint\":\"./bin/eslint.js\"},\"main\":\"./lib/api.js\",\"scripts\":{\"test\":\"node Makefile.js test\",\"test:cli\":\"mocha\",\"lint\":\"node Makefile.js lint\",\"fix\":\"node Makefile.js lint -- fix\",\"fuzz\":\"node Makefile.js fuzz\",\"generate-release\":\"node Makefile.js generateRelease\",\"generate-alpharelease\":\"node Makefile.js generatePrerelease -- alpha\",\"generate-betarelease\":\"node Makefile.js generatePrerelease -- beta\",\"generate-rcrelease\":\"node Makefile.js generatePrerelease -- rc\",\"publish-release\":\"node Makefile.js publishRelease\",\"docs\":\"node Makefile.js docs\",\"gensite\":\"node Makefile.js gensite\",\"webpack\":\"node Makefile.js webpack\",\"perf\":\"node Makefile.js perf\"},\"gitHooks\":{\"pre-commit\":\"lint-staged\"},\"lint-staged\":{\"*.js\":[\"eslint --fix\",\"git add\"],\"*.md\":\"markdownlint\"},\"files\":[\"LICENSE\",\"README.md\",\"bin\",\"conf\",\"lib\",\"messages\"],\"repository\":\"eslint/eslint\",\"funding\":\"https://opencollective.com/eslint\",\"homepage\":\"https://eslint.org\",\"bugs\":\"https://github.com/eslint/eslint/issues/\",\"dependencies\":{\"@babel/code-frame\":\"^7.0.0\",\"ajv\":\"^6.10.0\",\"chalk\":\"^4.0.0\",\"cross-spawn\":\"^7.0.2\",\"debug\":\"^4.0.1\",\"doctrine\":\"^3.0.0\",\"eslint-scope\":\"^5.0.0\",\"eslint-utils\":\"^2.0.0\",\"eslint-visitor-keys\":\"^1.1.0\",\"espree\":\"^7.0.0\",\"esquery\":\"^1.2.0\",\"esutils\":\"^2.0.2\",\"file-entry-cache\":\"^5.0.1\",\"functional-red-black-tree\":\"^1.0.1\",\"glob-parent\":\"^5.0.0\",\"globals\":\"^12.1.0\",\"ignore\":\"^4.0.6\",\"import-fresh\":\"^3.0.0\",\"imurmurhash\":\"^0.1.4\",\"inquirer\":\"^7.0.0\",\"is-glob\":\"^4.0.0\",\"js-yaml\":\"^3.13.1\",\"json-stable-stringify-without-jsonify\":\"^1.0.1\",\"levn\":\"^0.4.1\",\"lodash\":\"^4.17.14\",\"minimatch\":\"^3.0.4\",\"natural-compare\":\"^1.4.0\",\"optionator\":\"^0.9.1\",\"progress\":\"^2.0.0\",\"regexpp\":\"^3.1.0\",\"semver\":\"^7.2.1\",\"strip-ansi\":\"^6.0.0\",\"strip-json-comments\":\"^3.1.0\",\"table\":\"^5.2.3\",\"text-table\":\"^0.2.0\",\"v8-compile-cache\":\"^2.0.3\"},\"devDependencies\":{\"@babel/core\":\"^7.4.3\",\"@babel/preset-env\":\"^7.4.3\",\"acorn\":\"^7.1.1\",\"babel-loader\":\"^8.0.5\",\"chai\":\"^4.0.1\",\"cheerio\":\"^0.22.0\",\"common-tags\":\"^1.8.0\",\"core-js\":\"^3.1.3\",\"dateformat\":\"^3.0.3\",\"ejs\":\"^3.0.2\",\"escape-string-regexp\":\"^3.0.0\",\"eslint\":\"file:.\",\"eslint-config-eslint\":\"file:packages/eslint-config-eslint\",\"eslint-plugin-eslint-plugin\":\"^2.2.1\",\"eslint-plugin-internal-rules\":\"file:tools/internal-rules\",\"eslint-plugin-jsdoc\":\"^22.1.0\",\"eslint-plugin-node\":\"^11.1.0\",\"eslint-release\":\"^2.0.0\",\"eslump\":\"^2.0.0\",\"esprima\":\"^4.0.1\",\"glob\":\"^7.1.6\",\"jsdoc\":\"^3.5.5\",\"karma\":\"^4.0.1\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-mocha\":\"^1.3.0\",\"karma-mocha-reporter\":\"^2.2.3\",\"karma-webpack\":\"^4.0.0-rc.6\",\"leche\":\"^2.2.3\",\"lint-staged\":\"^10.1.2\",\"load-perf\":\"^0.2.0\",\"markdownlint\":\"^0.19.0\",\"markdownlint-cli\":\"^0.22.0\",\"memfs\":\"^3.0.1\",\"mocha\":\"^7.1.1\",\"mocha-junit-reporter\":\"^1.23.0\",\"npm-license\":\"^0.3.3\",\"nyc\":\"^15.0.1\",\"proxyquire\":\"^2.0.1\",\"puppeteer\":\"^2.1.1\",\"recast\":\"^0.19.0\",\"regenerator-runtime\":\"^0.13.2\",\"shelljs\":\"^0.8.2\",\"sinon\":\"^9.0.1\",\"temp\":\"^0.9.0\",\"webpack\":\"^4.35.0\",\"webpack-cli\":\"^3.3.5\",\"yorkie\":\"^2.0.0\"},\"keywords\":[\"ast\",\"lint\",\"javascript\",\"ecmascript\",\"espree\"],\"license\":\"MIT\",\"engines\":{\"node\":\"^10.12.0 || >=12.0.0\"}}");
+module.exports = JSON.parse("{\"name\":\"eslint\",\"version\":\"7.1.0\",\"author\":\"Nicholas C. Zakas <nicholas+npm@nczconsulting.com>\",\"description\":\"An AST-based pattern checker for JavaScript.\",\"bin\":{\"eslint\":\"./bin/eslint.js\"},\"main\":\"./lib/api.js\",\"scripts\":{\"test\":\"node Makefile.js test\",\"test:cli\":\"mocha\",\"lint\":\"node Makefile.js lint\",\"fix\":\"node Makefile.js lint -- fix\",\"fuzz\":\"node Makefile.js fuzz\",\"generate-release\":\"node Makefile.js generateRelease\",\"generate-alpharelease\":\"node Makefile.js generatePrerelease -- alpha\",\"generate-betarelease\":\"node Makefile.js generatePrerelease -- beta\",\"generate-rcrelease\":\"node Makefile.js generatePrerelease -- rc\",\"publish-release\":\"node Makefile.js publishRelease\",\"docs\":\"node Makefile.js docs\",\"gensite\":\"node Makefile.js gensite\",\"webpack\":\"node Makefile.js webpack\",\"perf\":\"node Makefile.js perf\"},\"gitHooks\":{\"pre-commit\":\"lint-staged\"},\"lint-staged\":{\"*.js\":[\"eslint --fix\",\"git add\"],\"*.md\":\"markdownlint\"},\"files\":[\"LICENSE\",\"README.md\",\"bin\",\"conf\",\"lib\",\"messages\"],\"repository\":\"eslint/eslint\",\"funding\":\"https://opencollective.com/eslint\",\"homepage\":\"https://eslint.org\",\"bugs\":\"https://github.com/eslint/eslint/issues/\",\"dependencies\":{\"@babel/code-frame\":\"^7.0.0\",\"ajv\":\"^6.10.0\",\"chalk\":\"^4.0.0\",\"cross-spawn\":\"^7.0.2\",\"debug\":\"^4.0.1\",\"doctrine\":\"^3.0.0\",\"eslint-scope\":\"^5.0.0\",\"eslint-utils\":\"^2.0.0\",\"eslint-visitor-keys\":\"^1.1.0\",\"espree\":\"^7.0.0\",\"esquery\":\"^1.2.0\",\"esutils\":\"^2.0.2\",\"file-entry-cache\":\"^5.0.1\",\"functional-red-black-tree\":\"^1.0.1\",\"glob-parent\":\"^5.0.0\",\"globals\":\"^12.1.0\",\"ignore\":\"^4.0.6\",\"import-fresh\":\"^3.0.0\",\"imurmurhash\":\"^0.1.4\",\"inquirer\":\"^7.0.0\",\"is-glob\":\"^4.0.0\",\"js-yaml\":\"^3.13.1\",\"json-stable-stringify-without-jsonify\":\"^1.0.1\",\"levn\":\"^0.4.1\",\"lodash\":\"^4.17.14\",\"minimatch\":\"^3.0.4\",\"natural-compare\":\"^1.4.0\",\"optionator\":\"^0.9.1\",\"progress\":\"^2.0.0\",\"regexpp\":\"^3.1.0\",\"semver\":\"^7.2.1\",\"strip-ansi\":\"^6.0.0\",\"strip-json-comments\":\"^3.1.0\",\"table\":\"^5.2.3\",\"text-table\":\"^0.2.0\",\"v8-compile-cache\":\"^2.0.3\"},\"devDependencies\":{\"@babel/core\":\"^7.4.3\",\"@babel/preset-env\":\"^7.4.3\",\"acorn\":\"^7.1.1\",\"babel-loader\":\"^8.0.5\",\"chai\":\"^4.0.1\",\"cheerio\":\"^0.22.0\",\"common-tags\":\"^1.8.0\",\"core-js\":\"^3.1.3\",\"dateformat\":\"^3.0.3\",\"ejs\":\"^3.0.2\",\"escape-string-regexp\":\"^3.0.0\",\"eslint\":\"file:.\",\"eslint-config-eslint\":\"file:packages/eslint-config-eslint\",\"eslint-plugin-eslint-plugin\":\"^2.2.1\",\"eslint-plugin-internal-rules\":\"file:tools/internal-rules\",\"eslint-plugin-jsdoc\":\"^22.1.0\",\"eslint-plugin-node\":\"^11.1.0\",\"eslint-release\":\"^2.0.0\",\"eslump\":\"^2.0.0\",\"esprima\":\"^4.0.1\",\"glob\":\"^7.1.6\",\"jsdoc\":\"^3.5.5\",\"karma\":\"^4.0.1\",\"karma-chrome-launcher\":\"^3.1.0\",\"karma-mocha\":\"^1.3.0\",\"karma-mocha-reporter\":\"^2.2.3\",\"karma-webpack\":\"^4.0.0-rc.6\",\"leche\":\"^2.2.3\",\"lint-staged\":\"^10.1.2\",\"load-perf\":\"^0.2.0\",\"markdownlint\":\"^0.19.0\",\"markdownlint-cli\":\"^0.22.0\",\"memfs\":\"^3.0.1\",\"mocha\":\"^7.1.1\",\"mocha-junit-reporter\":\"^1.23.0\",\"npm-license\":\"^0.3.3\",\"nyc\":\"^15.0.1\",\"proxyquire\":\"^2.0.1\",\"puppeteer\":\"^2.1.1\",\"recast\":\"^0.19.0\",\"regenerator-runtime\":\"^0.13.2\",\"shelljs\":\"^0.8.2\",\"sinon\":\"^9.0.1\",\"temp\":\"^0.9.0\",\"webpack\":\"^4.35.0\",\"webpack-cli\":\"^3.3.5\",\"yorkie\":\"^2.0.0\"},\"keywords\":[\"ast\",\"lint\",\"javascript\",\"ecmascript\",\"espree\"],\"license\":\"MIT\",\"engines\":{\"node\":\"^10.12.0 || >=12.0.0\"}}");
/***/ }),
/* 409 */
ConfigOps = __webpack_require__(410),
{
emitDeprecationWarning
-} = __webpack_require__(726);
+} = __webpack_require__(727);
-const ajv = __webpack_require__(727)();
+const ajv = __webpack_require__(728)();
const ruleValidators = new WeakMap();
const noop = Function.prototype; //------------------------------------------------------------------------------
"no-lone-blocks": () => __webpack_require__(569),
"no-lonely-if": () => __webpack_require__(570),
"no-loop-func": () => __webpack_require__(571),
- "no-magic-numbers": () => __webpack_require__(572),
- "no-misleading-character-class": () => __webpack_require__(573),
- "no-mixed-operators": () => __webpack_require__(579),
- "no-mixed-requires": () => __webpack_require__(580),
- "no-mixed-spaces-and-tabs": () => __webpack_require__(581),
- "no-multi-assign": () => __webpack_require__(582),
- "no-multi-spaces": () => __webpack_require__(583),
- "no-multi-str": () => __webpack_require__(584),
- "no-multiple-empty-lines": () => __webpack_require__(585),
- "no-native-reassign": () => __webpack_require__(586),
- "no-negated-condition": () => __webpack_require__(587),
- "no-negated-in-lhs": () => __webpack_require__(588),
- "no-nested-ternary": () => __webpack_require__(589),
- "no-new": () => __webpack_require__(590),
- "no-new-func": () => __webpack_require__(591),
- "no-new-object": () => __webpack_require__(592),
- "no-new-require": () => __webpack_require__(593),
- "no-new-symbol": () => __webpack_require__(594),
- "no-new-wrappers": () => __webpack_require__(595),
- "no-obj-calls": () => __webpack_require__(596),
- "no-octal": () => __webpack_require__(597),
- "no-octal-escape": () => __webpack_require__(598),
- "no-param-reassign": () => __webpack_require__(599),
- "no-path-concat": () => __webpack_require__(600),
- "no-plusplus": () => __webpack_require__(601),
- "no-process-env": () => __webpack_require__(602),
- "no-process-exit": () => __webpack_require__(603),
- "no-proto": () => __webpack_require__(604),
- "no-prototype-builtins": () => __webpack_require__(605),
- "no-redeclare": () => __webpack_require__(606),
- "no-regex-spaces": () => __webpack_require__(607),
- "no-restricted-exports": () => __webpack_require__(608),
- "no-restricted-globals": () => __webpack_require__(609),
- "no-restricted-imports": () => __webpack_require__(610),
- "no-restricted-modules": () => __webpack_require__(612),
- "no-restricted-properties": () => __webpack_require__(613),
- "no-restricted-syntax": () => __webpack_require__(614),
- "no-return-assign": () => __webpack_require__(615),
- "no-return-await": () => __webpack_require__(616),
- "no-script-url": () => __webpack_require__(617),
- "no-self-assign": () => __webpack_require__(618),
- "no-self-compare": () => __webpack_require__(619),
- "no-sequences": () => __webpack_require__(620),
- "no-setter-return": () => __webpack_require__(621),
- "no-shadow": () => __webpack_require__(622),
- "no-shadow-restricted-names": () => __webpack_require__(623),
- "no-spaced-func": () => __webpack_require__(624),
- "no-sparse-arrays": () => __webpack_require__(625),
- "no-sync": () => __webpack_require__(626),
- "no-tabs": () => __webpack_require__(627),
- "no-template-curly-in-string": () => __webpack_require__(628),
- "no-ternary": () => __webpack_require__(629),
- "no-this-before-super": () => __webpack_require__(630),
- "no-throw-literal": () => __webpack_require__(631),
- "no-trailing-spaces": () => __webpack_require__(632),
- "no-undef": () => __webpack_require__(633),
- "no-undef-init": () => __webpack_require__(634),
- "no-undefined": () => __webpack_require__(635),
- "no-underscore-dangle": () => __webpack_require__(636),
- "no-unexpected-multiline": () => __webpack_require__(637),
- "no-unmodified-loop-condition": () => __webpack_require__(638),
- "no-unneeded-ternary": () => __webpack_require__(640),
- "no-unreachable": () => __webpack_require__(641),
- "no-unsafe-finally": () => __webpack_require__(642),
- "no-unsafe-negation": () => __webpack_require__(643),
- "no-unused-expressions": () => __webpack_require__(644),
- "no-unused-labels": () => __webpack_require__(645),
- "no-unused-vars": () => __webpack_require__(646),
- "no-use-before-define": () => __webpack_require__(647),
- "no-useless-backreference": () => __webpack_require__(648),
- "no-useless-call": () => __webpack_require__(649),
- "no-useless-catch": () => __webpack_require__(650),
- "no-useless-computed-key": () => __webpack_require__(651),
- "no-useless-concat": () => __webpack_require__(652),
- "no-useless-constructor": () => __webpack_require__(653),
- "no-useless-escape": () => __webpack_require__(654),
- "no-useless-rename": () => __webpack_require__(655),
- "no-useless-return": () => __webpack_require__(656),
- "no-var": () => __webpack_require__(657),
- "no-void": () => __webpack_require__(658),
- "no-warning-comments": () => __webpack_require__(659),
- "no-whitespace-before-property": () => __webpack_require__(660),
- "no-with": () => __webpack_require__(661),
- "nonblock-statement-body-position": () => __webpack_require__(662),
- "object-curly-newline": () => __webpack_require__(663),
- "object-curly-spacing": () => __webpack_require__(664),
- "object-property-newline": () => __webpack_require__(665),
- "object-shorthand": () => __webpack_require__(666),
- "one-var": () => __webpack_require__(667),
- "one-var-declaration-per-line": () => __webpack_require__(668),
- "operator-assignment": () => __webpack_require__(669),
- "operator-linebreak": () => __webpack_require__(670),
- "padded-blocks": () => __webpack_require__(671),
- "padding-line-between-statements": () => __webpack_require__(672),
- "prefer-arrow-callback": () => __webpack_require__(673),
- "prefer-const": () => __webpack_require__(674),
- "prefer-destructuring": () => __webpack_require__(675),
- "prefer-exponentiation-operator": () => __webpack_require__(676),
- "prefer-named-capture-group": () => __webpack_require__(677),
- "prefer-numeric-literals": () => __webpack_require__(678),
- "prefer-object-spread": () => __webpack_require__(679),
- "prefer-promise-reject-errors": () => __webpack_require__(680),
- "prefer-reflect": () => __webpack_require__(681),
- "prefer-regex-literals": () => __webpack_require__(682),
- "prefer-rest-params": () => __webpack_require__(683),
- "prefer-spread": () => __webpack_require__(684),
- "prefer-template": () => __webpack_require__(685),
- "quote-props": () => __webpack_require__(686),
- quotes: () => __webpack_require__(687),
- radix: () => __webpack_require__(688),
- "require-atomic-updates": () => __webpack_require__(689),
- "require-await": () => __webpack_require__(690),
- "require-jsdoc": () => __webpack_require__(691),
- "require-unicode-regexp": () => __webpack_require__(692),
- "require-yield": () => __webpack_require__(693),
- "rest-spread-spacing": () => __webpack_require__(694),
- semi: () => __webpack_require__(695),
- "semi-spacing": () => __webpack_require__(696),
- "semi-style": () => __webpack_require__(697),
- "sort-imports": () => __webpack_require__(698),
- "sort-keys": () => __webpack_require__(699),
- "sort-vars": () => __webpack_require__(701),
- "space-before-blocks": () => __webpack_require__(702),
- "space-before-function-paren": () => __webpack_require__(703),
- "space-in-parens": () => __webpack_require__(704),
- "space-infix-ops": () => __webpack_require__(705),
- "space-unary-ops": () => __webpack_require__(706),
- "spaced-comment": () => __webpack_require__(707),
- strict: () => __webpack_require__(708),
- "switch-colon-spacing": () => __webpack_require__(709),
- "symbol-description": () => __webpack_require__(710),
- "template-curly-spacing": () => __webpack_require__(711),
- "template-tag-spacing": () => __webpack_require__(712),
- "unicode-bom": () => __webpack_require__(713),
- "use-isnan": () => __webpack_require__(714),
- "valid-jsdoc": () => __webpack_require__(715),
- "valid-typeof": () => __webpack_require__(720),
- "vars-on-top": () => __webpack_require__(721),
- "wrap-iife": () => __webpack_require__(722),
- "wrap-regex": () => __webpack_require__(723),
- "yield-star-spacing": () => __webpack_require__(724),
- yoda: () => __webpack_require__(725)
+ "no-loss-of-precision": () => __webpack_require__(572),
+ "no-magic-numbers": () => __webpack_require__(573),
+ "no-misleading-character-class": () => __webpack_require__(574),
+ "no-mixed-operators": () => __webpack_require__(580),
+ "no-mixed-requires": () => __webpack_require__(581),
+ "no-mixed-spaces-and-tabs": () => __webpack_require__(582),
+ "no-multi-assign": () => __webpack_require__(583),
+ "no-multi-spaces": () => __webpack_require__(584),
+ "no-multi-str": () => __webpack_require__(585),
+ "no-multiple-empty-lines": () => __webpack_require__(586),
+ "no-native-reassign": () => __webpack_require__(587),
+ "no-negated-condition": () => __webpack_require__(588),
+ "no-negated-in-lhs": () => __webpack_require__(589),
+ "no-nested-ternary": () => __webpack_require__(590),
+ "no-new": () => __webpack_require__(591),
+ "no-new-func": () => __webpack_require__(592),
+ "no-new-object": () => __webpack_require__(593),
+ "no-new-require": () => __webpack_require__(594),
+ "no-new-symbol": () => __webpack_require__(595),
+ "no-new-wrappers": () => __webpack_require__(596),
+ "no-obj-calls": () => __webpack_require__(597),
+ "no-octal": () => __webpack_require__(598),
+ "no-octal-escape": () => __webpack_require__(599),
+ "no-param-reassign": () => __webpack_require__(600),
+ "no-path-concat": () => __webpack_require__(601),
+ "no-plusplus": () => __webpack_require__(602),
+ "no-process-env": () => __webpack_require__(603),
+ "no-process-exit": () => __webpack_require__(604),
+ "no-proto": () => __webpack_require__(605),
+ "no-prototype-builtins": () => __webpack_require__(606),
+ "no-redeclare": () => __webpack_require__(607),
+ "no-regex-spaces": () => __webpack_require__(608),
+ "no-restricted-exports": () => __webpack_require__(609),
+ "no-restricted-globals": () => __webpack_require__(610),
+ "no-restricted-imports": () => __webpack_require__(611),
+ "no-restricted-modules": () => __webpack_require__(613),
+ "no-restricted-properties": () => __webpack_require__(614),
+ "no-restricted-syntax": () => __webpack_require__(615),
+ "no-return-assign": () => __webpack_require__(616),
+ "no-return-await": () => __webpack_require__(617),
+ "no-script-url": () => __webpack_require__(618),
+ "no-self-assign": () => __webpack_require__(619),
+ "no-self-compare": () => __webpack_require__(620),
+ "no-sequences": () => __webpack_require__(621),
+ "no-setter-return": () => __webpack_require__(622),
+ "no-shadow": () => __webpack_require__(623),
+ "no-shadow-restricted-names": () => __webpack_require__(624),
+ "no-spaced-func": () => __webpack_require__(625),
+ "no-sparse-arrays": () => __webpack_require__(626),
+ "no-sync": () => __webpack_require__(627),
+ "no-tabs": () => __webpack_require__(628),
+ "no-template-curly-in-string": () => __webpack_require__(629),
+ "no-ternary": () => __webpack_require__(630),
+ "no-this-before-super": () => __webpack_require__(631),
+ "no-throw-literal": () => __webpack_require__(632),
+ "no-trailing-spaces": () => __webpack_require__(633),
+ "no-undef": () => __webpack_require__(634),
+ "no-undef-init": () => __webpack_require__(635),
+ "no-undefined": () => __webpack_require__(636),
+ "no-underscore-dangle": () => __webpack_require__(637),
+ "no-unexpected-multiline": () => __webpack_require__(638),
+ "no-unmodified-loop-condition": () => __webpack_require__(639),
+ "no-unneeded-ternary": () => __webpack_require__(641),
+ "no-unreachable": () => __webpack_require__(642),
+ "no-unsafe-finally": () => __webpack_require__(643),
+ "no-unsafe-negation": () => __webpack_require__(644),
+ "no-unused-expressions": () => __webpack_require__(645),
+ "no-unused-labels": () => __webpack_require__(646),
+ "no-unused-vars": () => __webpack_require__(647),
+ "no-use-before-define": () => __webpack_require__(648),
+ "no-useless-backreference": () => __webpack_require__(649),
+ "no-useless-call": () => __webpack_require__(650),
+ "no-useless-catch": () => __webpack_require__(651),
+ "no-useless-computed-key": () => __webpack_require__(652),
+ "no-useless-concat": () => __webpack_require__(653),
+ "no-useless-constructor": () => __webpack_require__(654),
+ "no-useless-escape": () => __webpack_require__(655),
+ "no-useless-rename": () => __webpack_require__(656),
+ "no-useless-return": () => __webpack_require__(657),
+ "no-var": () => __webpack_require__(658),
+ "no-void": () => __webpack_require__(659),
+ "no-warning-comments": () => __webpack_require__(660),
+ "no-whitespace-before-property": () => __webpack_require__(661),
+ "no-with": () => __webpack_require__(662),
+ "nonblock-statement-body-position": () => __webpack_require__(663),
+ "object-curly-newline": () => __webpack_require__(664),
+ "object-curly-spacing": () => __webpack_require__(665),
+ "object-property-newline": () => __webpack_require__(666),
+ "object-shorthand": () => __webpack_require__(667),
+ "one-var": () => __webpack_require__(668),
+ "one-var-declaration-per-line": () => __webpack_require__(669),
+ "operator-assignment": () => __webpack_require__(670),
+ "operator-linebreak": () => __webpack_require__(671),
+ "padded-blocks": () => __webpack_require__(672),
+ "padding-line-between-statements": () => __webpack_require__(673),
+ "prefer-arrow-callback": () => __webpack_require__(674),
+ "prefer-const": () => __webpack_require__(675),
+ "prefer-destructuring": () => __webpack_require__(676),
+ "prefer-exponentiation-operator": () => __webpack_require__(677),
+ "prefer-named-capture-group": () => __webpack_require__(678),
+ "prefer-numeric-literals": () => __webpack_require__(679),
+ "prefer-object-spread": () => __webpack_require__(680),
+ "prefer-promise-reject-errors": () => __webpack_require__(681),
+ "prefer-reflect": () => __webpack_require__(682),
+ "prefer-regex-literals": () => __webpack_require__(683),
+ "prefer-rest-params": () => __webpack_require__(684),
+ "prefer-spread": () => __webpack_require__(685),
+ "prefer-template": () => __webpack_require__(686),
+ "quote-props": () => __webpack_require__(687),
+ quotes: () => __webpack_require__(688),
+ radix: () => __webpack_require__(689),
+ "require-atomic-updates": () => __webpack_require__(690),
+ "require-await": () => __webpack_require__(691),
+ "require-jsdoc": () => __webpack_require__(692),
+ "require-unicode-regexp": () => __webpack_require__(693),
+ "require-yield": () => __webpack_require__(694),
+ "rest-spread-spacing": () => __webpack_require__(695),
+ semi: () => __webpack_require__(696),
+ "semi-spacing": () => __webpack_require__(697),
+ "semi-style": () => __webpack_require__(698),
+ "sort-imports": () => __webpack_require__(699),
+ "sort-keys": () => __webpack_require__(700),
+ "sort-vars": () => __webpack_require__(702),
+ "space-before-blocks": () => __webpack_require__(703),
+ "space-before-function-paren": () => __webpack_require__(704),
+ "space-in-parens": () => __webpack_require__(705),
+ "space-infix-ops": () => __webpack_require__(706),
+ "space-unary-ops": () => __webpack_require__(707),
+ "spaced-comment": () => __webpack_require__(708),
+ strict: () => __webpack_require__(709),
+ "switch-colon-spacing": () => __webpack_require__(710),
+ "symbol-description": () => __webpack_require__(711),
+ "template-curly-spacing": () => __webpack_require__(712),
+ "template-tag-spacing": () => __webpack_require__(713),
+ "unicode-bom": () => __webpack_require__(714),
+ "use-isnan": () => __webpack_require__(715),
+ "valid-jsdoc": () => __webpack_require__(716),
+ "valid-typeof": () => __webpack_require__(721),
+ "vars-on-top": () => __webpack_require__(722),
+ "wrap-iife": () => __webpack_require__(723),
+ "wrap-regex": () => __webpack_require__(724),
+ "yield-star-spacing": () => __webpack_require__(725),
+ yoda: () => __webpack_require__(726)
}));
/***/ }),
"use strict";
/**
- * @fileoverview Rule to flag wrapping non-iife in parens
+ * @fileoverview Rule to enforce getter and setter pairs in objects and classes.
* @author Gyandeep Singh
*/
//------------------------------------------------------------------------------
/**
* Gets next location when the result is not out of bound, otherwise returns null.
+ *
+ * Assumptions:
+ *
+ * - The given location represents a valid location in the given source code.
+ * - Columns are 0-based.
+ * - Lines are 1-based.
+ * - Column immediately after the last character in a line (not incl. linebreaks) is considered to be a valid location.
+ * - If the source code ends with a linebreak, `sourceCode.lines` array will have an extra element (empty string) at the end.
+ * The start (column 0) of that extra line is considered to be a valid location.
+ *
+ * Examples of successive locations (line, column):
+ *
+ * code: foo
+ * locations: (1, 0) -> (1, 1) -> (1, 2) -> (1, 3) -> null
+ *
+ * code: foo<LF>
+ * locations: (1, 0) -> (1, 1) -> (1, 2) -> (1, 3) -> (2, 0) -> null
+ *
+ * code: foo<CR><LF>
+ * locations: (1, 0) -> (1, 1) -> (1, 2) -> (1, 3) -> (2, 0) -> null
+ *
+ * code: a<LF>b
+ * locations: (1, 0) -> (1, 1) -> (2, 0) -> (2, 1) -> null
+ *
+ * code: a<LF>b<LF>
+ * locations: (1, 0) -> (1, 1) -> (2, 0) -> (2, 1) -> (3, 0) -> null
+ *
+ * code: a<CR><LF>b<CR><LF>
+ * locations: (1, 0) -> (1, 1) -> (2, 0) -> (2, 1) -> (3, 0) -> null
+ *
+ * code: a<LF><LF>
+ * locations: (1, 0) -> (1, 1) -> (2, 0) -> (3, 0) -> null
+ *
+ * code: <LF>
+ * locations: (1, 0) -> (2, 0) -> null
+ *
+ * code:
+ * locations: (1, 0) -> null
* @param {SourceCode} sourceCode The sourceCode
* @param {{line: number, column: number}} location The location
* @returns {{line: number, column: number} | null} Next location
*/
- getNextLocation(sourceCode, location) {
- const index = sourceCode.getIndexFromLoc(location); // Avoid out of bound location
+ getNextLocation(sourceCode, {
+ line,
+ column
+ }) {
+ if (column < sourceCode.lines[line - 1].length) {
+ return {
+ line,
+ column: column + 1
+ };
+ }
- if (index + 1 > sourceCode.text.length) {
- return null;
+ if (line < sourceCode.lines.length) {
+ return {
+ line: line + 1,
+ column: 0
+ };
}
- return sourceCode.getLocFromIndex(index + 1);
+ return null;
},
/**
const asyncToken = isAsync ? sourceCode.getTokenBefore(firstTokenOfParam) : null;
const shouldAddSpaceForAsync = asyncToken && asyncToken.range[1] === firstTokenOfParam.range[0];
return fixer.replaceTextRange([firstTokenOfParam.range[0], closingParenToken.range[1]], "".concat(shouldAddSpaceForAsync ? " " : "").concat(paramToken.value));
+ }
+ /**
+ * Checks whether there are comments inside the params or not.
+ * @returns {boolean} `true` if there are comments inside of parens, else `false`
+ */
+
+
+ function hasCommentsInParens() {
+ if (astUtils.isOpeningParenToken(firstTokenOfParam)) {
+ const closingParenToken = sourceCode.getTokenAfter(node.params[0], astUtils.isClosingParenToken);
+ return closingParenToken && sourceCode.commentsExistBetween(firstTokenOfParam, closingParenToken);
+ }
+
+ return false;
+ }
+
+ if (hasCommentsInParens()) {
+ return;
} // "as-needed", { "requireForBlockBody": true }: x => x
- if (requireForBlockBody && node.params.length === 1 && node.params[0].type === "Identifier" && !node.params[0].typeAnnotation && node.body.type !== "BlockStatement" && !node.returnType) {
+ if (requireForBlockBody && node.params[0].type === "Identifier" && !node.params[0].typeAnnotation && node.body.type !== "BlockStatement" && !node.returnType) {
if (astUtils.isOpeningParenToken(firstTokenOfParam)) {
context.report({
node,
} // "as-needed": x => x
- if (asNeeded && node.params.length === 1 && node.params[0].type === "Identifier" && !node.params[0].typeAnnotation && !node.returnType) {
+ if (asNeeded && node.params[0].type === "Identifier" && !node.params[0].typeAnnotation && !node.returnType) {
if (astUtils.isOpeningParenToken(firstTokenOfParam)) {
context.report({
node,
}
return {
- ArrowFunctionExpression: parens
+ "ArrowFunctionExpression[params.length=1]": parens
};
}
if (!isValid(openBrace, firstToken)) {
+ let loc = openBrace.loc;
+
+ if (messageId === "extra") {
+ loc = {
+ start: openBrace.loc.end,
+ end: firstToken.loc.start
+ };
+ }
+
context.report({
node,
- loc: openBrace.loc.start,
+ loc,
messageId,
data: {
location: "after",
}
if (!isValid(lastToken, closeBrace)) {
+ let loc = closeBrace.loc;
+
+ if (messageId === "extra") {
+ loc = {
+ start: lastToken.loc.end,
+ end: closeBrace.loc.start
+ };
+ }
+
context.report({
node,
- loc: closeBrace.loc.start,
+ loc,
messageId,
data: {
location: "before",
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/callback-return"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "require `return` statements after callbacks",
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/global-require"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "require `require()` calls to be placed at top-level module scope",
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/handle-callback-err"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "require error handling in callbacks",
context.report({
node,
loc: {
- line: i,
- column: sourceCode.lines[i - 1].length
+ start: {
+ line: i,
+ column: sourceCode.lines[i - 1].length
+ },
+ end: {
+ line: i + 1,
+ column: 0
+ }
},
messageId: expectedLF ? "expectedLF" : "expectedCRLF",
fix: createFix(range, expectedLFChars)
function isIIFE(node) {
- return node.type === "FunctionExpression" && node.parent && node.parent.type === "CallExpression" && node.parent.callee === node;
+ return (node.type === "FunctionExpression" || node.type === "ArrowFunctionExpression") && node.parent && node.parent.type === "CallExpression" && node.parent.callee === node;
}
/**
* Identifies is a node is a FunctionExpression which is embedded within a MethodDefinition or Property
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-deprecated-api"],
+ replacedBy: [],
type: "problem",
docs: {
description: "disallow use of the `Buffer()` constructor",
/* 572 */
/***/ (function(module, exports, __webpack_require__) {
+"use strict";
+/**
+ * @fileoverview Rule to flag numbers that will lose significant figure precision at runtime
+ * @author Jacob Moore
+ */
+ //------------------------------------------------------------------------------
+// Rule Definition
+//------------------------------------------------------------------------------
+
+module.exports = {
+ meta: {
+ type: "problem",
+ docs: {
+ description: "disallow literal numbers that lose precision",
+ category: "Possible Errors",
+ recommended: false,
+ url: "https://eslint.org/docs/rules/no-loss-of-precision"
+ },
+ schema: [],
+ messages: {
+ noLossOfPrecision: "This number literal will lose precision at runtime."
+ }
+ },
+
+ create(context) {
+ /**
+ * Returns whether the node is number literal
+ * @param {Node} node the node literal being evaluated
+ * @returns {boolean} true if the node is a number literal
+ */
+ function isNumber(node) {
+ return typeof node.value === "number";
+ }
+ /**
+ * Checks whether the number is base ten
+ * @param {ASTNode} node the node being evaluated
+ * @returns {boolean} true if the node is in base ten
+ */
+
+
+ function isBaseTen(node) {
+ const prefixes = ["0x", "0X", "0b", "0B", "0o", "0O"];
+ return prefixes.every(prefix => !node.raw.startsWith(prefix)) && !/^0[0-7]+$/u.test(node.raw);
+ }
+ /**
+ * Checks that the user-intended non-base ten number equals the actual number after is has been converted to the Number type
+ * @param {Node} node the node being evaluated
+ * @returns {boolean} true if they do not match
+ */
+
+
+ function notBaseTenLosesPrecision(node) {
+ const rawString = node.raw.toUpperCase();
+ let base = 0;
+
+ if (rawString.startsWith("0B")) {
+ base = 2;
+ } else if (rawString.startsWith("0X")) {
+ base = 16;
+ } else {
+ base = 8;
+ }
+
+ return !rawString.endsWith(node.value.toString(base).toUpperCase());
+ }
+ /**
+ * Adds a decimal point to the numeric string at index 1
+ * @param {string} stringNumber the numeric string without any decimal point
+ * @returns {string} the numeric string with a decimal point in the proper place
+ */
+
+
+ function addDecimalPointToNumber(stringNumber) {
+ return "".concat(stringNumber.slice(0, 1), ".").concat(stringNumber.slice(1));
+ }
+ /**
+ * Returns the number stripped of leading zeros
+ * @param {string} numberAsString the string representation of the number
+ * @returns {string} the stripped string
+ */
+
+
+ function removeLeadingZeros(numberAsString) {
+ return numberAsString.replace(/^0*/u, "");
+ }
+ /**
+ * Returns the number stripped of trailing zeros
+ * @param {string} numberAsString the string representation of the number
+ * @returns {string} the stripped string
+ */
+
+
+ function removeTrailingZeros(numberAsString) {
+ return numberAsString.replace(/0*$/u, "");
+ }
+ /**
+ * Converts an integer to to an object containing the the integer's coefficient and order of magnitude
+ * @param {string} stringInteger the string representation of the integer being converted
+ * @returns {Object} the object containing the the integer's coefficient and order of magnitude
+ */
+
+
+ function normalizeInteger(stringInteger) {
+ const significantDigits = removeTrailingZeros(removeLeadingZeros(stringInteger));
+ return {
+ magnitude: stringInteger.startsWith("0") ? stringInteger.length - 2 : stringInteger.length - 1,
+ coefficient: addDecimalPointToNumber(significantDigits)
+ };
+ }
+ /**
+ *
+ * Converts a float to to an object containing the the floats's coefficient and order of magnitude
+ * @param {string} stringFloat the string representation of the float being converted
+ * @returns {Object} the object containing the the integer's coefficient and order of magnitude
+ */
+
+
+ function normalizeFloat(stringFloat) {
+ const trimmedFloat = removeLeadingZeros(stringFloat);
+
+ if (trimmedFloat.startsWith(".")) {
+ const decimalDigits = trimmedFloat.split(".").pop();
+ const significantDigits = removeLeadingZeros(decimalDigits);
+ return {
+ magnitude: significantDigits.length - decimalDigits.length - 1,
+ coefficient: addDecimalPointToNumber(significantDigits)
+ };
+ }
+
+ return {
+ magnitude: trimmedFloat.indexOf(".") - 1,
+ coefficient: addDecimalPointToNumber(trimmedFloat.replace(".", ""))
+ };
+ }
+ /**
+ * Converts a base ten number to proper scientific notation
+ * @param {string} stringNumber the string representation of the base ten number to be converted
+ * @returns {string} the number converted to scientific notation
+ */
+
+
+ function convertNumberToScientificNotation(stringNumber) {
+ const splitNumber = stringNumber.replace("E", "e").split("e");
+ const originalCoefficient = splitNumber[0];
+ const normalizedNumber = stringNumber.includes(".") ? normalizeFloat(originalCoefficient) : normalizeInteger(originalCoefficient);
+ const normalizedCoefficient = normalizedNumber.coefficient;
+ const magnitude = splitNumber.length > 1 ? parseInt(splitNumber[1], 10) + normalizedNumber.magnitude : normalizedNumber.magnitude;
+ return "".concat(normalizedCoefficient, "e").concat(magnitude);
+ }
+ /**
+ * Checks that the user-intended base ten number equals the actual number after is has been converted to the Number type
+ * @param {Node} node the node being evaluated
+ * @returns {boolean} true if they do not match
+ */
+
+
+ function baseTenLosesPrecision(node) {
+ const normalizedRawNumber = convertNumberToScientificNotation(node.raw);
+ const requestedPrecision = normalizedRawNumber.split("e")[0].replace(".", "").length;
+
+ if (requestedPrecision > 100) {
+ return true;
+ }
+
+ const storedNumber = node.value.toPrecision(requestedPrecision);
+ const normalizedStoredNumber = convertNumberToScientificNotation(storedNumber);
+ return normalizedRawNumber !== normalizedStoredNumber;
+ }
+ /**
+ * Checks that the user-intended number equals the actual number after is has been converted to the Number type
+ * @param {Node} node the node being evaluated
+ * @returns {boolean} true if they do not match
+ */
+
+
+ function losesPrecision(node) {
+ return isBaseTen(node) ? baseTenLosesPrecision(node) : notBaseTenLosesPrecision(node);
+ }
+
+ return {
+ Literal(node) {
+ if (node.value && isNumber(node) && losesPrecision(node)) {
+ context.report({
+ messageId: "noLossOfPrecision",
+ node
+ });
+ }
+ }
+
+ };
+ }
+
+};
+
+/***/ }),
+/* 573 */
+/***/ (function(module, exports, __webpack_require__) {
+
"use strict";
/**
* @fileoverview Rule to flag statements that use magic numbers (adapted from https://github.com/danielstjules/buddy.js)
};
/***/ }),
-/* 573 */
+/* 574 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
isEmojiModifier,
isRegionalIndicatorSymbol,
isSurrogatePair
-} = __webpack_require__(574); //------------------------------------------------------------------------------
+} = __webpack_require__(575); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
};
/***/ }),
-/* 574 */
+/* 575 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
- isCombiningCharacter: __webpack_require__(575),
- isEmojiModifier: __webpack_require__(576),
- isRegionalIndicatorSymbol: __webpack_require__(577),
- isSurrogatePair: __webpack_require__(578)
+ isCombiningCharacter: __webpack_require__(576),
+ isEmojiModifier: __webpack_require__(577),
+ isRegionalIndicatorSymbol: __webpack_require__(578),
+ isSurrogatePair: __webpack_require__(579)
};
/***/ }),
-/* 575 */
+/* 576 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 576 */
+/* 577 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 577 */
+/* 578 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 578 */
+/* 579 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 579 */
+/* 580 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 580 */
+/* 581 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-mixed-requires"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow `require` calls to be mixed with regular variable declarations",
};
/***/ }),
-/* 581 */
+/* 582 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 582 */
+/* 583 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 583 */
+/* 584 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 584 */
+/* 585 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 585 */
+/* 586 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 586 */
+/* 587 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 587 */
+/* 588 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 588 */
+/* 589 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 589 */
+/* 590 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 590 */
+/* 591 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 591 */
+/* 592 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
},
create(context) {
- //--------------------------------------------------------------------------
- // Helpers
- //--------------------------------------------------------------------------
+ return {
+ "Program:exit"() {
+ const globalScope = context.getScope();
+ const variable = globalScope.set.get("Function");
- /**
- * Reports a node.
- * @param {ASTNode} node The node to report
- * @returns {void}
- * @private
- */
- function report(node) {
- context.report({
- node,
- messageId: "noFunctionConstructor"
- });
- }
+ if (variable && variable.defs.length === 0) {
+ variable.references.forEach(ref => {
+ const node = ref.identifier;
+ const {
+ parent
+ } = node;
+
+ if (parent && (parent.type === "NewExpression" || parent.type === "CallExpression") && node === parent.callee) {
+ context.report({
+ node: parent,
+ messageId: "noFunctionConstructor"
+ });
+ }
+ });
+ }
+ }
- return {
- "NewExpression[callee.name = 'Function']": report,
- "CallExpression[callee.name = 'Function']": report
};
}
};
/***/ }),
-/* 592 */
+/* 593 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 593 */
+/* 594 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-new-require"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow `new` operators with calls to `require`",
};
/***/ }),
-/* 594 */
+/* 595 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
if (variable && variable.defs.length === 0) {
variable.references.forEach(ref => {
const node = ref.identifier;
+ const parent = node.parent;
- if (node.parent && node.parent.type === "NewExpression") {
+ if (parent && parent.type === "NewExpression" && parent.callee === node) {
context.report({
node,
messageId: "noNewSymbol"
};
/***/ }),
-/* 595 */
+/* 596 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 596 */
+/* 597 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 597 */
+/* 598 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 598 */
+/* 599 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 599 */
+/* 600 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 600 */
+/* 601 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-path-concat"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow string concatenation with `__dirname` and `__filename`",
};
/***/ }),
-/* 601 */
+/* 602 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 602 */
+/* 603 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-process-env"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow the use of `process.env`",
};
/***/ }),
-/* 603 */
+/* 604 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-process-exit"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow the use of `process.exit()`",
};
/***/ }),
-/* 604 */
+/* 605 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 605 */
+/* 606 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 606 */
+/* 607 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 607 */
+/* 608 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 608 */
+/* 609 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 609 */
+/* 610 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 610 */
+/* 611 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Rule Definition
//------------------------------------------------------------------------------
-const ignore = __webpack_require__(611);
+const ignore = __webpack_require__(612);
const arrayOfStrings = {
type: "array",
};
/***/ }),
-/* 611 */
+/* 612 */
/***/ (function(module, exports) {
// A simple implementation of make-array
module.exports = options => new IgnoreBase(options);
/***/ }),
-/* 612 */
+/* 613 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Rule Definition
//------------------------------------------------------------------------------
-const ignore = __webpack_require__(611);
+const ignore = __webpack_require__(612);
const arrayOfStrings = {
type: "array",
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-restricted-require"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow specified modules when loaded by `require`",
};
/***/ }),
-/* 613 */
+/* 614 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 614 */
+/* 615 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 615 */
+/* 616 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 616 */
+/* 617 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 617 */
+/* 618 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 618 */
+/* 619 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 619 */
+/* 620 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 620 */
+/* 621 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 621 */
+/* 622 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 622 */
+/* 623 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 623 */
+/* 624 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 624 */
+/* 625 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 625 */
+/* 626 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 626 */
+/* 627 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
meta: {
deprecated: true,
- replacedBy: ["node/no-sync"],
+ replacedBy: [],
type: "suggestion",
docs: {
description: "disallow synchronous methods",
};
/***/ }),
-/* 627 */
+/* 628 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 628 */
+/* 629 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 629 */
+/* 630 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 630 */
+/* 631 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 631 */
+/* 632 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 632 */
+/* 633 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 633 */
+/* 634 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 634 */
+/* 635 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 635 */
+/* 636 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 636 */
+/* 637 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 637 */
+/* 638 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 638 */
+/* 639 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const Traverser = __webpack_require__(639),
+const Traverser = __webpack_require__(640),
astUtils = __webpack_require__(426); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
};
/***/ }),
-/* 639 */
+/* 640 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = Traverser;
/***/ }),
-/* 640 */
+/* 641 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 641 */
+/* 642 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 642 */
+/* 643 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 643 */
+/* 644 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 644 */
+/* 645 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 645 */
+/* 646 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 646 */
+/* 647 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 647 */
+/* 648 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 648 */
+/* 649 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 649 */
+/* 650 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 650 */
+/* 651 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 651 */
+/* 652 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 652 */
+/* 653 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 653 */
+/* 654 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 654 */
+/* 655 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 655 */
+/* 656 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 656 */
+/* 657 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 657 */
+/* 658 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 658 */
+/* 659 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 659 */
+/* 660 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 660 */
+/* 661 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 661 */
+/* 662 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 662 */
+/* 663 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 663 */
+/* 664 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 664 */
+/* 665 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 665 */
+/* 666 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 666 */
+/* 667 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 667 */
+/* 668 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 668 */
+/* 669 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
context.report({
node,
messageId: "expectVarOnNewline",
- loc: current.loc.start,
+ loc: current.loc,
fix: fixer => fixer.insertTextBefore(current, "\n")
});
}
};
/***/ }),
-/* 669 */
+/* 670 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 670 */
+/* 671 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 671 */
+/* 672 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
context.report({
node,
loc: {
- line: tokenBeforeFirst.loc.start.line,
- column: tokenBeforeFirst.loc.start.column
+ start: tokenBeforeFirst.loc.start,
+ end: firstBlockToken.loc.start
},
fix(fixer) {
context.report({
node,
loc: {
- line: tokenAfterLast.loc.end.line,
- column: tokenAfterLast.loc.end.column - 1
+ end: tokenAfterLast.loc.start,
+ start: lastBlockToken.loc.end
},
fix(fixer) {
context.report({
node,
loc: {
- line: tokenBeforeFirst.loc.start.line,
- column: tokenBeforeFirst.loc.start.column
+ start: tokenBeforeFirst.loc.start,
+ end: firstBlockToken.loc.start
},
fix(fixer) {
context.report({
node,
loc: {
- line: tokenAfterLast.loc.end.line,
- column: tokenAfterLast.loc.end.column - 1
+ end: tokenAfterLast.loc.start,
+ start: lastBlockToken.loc.end
},
messageId: "neverPadBlock",
};
/***/ }),
-/* 672 */
+/* 673 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 673 */
+/* 674 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 674 */
+/* 675 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 675 */
+/* 676 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 676 */
+/* 677 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 677 */
+/* 678 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 678 */
+/* 679 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 679 */
+/* 680 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 680 */
+/* 681 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 681 */
+/* 682 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 682 */
+/* 683 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 683 */
+/* 684 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 684 */
+/* 685 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 685 */
+/* 686 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 686 */
+/* 687 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 687 */
+/* 688 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 688 */
+/* 689 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 689 */
+/* 690 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 690 */
+/* 691 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 691 */
+/* 692 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 692 */
+/* 693 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 693 */
+/* 694 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 694 */
+/* 695 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
if (alwaysSpace && !hasWhitespace) {
context.report({
node,
- loc: {
- line: operator.loc.end.line,
- column: operator.loc.end.column
- },
+ loc: operator.loc,
messageId: "expectedWhitespace",
data: {
type
context.report({
node,
loc: {
- line: operator.loc.end.line,
- column: operator.loc.end.column
+ start: operator.loc.end,
+ end: nextToken.loc.start
},
messageId: "unexpectedWhitespace",
data: {
};
/***/ }),
-/* 695 */
+/* 696 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 696 */
+/* 697 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
return nextToken && astUtils.isClosingBraceToken(nextToken) || astUtils.isClosingParenToken(nextToken);
}
/**
+ * Report location example :
+ *
+ * for unexpected space `before`
+ *
+ * var a = 'b' ;
+ * ^^^
+ *
+ * for unexpected space `after`
+ *
+ * var a = 'b'; c = 10;
+ * ^^
+ *
* Reports if the given token has invalid spacing.
* @param {Token} token The semicolon token to check.
* @param {ASTNode} node The corresponding node of the token.
function checkSemicolonSpacing(token, node) {
if (astUtils.isSemicolonToken(token)) {
- const location = token.loc.start;
-
if (hasLeadingSpace(token)) {
if (!requireSpaceBefore) {
+ const tokenBefore = sourceCode.getTokenBefore(token);
+ const loc = {
+ start: tokenBefore.loc.end,
+ end: token.loc.start
+ };
context.report({
node,
- loc: location,
+ loc,
messageId: "unexpectedWhitespaceBefore",
fix(fixer) {
- const tokenBefore = sourceCode.getTokenBefore(token);
return fixer.removeRange([tokenBefore.range[1], token.range[0]]);
}
}
} else {
if (requireSpaceBefore) {
+ const loc = token.loc;
context.report({
node,
- loc: location,
+ loc,
messageId: "missingWhitespaceBefore",
fix(fixer) {
if (!isFirstTokenInCurrentLine(token) && !isLastTokenInCurrentLine(token) && !isBeforeClosingParen(token)) {
if (hasTrailingSpace(token)) {
if (!requireSpaceAfter) {
+ const tokenAfter = sourceCode.getTokenAfter(token);
+ const loc = {
+ start: token.loc.end,
+ end: tokenAfter.loc.start
+ };
context.report({
node,
- loc: location,
+ loc,
messageId: "unexpectedWhitespaceAfter",
fix(fixer) {
- const tokenAfter = sourceCode.getTokenAfter(token);
return fixer.removeRange([token.range[1], tokenAfter.range[0]]);
}
}
} else {
if (requireSpaceAfter) {
+ const loc = token.loc;
context.report({
node,
- loc: location,
+ loc,
messageId: "missingWhitespaceAfter",
fix(fixer) {
};
/***/ }),
-/* 697 */
+/* 698 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 698 */
+/* 699 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 699 */
+/* 700 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
//------------------------------------------------------------------------------
const astUtils = __webpack_require__(426),
- naturalCompare = __webpack_require__(700); //------------------------------------------------------------------------------
+ naturalCompare = __webpack_require__(701); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
};
/***/ }),
-/* 700 */
+/* 701 */
/***/ (function(module, exports) {
/*
}
/***/ }),
-/* 701 */
+/* 702 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 702 */
+/* 703 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 703 */
+/* 704 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 704 */
+/* 705 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 705 */
+/* 706 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 706 */
+/* 707 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 707 */
+/* 708 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 708 */
+/* 709 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 709 */
+/* 710 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 710 */
+/* 711 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 711 */
+/* 712 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 712 */
+/* 713 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 713 */
+/* 714 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 714 */
+/* 715 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 715 */
+/* 716 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const doctrine = __webpack_require__(716); //------------------------------------------------------------------------------
+const doctrine = __webpack_require__(717); //------------------------------------------------------------------------------
// Rule Definition
//------------------------------------------------------------------------------
};
/***/ }),
-/* 716 */
+/* 717 */
/***/ (function(module, exports, __webpack_require__) {
/*
var typed, utility, jsdoc, esutils, hasOwnProperty;
esutils = __webpack_require__(427);
- typed = __webpack_require__(717);
- utility = __webpack_require__(718);
+ typed = __webpack_require__(718);
+ utility = __webpack_require__(719);
function sliceSource(source, index, last) {
return source.slice(index, last);
/* vim: set sw=4 ts=4 et tw=80 : */
/***/ }),
-/* 717 */
+/* 718 */
/***/ (function(module, exports, __webpack_require__) {
/*
var Syntax, Token, source, length, index, previous, token, value, esutils, utility, rangeOffset, addRange;
esutils = __webpack_require__(427);
- utility = __webpack_require__(718);
+ utility = __webpack_require__(719);
Syntax = {
NullableLiteral: 'NullableLiteral',
AllLiteral: 'AllLiteral',
/* vim: set sw=4 ts=4 et tw=80 : */
/***/ }),
-/* 718 */
+/* 719 */
/***/ (function(module, exports, __webpack_require__) {
/*
'use strict';
var VERSION;
- VERSION = __webpack_require__(719).version;
+ VERSION = __webpack_require__(720).version;
exports.VERSION = VERSION;
function DoctrineError(message) {
/* vim: set sw=4 ts=4 et tw=80 : */
/***/ }),
-/* 719 */
+/* 720 */
/***/ (function(module) {
-module.exports = JSON.parse("{\"_from\":\"doctrine@^3.0.0\",\"_id\":\"doctrine@3.0.0\",\"_inBundle\":false,\"_integrity\":\"sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==\",\"_location\":\"/doctrine\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"doctrine@^3.0.0\",\"name\":\"doctrine\",\"escapedName\":\"doctrine\",\"rawSpec\":\"^3.0.0\",\"saveSpec\":null,\"fetchSpec\":\"^3.0.0\"},\"_requiredBy\":[\"/\",\"/eslint\"],\"_resolved\":\"https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz\",\"_shasum\":\"addebead72a6574db783639dc87a121773973961\",\"_spec\":\"doctrine@^3.0.0\",\"_where\":\"/home/dcsapak/git/pve-eslint/eslint-v7.0.0\",\"bugs\":{\"url\":\"https://github.com/eslint/doctrine/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"esutils\":\"^2.0.2\"},\"deprecated\":false,\"description\":\"JSDoc parser\",\"devDependencies\":{\"coveralls\":\"^3.0.1\",\"dateformat\":\"^1.0.11\",\"eslint\":\"^1.10.3\",\"eslint-release\":\"^1.0.0\",\"linefix\":\"^0.1.1\",\"mocha\":\"^3.4.2\",\"npm-license\":\"^0.3.1\",\"nyc\":\"^10.3.2\",\"semver\":\"^5.0.3\",\"shelljs\":\"^0.5.3\",\"shelljs-nodecli\":\"^0.1.1\",\"should\":\"^5.0.1\"},\"directories\":{\"lib\":\"./lib\"},\"engines\":{\"node\":\">=6.0.0\"},\"files\":[\"lib\"],\"homepage\":\"https://github.com/eslint/doctrine\",\"license\":\"Apache-2.0\",\"main\":\"lib/doctrine.js\",\"maintainers\":[{\"name\":\"Nicholas C. Zakas\",\"email\":\"nicholas+npm@nczconsulting.com\",\"url\":\"https://www.nczonline.net\"},{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"url\":\"https://github.com/Constellation\"}],\"name\":\"doctrine\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/eslint/doctrine.git\"},\"scripts\":{\"coveralls\":\"nyc report --reporter=text-lcov | coveralls\",\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"generate-release\":\"eslint-generate-release\",\"lint\":\"eslint lib/\",\"pretest\":\"npm run lint\",\"publish-release\":\"eslint-publish-release\",\"test\":\"nyc mocha\"},\"version\":\"3.0.0\"}");
+module.exports = JSON.parse("{\"_from\":\"doctrine@^3.0.0\",\"_id\":\"doctrine@3.0.0\",\"_inBundle\":false,\"_integrity\":\"sha512-yS+Q5i3hBf7GBkd4KG8a7eBNNWNGLTaEwwYWUijIYM7zrlYDM0BFXHjjPWlWZ1Rg7UaddZeIDmi9jF3HmqiQ2w==\",\"_location\":\"/doctrine\",\"_phantomChildren\":{},\"_requested\":{\"type\":\"range\",\"registry\":true,\"raw\":\"doctrine@^3.0.0\",\"name\":\"doctrine\",\"escapedName\":\"doctrine\",\"rawSpec\":\"^3.0.0\",\"saveSpec\":null,\"fetchSpec\":\"^3.0.0\"},\"_requiredBy\":[\"/\",\"/eslint\"],\"_resolved\":\"https://registry.npmjs.org/doctrine/-/doctrine-3.0.0.tgz\",\"_shasum\":\"addebead72a6574db783639dc87a121773973961\",\"_spec\":\"doctrine@^3.0.0\",\"_where\":\"/root/sources/pve/pve-eslint/eslint-v7.1.0\",\"bugs\":{\"url\":\"https://github.com/eslint/doctrine/issues\"},\"bundleDependencies\":false,\"dependencies\":{\"esutils\":\"^2.0.2\"},\"deprecated\":false,\"description\":\"JSDoc parser\",\"devDependencies\":{\"coveralls\":\"^3.0.1\",\"dateformat\":\"^1.0.11\",\"eslint\":\"^1.10.3\",\"eslint-release\":\"^1.0.0\",\"linefix\":\"^0.1.1\",\"mocha\":\"^3.4.2\",\"npm-license\":\"^0.3.1\",\"nyc\":\"^10.3.2\",\"semver\":\"^5.0.3\",\"shelljs\":\"^0.5.3\",\"shelljs-nodecli\":\"^0.1.1\",\"should\":\"^5.0.1\"},\"directories\":{\"lib\":\"./lib\"},\"engines\":{\"node\":\">=6.0.0\"},\"files\":[\"lib\"],\"homepage\":\"https://github.com/eslint/doctrine\",\"license\":\"Apache-2.0\",\"main\":\"lib/doctrine.js\",\"maintainers\":[{\"name\":\"Nicholas C. Zakas\",\"email\":\"nicholas+npm@nczconsulting.com\",\"url\":\"https://www.nczonline.net\"},{\"name\":\"Yusuke Suzuki\",\"email\":\"utatane.tea@gmail.com\",\"url\":\"https://github.com/Constellation\"}],\"name\":\"doctrine\",\"repository\":{\"type\":\"git\",\"url\":\"git+https://github.com/eslint/doctrine.git\"},\"scripts\":{\"coveralls\":\"nyc report --reporter=text-lcov | coveralls\",\"generate-alpharelease\":\"eslint-generate-prerelease alpha\",\"generate-betarelease\":\"eslint-generate-prerelease beta\",\"generate-rcrelease\":\"eslint-generate-prerelease rc\",\"generate-release\":\"eslint-generate-release\",\"lint\":\"eslint lib/\",\"pretest\":\"npm run lint\",\"publish-release\":\"eslint-publish-release\",\"test\":\"nyc mocha\"},\"version\":\"3.0.0\"}");
/***/ }),
-/* 720 */
+/* 721 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 721 */
+/* 722 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 722 */
+/* 723 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 723 */
+/* 724 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 724 */
+/* 725 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 725 */
+/* 726 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 726 */
+/* 727 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 727 */
+/* 728 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-const Ajv = __webpack_require__(728),
- metaSchema = __webpack_require__(774); //------------------------------------------------------------------------------
+const Ajv = __webpack_require__(729),
+ metaSchema = __webpack_require__(775); //------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
};
/***/ }),
-/* 728 */
+/* 729 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var compileSchema = __webpack_require__(729),
- resolve = __webpack_require__(730),
- Cache = __webpack_require__(740),
- SchemaObject = __webpack_require__(735),
- stableStringify = __webpack_require__(738),
- formats = __webpack_require__(741),
- rules = __webpack_require__(742),
- $dataMetaSchema = __webpack_require__(767),
- util = __webpack_require__(733);
+var compileSchema = __webpack_require__(730),
+ resolve = __webpack_require__(731),
+ Cache = __webpack_require__(741),
+ SchemaObject = __webpack_require__(736),
+ stableStringify = __webpack_require__(739),
+ formats = __webpack_require__(742),
+ rules = __webpack_require__(743),
+ $dataMetaSchema = __webpack_require__(768),
+ util = __webpack_require__(734);
module.exports = Ajv;
Ajv.prototype.validate = validate;
Ajv.prototype.errorsText = errorsText;
Ajv.prototype._addSchema = _addSchema;
Ajv.prototype._compile = _compile;
-Ajv.prototype.compileAsync = __webpack_require__(768);
+Ajv.prototype.compileAsync = __webpack_require__(769);
-var customKeyword = __webpack_require__(769);
+var customKeyword = __webpack_require__(770);
Ajv.prototype.addKeyword = customKeyword.add;
Ajv.prototype.getKeyword = customKeyword.get;
Ajv.prototype.removeKeyword = customKeyword.remove;
Ajv.prototype.validateKeyword = customKeyword.validate;
-var errorClasses = __webpack_require__(737);
+var errorClasses = __webpack_require__(738);
Ajv.ValidationError = errorClasses.Validation;
Ajv.MissingRefError = errorClasses.MissingRef;
var $dataSchema;
if (self._opts.$data) {
- $dataSchema = __webpack_require__(773);
+ $dataSchema = __webpack_require__(774);
self.addMetaSchema($dataSchema, $dataSchema.$id, true);
}
if (self._opts.meta === false) return;
- var metaSchema = __webpack_require__(772);
+ var metaSchema = __webpack_require__(773);
if (self._opts.$data) metaSchema = $dataMetaSchema(metaSchema, META_SUPPORT_DATA);
self.addMetaSchema(metaSchema, META_SCHEMA_ID, true);
function noop() {}
/***/ }),
-/* 729 */
+/* 730 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var resolve = __webpack_require__(730),
- util = __webpack_require__(733),
- errorClasses = __webpack_require__(737),
- stableStringify = __webpack_require__(738);
+var resolve = __webpack_require__(731),
+ util = __webpack_require__(734),
+ errorClasses = __webpack_require__(738),
+ stableStringify = __webpack_require__(739);
-var validateGenerator = __webpack_require__(739);
+var validateGenerator = __webpack_require__(740);
/**
* Functions below are used inside compiled validations function
*/
var ucs2length = util.ucs2length;
-var equal = __webpack_require__(732); // this error is thrown by async schemas to return validation errors via exception
+var equal = __webpack_require__(733); // this error is thrown by async schemas to return validation errors via exception
var ValidationError = errorClasses.Validation;
}
/***/ }),
-/* 730 */
+/* 731 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var URI = __webpack_require__(731),
- equal = __webpack_require__(732),
- util = __webpack_require__(733),
- SchemaObject = __webpack_require__(735),
- traverse = __webpack_require__(736);
+var URI = __webpack_require__(732),
+ equal = __webpack_require__(733),
+ util = __webpack_require__(734),
+ SchemaObject = __webpack_require__(736),
+ traverse = __webpack_require__(737);
module.exports = resolve;
resolve.normalizeId = normalizeId;
}
/***/ }),
-/* 731 */
+/* 732 */
/***/ (function(module, exports, __webpack_require__) {
/** @license URI.js v4.2.1 (c) 2011 Gary Court. License: http://github.com/garycourt/uri-js */
});
/***/ }),
-/* 732 */
+/* 733 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 733 */
+/* 734 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
toHash: toHash,
getProperty: getProperty,
escapeQuotes: escapeQuotes,
- equal: __webpack_require__(732),
- ucs2length: __webpack_require__(734),
+ equal: __webpack_require__(733),
+ ucs2length: __webpack_require__(735),
varOccurences: varOccurences,
varReplace: varReplace,
cleanUpCode: cleanUpCode,
}
/***/ }),
-/* 734 */
+/* 735 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 735 */
+/* 736 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var util = __webpack_require__(733);
+var util = __webpack_require__(734);
module.exports = SchemaObject;
}
/***/ }),
-/* 736 */
+/* 737 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
}
/***/ }),
-/* 737 */
+/* 738 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var resolve = __webpack_require__(730);
+var resolve = __webpack_require__(731);
module.exports = {
Validation: errorSubclass(ValidationError),
}
/***/ }),
-/* 738 */
+/* 739 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 739 */
+/* 740 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 740 */
+/* 741 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 741 */
+/* 742 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var util = __webpack_require__(733);
+var util = __webpack_require__(734);
var DATE = /^(\d\d\d\d)-(\d\d)-(\d\d)$/;
var DAYS = [0, 31, 28, 31, 30, 31, 30, 31, 31, 30, 31, 30, 31];
}
/***/ }),
-/* 742 */
+/* 743 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var ruleModules = __webpack_require__(743),
- toHash = __webpack_require__(733).toHash;
+var ruleModules = __webpack_require__(744),
+ toHash = __webpack_require__(734).toHash;
module.exports = function rules() {
var RULES = [{
};
/***/ }),
-/* 743 */
+/* 744 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
//all requires must be explicit because browserify won't work with dynamic requires
module.exports = {
- '$ref': __webpack_require__(744),
- allOf: __webpack_require__(745),
- anyOf: __webpack_require__(746),
- '$comment': __webpack_require__(747),
- const: __webpack_require__(748),
- contains: __webpack_require__(749),
- dependencies: __webpack_require__(750),
- 'enum': __webpack_require__(751),
- format: __webpack_require__(752),
- 'if': __webpack_require__(753),
- items: __webpack_require__(754),
- maximum: __webpack_require__(755),
- minimum: __webpack_require__(755),
- maxItems: __webpack_require__(756),
- minItems: __webpack_require__(756),
- maxLength: __webpack_require__(757),
- minLength: __webpack_require__(757),
- maxProperties: __webpack_require__(758),
- minProperties: __webpack_require__(758),
- multipleOf: __webpack_require__(759),
- not: __webpack_require__(760),
- oneOf: __webpack_require__(761),
- pattern: __webpack_require__(762),
- properties: __webpack_require__(763),
- propertyNames: __webpack_require__(764),
- required: __webpack_require__(765),
- uniqueItems: __webpack_require__(766),
- validate: __webpack_require__(739)
+ '$ref': __webpack_require__(745),
+ allOf: __webpack_require__(746),
+ anyOf: __webpack_require__(747),
+ '$comment': __webpack_require__(748),
+ const: __webpack_require__(749),
+ contains: __webpack_require__(750),
+ dependencies: __webpack_require__(751),
+ 'enum': __webpack_require__(752),
+ format: __webpack_require__(753),
+ 'if': __webpack_require__(754),
+ items: __webpack_require__(755),
+ maximum: __webpack_require__(756),
+ minimum: __webpack_require__(756),
+ maxItems: __webpack_require__(757),
+ minItems: __webpack_require__(757),
+ maxLength: __webpack_require__(758),
+ minLength: __webpack_require__(758),
+ maxProperties: __webpack_require__(759),
+ minProperties: __webpack_require__(759),
+ multipleOf: __webpack_require__(760),
+ not: __webpack_require__(761),
+ oneOf: __webpack_require__(762),
+ pattern: __webpack_require__(763),
+ properties: __webpack_require__(764),
+ propertyNames: __webpack_require__(765),
+ required: __webpack_require__(766),
+ uniqueItems: __webpack_require__(767),
+ validate: __webpack_require__(740)
};
/***/ }),
-/* 744 */
+/* 745 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 745 */
+/* 746 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 746 */
+/* 747 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 747 */
+/* 748 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 748 */
+/* 749 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 749 */
+/* 750 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 750 */
+/* 751 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 751 */
+/* 752 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 752 */
+/* 753 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 753 */
+/* 754 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 754 */
+/* 755 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 755 */
+/* 756 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 756 */
+/* 757 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 757 */
+/* 758 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 758 */
+/* 759 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 759 */
+/* 760 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 760 */
+/* 761 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 761 */
+/* 762 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 762 */
+/* 763 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 763 */
+/* 764 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 764 */
+/* 765 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 765 */
+/* 766 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 766 */
+/* 767 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 767 */
+/* 768 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 768 */
+/* 769 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var MissingRefError = __webpack_require__(737).MissingRef;
+var MissingRefError = __webpack_require__(738).MissingRef;
module.exports = compileAsync;
/**
}
/***/ }),
-/* 769 */
+/* 770 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
var IDENTIFIER = /^[a-z_$][a-z0-9_$-]*$/i;
-var customRuleCode = __webpack_require__(770);
+var customRuleCode = __webpack_require__(771);
-var definitionSchema = __webpack_require__(771);
+var definitionSchema = __webpack_require__(772);
module.exports = {
add: addKeyword,
}
/***/ }),
-/* 770 */
+/* 771 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 771 */
+/* 772 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var metaSchema = __webpack_require__(772);
+var metaSchema = __webpack_require__(773);
module.exports = {
$id: 'https://github.com/epoberezkin/ajv/blob/master/lib/definition_schema.js',
};
/***/ }),
-/* 772 */
+/* 773 */
/***/ (function(module) {
module.exports = JSON.parse("{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"$id\":\"http://json-schema.org/draft-07/schema#\",\"title\":\"Core schema meta-schema\",\"definitions\":{\"schemaArray\":{\"type\":\"array\",\"minItems\":1,\"items\":{\"$ref\":\"#\"}},\"nonNegativeInteger\":{\"type\":\"integer\",\"minimum\":0},\"nonNegativeIntegerDefault0\":{\"allOf\":[{\"$ref\":\"#/definitions/nonNegativeInteger\"},{\"default\":0}]},\"simpleTypes\":{\"enum\":[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},\"stringArray\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"uniqueItems\":true,\"default\":[]}},\"type\":[\"object\",\"boolean\"],\"properties\":{\"$id\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"$schema\":{\"type\":\"string\",\"format\":\"uri\"},\"$ref\":{\"type\":\"string\",\"format\":\"uri-reference\"},\"$comment\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"default\":true,\"readOnly\":{\"type\":\"boolean\",\"default\":false},\"examples\":{\"type\":\"array\",\"items\":true},\"multipleOf\":{\"type\":\"number\",\"exclusiveMinimum\":0},\"maximum\":{\"type\":\"number\"},\"exclusiveMaximum\":{\"type\":\"number\"},\"minimum\":{\"type\":\"number\"},\"exclusiveMinimum\":{\"type\":\"number\"},\"maxLength\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minLength\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"pattern\":{\"type\":\"string\",\"format\":\"regex\"},\"additionalItems\":{\"$ref\":\"#\"},\"items\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/schemaArray\"}],\"default\":true},\"maxItems\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minItems\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"uniqueItems\":{\"type\":\"boolean\",\"default\":false},\"contains\":{\"$ref\":\"#\"},\"maxProperties\":{\"$ref\":\"#/definitions/nonNegativeInteger\"},\"minProperties\":{\"$ref\":\"#/definitions/nonNegativeIntegerDefault0\"},\"required\":{\"$ref\":\"#/definitions/stringArray\"},\"additionalProperties\":{\"$ref\":\"#\"},\"definitions\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"properties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"patternProperties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"propertyNames\":{\"format\":\"regex\"},\"default\":{}},\"dependencies\":{\"type\":\"object\",\"additionalProperties\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/stringArray\"}]}},\"propertyNames\":{\"$ref\":\"#\"},\"const\":true,\"enum\":{\"type\":\"array\",\"items\":true,\"minItems\":1,\"uniqueItems\":true},\"type\":{\"anyOf\":[{\"$ref\":\"#/definitions/simpleTypes\"},{\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/simpleTypes\"},\"minItems\":1,\"uniqueItems\":true}]},\"format\":{\"type\":\"string\"},\"contentMediaType\":{\"type\":\"string\"},\"contentEncoding\":{\"type\":\"string\"},\"if\":{\"$ref\":\"#\"},\"then\":{\"$ref\":\"#\"},\"else\":{\"$ref\":\"#\"},\"allOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"anyOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"oneOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"not\":{\"$ref\":\"#\"}},\"default\":true}");
/***/ }),
-/* 773 */
+/* 774 */
/***/ (function(module) {
module.exports = JSON.parse("{\"$schema\":\"http://json-schema.org/draft-07/schema#\",\"$id\":\"https://raw.githubusercontent.com/epoberezkin/ajv/master/lib/refs/data.json#\",\"description\":\"Meta-schema for $data reference (JSON Schema extension proposal)\",\"type\":\"object\",\"required\":[\"$data\"],\"properties\":{\"$data\":{\"type\":\"string\",\"anyOf\":[{\"format\":\"relative-json-pointer\"},{\"format\":\"json-pointer\"}]}},\"additionalProperties\":false}");
/***/ }),
-/* 774 */
+/* 775 */
/***/ (function(module) {
module.exports = JSON.parse("{\"id\":\"http://json-schema.org/draft-04/schema#\",\"$schema\":\"http://json-schema.org/draft-04/schema#\",\"description\":\"Core schema meta-schema\",\"definitions\":{\"schemaArray\":{\"type\":\"array\",\"minItems\":1,\"items\":{\"$ref\":\"#\"}},\"positiveInteger\":{\"type\":\"integer\",\"minimum\":0},\"positiveIntegerDefault0\":{\"allOf\":[{\"$ref\":\"#/definitions/positiveInteger\"},{\"default\":0}]},\"simpleTypes\":{\"enum\":[\"array\",\"boolean\",\"integer\",\"null\",\"number\",\"object\",\"string\"]},\"stringArray\":{\"type\":\"array\",\"items\":{\"type\":\"string\"},\"minItems\":1,\"uniqueItems\":true}},\"type\":\"object\",\"properties\":{\"id\":{\"type\":\"string\"},\"$schema\":{\"type\":\"string\"},\"title\":{\"type\":\"string\"},\"description\":{\"type\":\"string\"},\"default\":{},\"multipleOf\":{\"type\":\"number\",\"minimum\":0,\"exclusiveMinimum\":true},\"maximum\":{\"type\":\"number\"},\"exclusiveMaximum\":{\"type\":\"boolean\",\"default\":false},\"minimum\":{\"type\":\"number\"},\"exclusiveMinimum\":{\"type\":\"boolean\",\"default\":false},\"maxLength\":{\"$ref\":\"#/definitions/positiveInteger\"},\"minLength\":{\"$ref\":\"#/definitions/positiveIntegerDefault0\"},\"pattern\":{\"type\":\"string\",\"format\":\"regex\"},\"additionalItems\":{\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#\"}],\"default\":{}},\"items\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/schemaArray\"}],\"default\":{}},\"maxItems\":{\"$ref\":\"#/definitions/positiveInteger\"},\"minItems\":{\"$ref\":\"#/definitions/positiveIntegerDefault0\"},\"uniqueItems\":{\"type\":\"boolean\",\"default\":false},\"maxProperties\":{\"$ref\":\"#/definitions/positiveInteger\"},\"minProperties\":{\"$ref\":\"#/definitions/positiveIntegerDefault0\"},\"required\":{\"$ref\":\"#/definitions/stringArray\"},\"additionalProperties\":{\"anyOf\":[{\"type\":\"boolean\"},{\"$ref\":\"#\"}],\"default\":{}},\"definitions\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"properties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"patternProperties\":{\"type\":\"object\",\"additionalProperties\":{\"$ref\":\"#\"},\"default\":{}},\"dependencies\":{\"type\":\"object\",\"additionalProperties\":{\"anyOf\":[{\"$ref\":\"#\"},{\"$ref\":\"#/definitions/stringArray\"}]}},\"enum\":{\"type\":\"array\",\"minItems\":1,\"uniqueItems\":true},\"type\":{\"anyOf\":[{\"$ref\":\"#/definitions/simpleTypes\"},{\"type\":\"array\",\"items\":{\"$ref\":\"#/definitions/simpleTypes\"},\"minItems\":1,\"uniqueItems\":true}]},\"format\":{\"type\":\"string\"},\"allOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"anyOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"oneOf\":{\"$ref\":\"#/definitions/schemaArray\"},\"not\":{\"$ref\":\"#\"}},\"dependencies\":{\"exclusiveMaximum\":[\"maximum\"],\"exclusiveMinimum\":[\"minimum\"]},\"default\":{}}");
/***/ }),
-/* 775 */
+/* 776 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = {
- SourceCode: __webpack_require__(776)
+ SourceCode: __webpack_require__(777)
};
/***/ }),
-/* 776 */
+/* 777 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
isCommentToken
} = __webpack_require__(549),
- TokenStore = __webpack_require__(777),
+ TokenStore = __webpack_require__(778),
astUtils = __webpack_require__(409),
- Traverser = __webpack_require__(639),
+ Traverser = __webpack_require__(640),
lodash = __webpack_require__(403); //------------------------------------------------------------------------------
// Private
//------------------------------------------------------------------------------
* @returns {Object} An object containing a leading and trailing array
* of comments indexed by their position.
* @public
+ * @deprecated replaced by getCommentsBefore(), getCommentsAfter(), and getCommentsInside().
*/
module.exports = SourceCode;
/***/ }),
-/* 777 */
+/* 778 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
isCommentToken
} = __webpack_require__(549);
-const cursors = __webpack_require__(778);
+const cursors = __webpack_require__(779);
-const ForwardTokenCursor = __webpack_require__(786);
+const ForwardTokenCursor = __webpack_require__(787);
-const PaddedTokenCursor = __webpack_require__(789);
+const PaddedTokenCursor = __webpack_require__(790);
-const utils = __webpack_require__(781); //------------------------------------------------------------------------------
+const utils = __webpack_require__(782); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
};
/***/ }),
-/* 778 */
+/* 779 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const BackwardTokenCommentCursor = __webpack_require__(779);
+const BackwardTokenCommentCursor = __webpack_require__(780);
-const BackwardTokenCursor = __webpack_require__(782);
+const BackwardTokenCursor = __webpack_require__(783);
-const FilterCursor = __webpack_require__(783);
+const FilterCursor = __webpack_require__(784);
-const ForwardTokenCommentCursor = __webpack_require__(785);
+const ForwardTokenCommentCursor = __webpack_require__(786);
-const ForwardTokenCursor = __webpack_require__(786);
+const ForwardTokenCursor = __webpack_require__(787);
-const LimitCursor = __webpack_require__(787);
+const LimitCursor = __webpack_require__(788);
-const SkipCursor = __webpack_require__(788); //------------------------------------------------------------------------------
+const SkipCursor = __webpack_require__(789); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
exports.backward = new CursorFactory(BackwardTokenCursor, BackwardTokenCommentCursor);
/***/ }),
-/* 779 */
+/* 780 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const Cursor = __webpack_require__(780);
+const Cursor = __webpack_require__(781);
-const utils = __webpack_require__(781); //------------------------------------------------------------------------------
+const utils = __webpack_require__(782); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 780 */
+/* 781 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 781 */
+/* 782 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 782 */
+/* 783 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const Cursor = __webpack_require__(780);
+const Cursor = __webpack_require__(781);
-const utils = __webpack_require__(781); //------------------------------------------------------------------------------
+const utils = __webpack_require__(782); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 783 */
+/* 784 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const DecorativeCursor = __webpack_require__(784); //------------------------------------------------------------------------------
+const DecorativeCursor = __webpack_require__(785); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 784 */
+/* 785 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const Cursor = __webpack_require__(780); //------------------------------------------------------------------------------
+const Cursor = __webpack_require__(781); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 785 */
+/* 786 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const Cursor = __webpack_require__(780);
+const Cursor = __webpack_require__(781);
-const utils = __webpack_require__(781); //------------------------------------------------------------------------------
+const utils = __webpack_require__(782); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 786 */
+/* 787 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const Cursor = __webpack_require__(780);
+const Cursor = __webpack_require__(781);
-const utils = __webpack_require__(781); //------------------------------------------------------------------------------
+const utils = __webpack_require__(782); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 787 */
+/* 788 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const DecorativeCursor = __webpack_require__(784); //------------------------------------------------------------------------------
+const DecorativeCursor = __webpack_require__(785); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 788 */
+/* 789 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const DecorativeCursor = __webpack_require__(784); //------------------------------------------------------------------------------
+const DecorativeCursor = __webpack_require__(785); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 789 */
+/* 790 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const ForwardTokenCursor = __webpack_require__(786); //------------------------------------------------------------------------------
+const ForwardTokenCursor = __webpack_require__(787); //------------------------------------------------------------------------------
// Exports
//------------------------------------------------------------------------------
};
/***/ }),
-/* 790 */
+/* 791 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
{
breakableTypePattern
} = __webpack_require__(409),
- CodePath = __webpack_require__(791),
- CodePathSegment = __webpack_require__(793),
- IdGenerator = __webpack_require__(796),
- debug = __webpack_require__(794); //------------------------------------------------------------------------------
+ CodePath = __webpack_require__(792),
+ CodePathSegment = __webpack_require__(794),
+ IdGenerator = __webpack_require__(797),
+ debug = __webpack_require__(795); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
module.exports = CodePathAnalyzer;
/***/ }),
-/* 791 */
+/* 792 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const CodePathState = __webpack_require__(792);
+const CodePathState = __webpack_require__(793);
-const IdGenerator = __webpack_require__(796); //------------------------------------------------------------------------------
+const IdGenerator = __webpack_require__(797); //------------------------------------------------------------------------------
// Public Interface
//------------------------------------------------------------------------------
module.exports = CodePath;
/***/ }),
-/* 792 */
+/* 793 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const CodePathSegment = __webpack_require__(793),
- ForkContext = __webpack_require__(795); //------------------------------------------------------------------------------
+const CodePathSegment = __webpack_require__(794),
+ ForkContext = __webpack_require__(796); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
module.exports = CodePathState;
/***/ }),
-/* 793 */
+/* 794 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const debug = __webpack_require__(794); //------------------------------------------------------------------------------
+const debug = __webpack_require__(795); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
module.exports = CodePathSegment;
/***/ }),
-/* 794 */
+/* 795 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 795 */
+/* 796 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
//------------------------------------------------------------------------------
const assert = __webpack_require__(379),
- CodePathSegment = __webpack_require__(793); //------------------------------------------------------------------------------
+ CodePathSegment = __webpack_require__(794); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
module.exports = ForkContext;
/***/ }),
-/* 796 */
+/* 797 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = IdGenerator;
/***/ }),
-/* 797 */
+/* 798 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 798 */
+/* 799 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const levn = __webpack_require__(799),
+const levn = __webpack_require__(800),
ConfigOps = __webpack_require__(410);
const debug = __webpack_require__(416)("eslint:config-comment-parser"); //------------------------------------------------------------------------------
};
/***/ }),
-/* 799 */
+/* 800 */
/***/ (function(module, exports, __webpack_require__) {
// Generated by LiveScript 1.6.0
(function () {
var parseString, cast, parseType, VERSION, parsedTypeParse, parse;
- parseString = __webpack_require__(800);
- cast = __webpack_require__(807);
- parseType = __webpack_require__(808).parseType;
+ parseString = __webpack_require__(801);
+ cast = __webpack_require__(808);
+ parseType = __webpack_require__(809).parseType;
VERSION = '0.4.1';
parsedTypeParse = function parsedTypeParse(parsedType, string, options) {
}).call(this);
/***/ }),
-/* 800 */
+/* 801 */
/***/ (function(module, exports, __webpack_require__) {
// Generated by LiveScript 1.6.0
(function () {
var reject, special, tokenRegex;
- reject = __webpack_require__(801).reject;
+ reject = __webpack_require__(802).reject;
function consumeOp(tokens, op) {
if (tokens[0] === op) {
}).call(this);
/***/ }),
-/* 801 */
+/* 802 */
/***/ (function(module, exports, __webpack_require__) {
// Generated by LiveScript 1.6.0
replicate,
prelude,
toString$ = {}.toString;
-Func = __webpack_require__(802);
-List = __webpack_require__(803);
-Obj = __webpack_require__(804);
-Str = __webpack_require__(805);
-Num = __webpack_require__(806);
+Func = __webpack_require__(803);
+List = __webpack_require__(804);
+Obj = __webpack_require__(805);
+Str = __webpack_require__(806);
+Num = __webpack_require__(807);
id = function id(x) {
return x;
}
/***/ }),
-/* 802 */
+/* 803 */
/***/ (function(module, exports) {
// Generated by LiveScript 1.6.0
}
/***/ }),
-/* 803 */
+/* 804 */
/***/ (function(module, exports) {
// Generated by LiveScript 1.6.0
}
/***/ }),
-/* 804 */
+/* 805 */
/***/ (function(module, exports) {
// Generated by LiveScript 1.6.0
}
/***/ }),
-/* 805 */
+/* 806 */
/***/ (function(module, exports) {
// Generated by LiveScript 1.6.0
}
/***/ }),
-/* 806 */
+/* 807 */
/***/ (function(module, exports) {
// Generated by LiveScript 1.6.0
}
/***/ }),
-/* 807 */
+/* 808 */
/***/ (function(module, exports, __webpack_require__) {
// Generated by LiveScript 1.6.0
var parsedTypeCheck,
types,
toString$ = {}.toString;
- parsedTypeCheck = __webpack_require__(808).parsedTypeCheck;
+ parsedTypeCheck = __webpack_require__(809).parsedTypeCheck;
types = {
'*': function _(value, options) {
switch (toString$.call(value).slice(8, -1)) {
}).call(this);
/***/ }),
-/* 808 */
+/* 809 */
/***/ (function(module, exports, __webpack_require__) {
// Generated by LiveScript 1.6.0
(function () {
var VERSION, parseType, parsedTypeCheck, typeCheck;
VERSION = '0.4.0';
- parseType = __webpack_require__(809);
- parsedTypeCheck = __webpack_require__(810);
+ parseType = __webpack_require__(810);
+ parsedTypeCheck = __webpack_require__(811);
typeCheck = function typeCheck(type, input, options) {
return parsedTypeCheck(parseType(type), input, options);
}).call(this);
/***/ }),
-/* 809 */
+/* 810 */
/***/ (function(module, exports) {
// Generated by LiveScript 1.6.0
}).call(this);
/***/ }),
-/* 810 */
+/* 811 */
/***/ (function(module, exports, __webpack_require__) {
// Generated by LiveScript 1.6.0
types,
defaultType,
toString$ = {}.toString;
- ref$ = __webpack_require__(801), any = ref$.any, all = ref$.all, isItNaN = ref$.isItNaN;
+ ref$ = __webpack_require__(802), any = ref$.any, all = ref$.all, isItNaN = ref$.isItNaN;
types = {
Number: {
typeOf: 'Number',
}).call(this);
/***/ }),
-/* 811 */
+/* 812 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const esquery = __webpack_require__(812);
+const esquery = __webpack_require__(813);
const lodash = __webpack_require__(403); //------------------------------------------------------------------------------
// Typedefs
module.exports = NodeEventGenerator;
/***/ }),
-/* 812 */
+/* 813 */
/***/ (function(module, exports, __webpack_require__) {
!function (e, t) {
});
/***/ }),
-/* 813 */
+/* 814 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const assert = __webpack_require__(379);
-const ruleFixer = __webpack_require__(814);
+const ruleFixer = __webpack_require__(815);
-const interpolate = __webpack_require__(815); //------------------------------------------------------------------------------
+const interpolate = __webpack_require__(816); //------------------------------------------------------------------------------
// Typedefs
//------------------------------------------------------------------------------
};
/***/ }),
-/* 814 */
+/* 815 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = ruleFixer;
/***/ }),
-/* 815 */
+/* 816 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 816 */
+/* 817 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
get(ruleId) {
if (typeof this._rules[ruleId] === "string") {
- this.define(ruleId, __webpack_require__(817)(this._rules[ruleId]));
+ this.define(ruleId, __webpack_require__(818)(this._rules[ruleId]));
}
if (this._rules[ruleId]) {
module.exports = Rules;
/***/ }),
-/* 817 */
+/* 818 */
/***/ (function(module, exports) {
function webpackEmptyContext(req) {
webpackEmptyContext.keys = function() { return []; };
webpackEmptyContext.resolve = webpackEmptyContext;
module.exports = webpackEmptyContext;
-webpackEmptyContext.id = 817;
+webpackEmptyContext.id = 818;
/***/ }),
-/* 818 */
+/* 819 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 819 */
+/* 820 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = SourceCodeFixer;
/***/ }),
-/* 820 */
+/* 821 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
}();
/***/ }),
-/* 821 */
+/* 822 */
/***/ (function(module) {
module.exports = JSON.parse("{\"rules\":{\"generator-star\":[\"generator-star-spacing\"],\"global-strict\":[\"strict\"],\"no-arrow-condition\":[\"no-confusing-arrow\",\"no-constant-condition\"],\"no-comma-dangle\":[\"comma-dangle\"],\"no-empty-class\":[\"no-empty-character-class\"],\"no-empty-label\":[\"no-labels\"],\"no-extra-strict\":[\"strict\"],\"no-reserved-keys\":[\"quote-props\"],\"no-space-before-semi\":[\"semi-spacing\"],\"no-wrap-func\":[\"no-extra-parens\"],\"space-after-function-name\":[\"space-before-function-paren\"],\"space-after-keywords\":[\"keyword-spacing\"],\"space-before-function-parentheses\":[\"space-before-function-paren\"],\"space-before-keywords\":[\"keyword-spacing\"],\"space-in-brackets\":[\"object-curly-spacing\",\"array-bracket-spacing\",\"computed-property-spacing\"],\"space-return-throw-case\":[\"keyword-spacing\"],\"space-unary-word-ops\":[\"space-unary-ops\"],\"spaced-line-comment\":[\"spaced-comment\"]}}");
/***/ }),
-/* 822 */
+/* 823 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
CLIEngine
-} = __webpack_require__(823);
+} = __webpack_require__(824);
module.exports = {
CLIEngine
};
/***/ }),
-/* 823 */
+/* 824 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-const fs = __webpack_require__(824);
+const fs = __webpack_require__(825);
const path = __webpack_require__(377);
-const defaultOptions = __webpack_require__(825);
+const defaultOptions = __webpack_require__(826);
const pkg = __webpack_require__(408);
const ConfigOps = __webpack_require__(410);
-const naming = __webpack_require__(826);
+const naming = __webpack_require__(827);
-const ModuleResolver = __webpack_require__(827);
+const ModuleResolver = __webpack_require__(828);
const {
Linter
-} = __webpack_require__(829);
+} = __webpack_require__(830);
const builtInRules = __webpack_require__(414);
const {
CascadingConfigArrayFactory
-} = __webpack_require__(830);
+} = __webpack_require__(831);
const {
IgnorePattern,
getUsedExtractedConfigs
-} = __webpack_require__(838);
+} = __webpack_require__(839);
const {
FileEnumerator
-} = __webpack_require__(882);
+} = __webpack_require__(883);
-const hash = __webpack_require__(886);
+const hash = __webpack_require__(887);
-const LintResultCache = __webpack_require__(888);
+const LintResultCache = __webpack_require__(889);
const debug = __webpack_require__(416)("eslint:cli-engine");
}
try {
- return __webpack_require__(880)(formatterPath);
+ return __webpack_require__(881)(formatterPath);
} catch (ex) {
ex.message = "There was a problem loading formatter: ".concat(formatterPath, "\nError: ").concat(ex.message);
throw ex;
/* WEBPACK VAR INJECTION */}.call(this, "/"))
/***/ }),
-/* 824 */
+/* 825 */
/***/ (function(module, exports) {
module.exports = require("fs");
/***/ }),
-/* 825 */
+/* 826 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 826 */
+/* 827 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 827 */
+/* 828 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
*/
-const Module = __webpack_require__(828);
+const Module = __webpack_require__(829);
/*
* `Module.createRequire` is added in v12.2.0. It supports URL as well.
* We only support the case where the argument is a filepath, not a URL.
};
/***/ }),
-/* 828 */
+/* 829 */
/***/ (function(module, exports) {
module.exports = require("module");
/***/ }),
-/* 829 */
+/* 830 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
Linter
} = __webpack_require__(376);
-const interpolate = __webpack_require__(815);
+const interpolate = __webpack_require__(816);
-const SourceCodeFixer = __webpack_require__(819);
+const SourceCodeFixer = __webpack_require__(820);
module.exports = {
Linter,
};
/***/ }),
-/* 830 */
+/* 831 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
emitDeprecationWarning
-} = __webpack_require__(726);
+} = __webpack_require__(727);
const {
ConfigArrayFactory
-} = __webpack_require__(831);
+} = __webpack_require__(832);
const {
ConfigArray,
ConfigDependency,
IgnorePattern
-} = __webpack_require__(838);
+} = __webpack_require__(839);
-const loadRules = __webpack_require__(881);
+const loadRules = __webpack_require__(882);
const debug = __webpack_require__(416)("eslint:cascading-config-array-factory"); //------------------------------------------------------------------------------
// Helpers
};
/***/ }),
-/* 831 */
+/* 832 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function _objectWithoutPropertiesLoose(source, excluded) { if (source == null) return {}; var target = {}; var sourceKeys = Object.keys(source); var key, i; for (i = 0; i < sourceKeys.length; i++) { key = sourceKeys[i]; if (excluded.indexOf(key) >= 0) continue; target[key] = source[key]; } return target; }
-const fs = __webpack_require__(824);
+const fs = __webpack_require__(825);
const path = __webpack_require__(377);
-const importFresh = __webpack_require__(832);
+const importFresh = __webpack_require__(833);
-const stripComments = __webpack_require__(837);
+const stripComments = __webpack_require__(838);
const {
validateConfigSchema
} = __webpack_require__(411);
-const naming = __webpack_require__(826);
+const naming = __webpack_require__(827);
-const ModuleResolver = __webpack_require__(827);
+const ModuleResolver = __webpack_require__(828);
const {
ConfigArray,
ConfigDependency,
IgnorePattern,
OverrideTester
-} = __webpack_require__(838);
+} = __webpack_require__(839);
const debug = __webpack_require__(416)("eslint:config-array-factory"); //------------------------------------------------------------------------------
// Helpers
function loadYAMLConfigFile(filePath) {
debug("Loading YAML config file: ".concat(filePath)); // lazy load YAML to improve performance when not used
- const yaml = __webpack_require__(848);
+ const yaml = __webpack_require__(849);
try {
// empty YAML file can be null, so always use
function loadLegacyConfigFile(filePath) {
debug("Loading legacy config file: ".concat(filePath)); // lazy load YAML to improve performance when not used
- const yaml = __webpack_require__(848);
+ const yaml = __webpack_require__(849);
try {
return yaml.safeLoad(stripComments(readFile(filePath))) ||
const {
version = "unknown"
- } = __webpack_require__(880)(packageJsonPath);
+ } = __webpack_require__(881)(packageJsonPath);
nameAndVersion = "".concat(request, "@").concat(version);
} catch (error) {
const filePath = ModuleResolver.resolve(nameOrPath, relativeTo);
writeDebugLogForLoading(nameOrPath, relativeTo, filePath);
return new ConfigDependency({
- definition: __webpack_require__(880)(filePath),
+ definition: __webpack_require__(881)(filePath),
filePath,
id: nameOrPath,
importerName: ctx.name,
writeDebugLogForLoading(request, relativeTo, filePath);
const startTime = Date.now();
- const pluginDefinition = __webpack_require__(880)(filePath);
+ const pluginDefinition = __webpack_require__(881)(filePath);
debug("Plugin ".concat(filePath, " loaded in: ").concat(Date.now() - startTime, "ms"));
return new ConfigDependency({
/* WEBPACK VAR INJECTION */}.call(this, "/"))
/***/ }),
-/* 832 */
+/* 833 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const path = __webpack_require__(377);
-const resolveFrom = __webpack_require__(833);
+const resolveFrom = __webpack_require__(834);
-const parentModule = __webpack_require__(834);
+const parentModule = __webpack_require__(835);
module.exports = moduleId => {
if (typeof moduleId !== 'string') {
const parent = __webpack_require__.c[parentPath]; // If `filePath` and `parentPath` are the same, cache will already be deleted so we won't get a memory leak in next step
- return parent === undefined ? __webpack_require__(836)(filePath) : parent.require(filePath); // In case cache doesn't have parent, fall back to normal require
+ return parent === undefined ? __webpack_require__(837)(filePath) : parent.require(filePath); // In case cache doesn't have parent, fall back to normal require
};
/* WEBPACK VAR INJECTION */}.call(this, "/index.js"))
/***/ }),
-/* 833 */
+/* 834 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const path = __webpack_require__(377);
-const Module = __webpack_require__(828);
+const Module = __webpack_require__(829);
-const fs = __webpack_require__(824);
+const fs = __webpack_require__(825);
const resolveFrom = (fromDir, moduleId, silent) => {
if (typeof fromDir !== 'string') {
module.exports.silent = (fromDir, moduleId) => resolveFrom(fromDir, moduleId, true);
/***/ }),
-/* 834 */
+/* 835 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-const callsites = __webpack_require__(835);
+const callsites = __webpack_require__(836);
module.exports = filepath => {
const stacks = callsites();
};
/***/ }),
-/* 835 */
+/* 836 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports.default = callsites;
/***/ }),
-/* 836 */
+/* 837 */
/***/ (function(module, exports) {
function webpackEmptyContext(req) {
webpackEmptyContext.keys = function() { return []; };
webpackEmptyContext.resolve = webpackEmptyContext;
module.exports = webpackEmptyContext;
-webpackEmptyContext.id = 836;
+webpackEmptyContext.id = 837;
/***/ }),
-/* 837 */
+/* 838 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 838 */
+/* 839 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
ConfigArray,
getUsedExtractedConfigs
-} = __webpack_require__(839);
+} = __webpack_require__(840);
const {
ConfigDependency
-} = __webpack_require__(842);
+} = __webpack_require__(843);
const {
ExtractedConfig
-} = __webpack_require__(840);
+} = __webpack_require__(841);
const {
IgnorePattern
-} = __webpack_require__(841);
+} = __webpack_require__(842);
const {
OverrideTester
-} = __webpack_require__(843);
+} = __webpack_require__(844);
module.exports = {
ConfigArray,
};
/***/ }),
-/* 839 */
+/* 840 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
ExtractedConfig
-} = __webpack_require__(840);
+} = __webpack_require__(841);
const {
IgnorePattern
-} = __webpack_require__(841); //------------------------------------------------------------------------------
+} = __webpack_require__(842); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
// Define types for VSCode IntelliSense.
module.exports = exportObject;
/***/ }),
-/* 840 */
+/* 841 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
IgnorePattern
-} = __webpack_require__(841); // For VSCode intellisense
+} = __webpack_require__(842); // For VSCode intellisense
/** @typedef {import("../../shared/types").ConfigData} ConfigData */
};
/***/ }),
-/* 841 */
+/* 842 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const path = __webpack_require__(377);
-const ignore = __webpack_require__(611);
+const ignore = __webpack_require__(612);
const debug = __webpack_require__(416)("eslint:ignore-pattern");
/** @typedef {ReturnType<import("ignore").default>} Ignore */
};
/***/ }),
-/* 842 */
+/* 843 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
};
/***/ }),
-/* 843 */
+/* 844 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const {
Minimatch
-} = __webpack_require__(844);
+} = __webpack_require__(845);
const minimatchOpts = {
dot: true,
};
/***/ }),
-/* 844 */
+/* 845 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = minimatch;
var GLOBSTAR = minimatch.GLOBSTAR = Minimatch.GLOBSTAR = {};
-var expand = __webpack_require__(845);
+var expand = __webpack_require__(846);
var plTypes = {
'!': {
}
/***/ }),
-/* 845 */
+/* 846 */
/***/ (function(module, exports, __webpack_require__) {
-var concatMap = __webpack_require__(846);
+var concatMap = __webpack_require__(847);
-var balanced = __webpack_require__(847);
+var balanced = __webpack_require__(848);
module.exports = expandTop;
var escSlash = '\0SLASH' + Math.random() + '\0';
}
/***/ }),
-/* 846 */
+/* 847 */
/***/ (function(module, exports) {
module.exports = function (xs, fn) {
};
/***/ }),
-/* 847 */
+/* 848 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
}
/***/ }),
-/* 848 */
+/* 849 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var yaml = __webpack_require__(849);
+var yaml = __webpack_require__(850);
module.exports = yaml;
/***/ }),
-/* 849 */
+/* 850 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var loader = __webpack_require__(850);
+var loader = __webpack_require__(851);
-var dumper = __webpack_require__(879);
+var dumper = __webpack_require__(880);
function deprecated(name) {
return function () {
};
}
-module.exports.Type = __webpack_require__(856);
-module.exports.Schema = __webpack_require__(855);
-module.exports.FAILSAFE_SCHEMA = __webpack_require__(859);
-module.exports.JSON_SCHEMA = __webpack_require__(858);
-module.exports.CORE_SCHEMA = __webpack_require__(857);
-module.exports.DEFAULT_SAFE_SCHEMA = __webpack_require__(854);
-module.exports.DEFAULT_FULL_SCHEMA = __webpack_require__(874);
+module.exports.Type = __webpack_require__(857);
+module.exports.Schema = __webpack_require__(856);
+module.exports.FAILSAFE_SCHEMA = __webpack_require__(860);
+module.exports.JSON_SCHEMA = __webpack_require__(859);
+module.exports.CORE_SCHEMA = __webpack_require__(858);
+module.exports.DEFAULT_SAFE_SCHEMA = __webpack_require__(855);
+module.exports.DEFAULT_FULL_SCHEMA = __webpack_require__(875);
module.exports.load = loader.load;
module.exports.loadAll = loader.loadAll;
module.exports.safeLoad = loader.safeLoad;
module.exports.safeLoadAll = loader.safeLoadAll;
module.exports.dump = dumper.dump;
module.exports.safeDump = dumper.safeDump;
-module.exports.YAMLException = __webpack_require__(852); // Deprecated schema names from JS-YAML 2.0.x
+module.exports.YAMLException = __webpack_require__(853); // Deprecated schema names from JS-YAML 2.0.x
-module.exports.MINIMAL_SCHEMA = __webpack_require__(859);
-module.exports.SAFE_SCHEMA = __webpack_require__(854);
-module.exports.DEFAULT_SCHEMA = __webpack_require__(874); // Deprecated functions from JS-YAML 1.x.x
+module.exports.MINIMAL_SCHEMA = __webpack_require__(860);
+module.exports.SAFE_SCHEMA = __webpack_require__(855);
+module.exports.DEFAULT_SCHEMA = __webpack_require__(875); // Deprecated functions from JS-YAML 1.x.x
module.exports.scan = deprecated('scan');
module.exports.parse = deprecated('parse');
module.exports.addConstructor = deprecated('addConstructor');
/***/ }),
-/* 850 */
+/* 851 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*eslint-disable max-len,no-use-before-define*/
-var common = __webpack_require__(851);
+var common = __webpack_require__(852);
-var YAMLException = __webpack_require__(852);
+var YAMLException = __webpack_require__(853);
-var Mark = __webpack_require__(853);
+var Mark = __webpack_require__(854);
-var DEFAULT_SAFE_SCHEMA = __webpack_require__(854);
+var DEFAULT_SAFE_SCHEMA = __webpack_require__(855);
-var DEFAULT_FULL_SCHEMA = __webpack_require__(874);
+var DEFAULT_FULL_SCHEMA = __webpack_require__(875);
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var CONTEXT_FLOW_IN = 1;
if (state.tag !== null && state.tag !== '!') {
if (state.tag === '?') {
+ // Implicit resolving is not allowed for non-scalar types, and '?'
+ // non-specific tag is only automatically assigned to plain scalars.
+ //
+ // We only need to check kind conformity in case user explicitly assigns '?'
+ // tag, for example like this: "!<?> [0]"
+ //
+ if (state.result !== null && state.kind !== 'scalar') {
+ throwError(state, 'unacceptable node kind for !<?> tag; it should be "scalar", not "' + state.kind + '"');
+ }
+
for (typeIndex = 0, typeQuantity = state.implicitTypes.length; typeIndex < typeQuantity; typeIndex += 1) {
- type = state.implicitTypes[typeIndex]; // Implicit resolving is not allowed for non-scalar types, and '?'
- // non-specific tag is only assigned to plain scalars. So, it isn't
- // needed to check for 'kind' conformity.
+ type = state.implicitTypes[typeIndex];
if (type.resolve(state.result)) {
// `state.result` updated in resolver if matched
}
}
- var state = new State(input, options); // Use 0 as string terminator. That significantly simplifies bounds check.
+ var state = new State(input, options);
+ var nullpos = input.indexOf('\0');
+
+ if (nullpos !== -1) {
+ state.position = nullpos;
+ throwError(state, 'null byte is not allowed in input');
+ } // Use 0 as string terminator. That significantly simplifies bounds check.
+
state.input += '\0';
}
function loadAll(input, iterator, options) {
- var documents = loadDocuments(input, options),
- index,
- length;
+ if (iterator !== null && typeof iterator === 'object' && typeof options === 'undefined') {
+ options = iterator;
+ iterator = null;
+ }
+
+ var documents = loadDocuments(input, options);
if (typeof iterator !== 'function') {
return documents;
}
- for (index = 0, length = documents.length; index < length; index += 1) {
+ for (var index = 0, length = documents.length; index < length; index += 1) {
iterator(documents[index]);
}
}
throw new YAMLException('expected a single document in the stream, but found more');
}
-function safeLoadAll(input, output, options) {
- if (typeof output === 'function') {
- loadAll(input, output, common.extend({
- schema: DEFAULT_SAFE_SCHEMA
- }, options));
- } else {
- return loadAll(input, common.extend({
- schema: DEFAULT_SAFE_SCHEMA
- }, options));
+function safeLoadAll(input, iterator, options) {
+ if (typeof iterator === 'object' && iterator !== null && typeof options === 'undefined') {
+ options = iterator;
+ iterator = null;
}
+
+ return loadAll(input, iterator, common.extend({
+ schema: DEFAULT_SAFE_SCHEMA
+ }, options));
}
function safeLoad(input, options) {
module.exports.safeLoad = safeLoad;
/***/ }),
-/* 851 */
+/* 852 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports.extend = extend;
/***/ }),
-/* 852 */
+/* 853 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports = YAMLException;
/***/ }),
-/* 853 */
+/* 854 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var common = __webpack_require__(851);
+var common = __webpack_require__(852);
function Mark(name, buffer, position, line, column) {
this.name = name;
module.exports = Mark;
/***/ }),
-/* 854 */
+/* 855 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// extra types described at YAML tag repository. (http://yaml.org/type/)
-var Schema = __webpack_require__(855);
+var Schema = __webpack_require__(856);
module.exports = new Schema({
- include: [__webpack_require__(857)],
- implicit: [__webpack_require__(867), __webpack_require__(868)],
- explicit: [__webpack_require__(869), __webpack_require__(871), __webpack_require__(872), __webpack_require__(873)]
+ include: [__webpack_require__(858)],
+ implicit: [__webpack_require__(868), __webpack_require__(869)],
+ explicit: [__webpack_require__(870), __webpack_require__(872), __webpack_require__(873), __webpack_require__(874)]
});
/***/ }),
-/* 855 */
+/* 856 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*eslint-disable max-len*/
-var common = __webpack_require__(851);
+var common = __webpack_require__(852);
-var YAMLException = __webpack_require__(852);
+var YAMLException = __webpack_require__(853);
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function compileList(schema, name, result) {
var exclude = [];
module.exports = Schema;
/***/ }),
-/* 856 */
+/* 857 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var YAMLException = __webpack_require__(852);
+var YAMLException = __webpack_require__(853);
var TYPE_CONSTRUCTOR_OPTIONS = ['kind', 'resolve', 'construct', 'instanceOf', 'predicate', 'represent', 'defaultStyle', 'styleAliases'];
var YAML_NODE_KINDS = ['scalar', 'sequence', 'mapping'];
module.exports = Type;
/***/ }),
-/* 857 */
+/* 858 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// So, Core schema has no distinctions from JSON schema is JS-YAML.
-var Schema = __webpack_require__(855);
+var Schema = __webpack_require__(856);
module.exports = new Schema({
- include: [__webpack_require__(858)]
+ include: [__webpack_require__(859)]
});
/***/ }),
-/* 858 */
+/* 859 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// It allows numbers in binary notaion, use `Null` and `NULL` as `null`, etc.
-var Schema = __webpack_require__(855);
+var Schema = __webpack_require__(856);
module.exports = new Schema({
- include: [__webpack_require__(859)],
- implicit: [__webpack_require__(863), __webpack_require__(864), __webpack_require__(865), __webpack_require__(866)]
+ include: [__webpack_require__(860)],
+ implicit: [__webpack_require__(864), __webpack_require__(865), __webpack_require__(866), __webpack_require__(867)]
});
/***/ }),
-/* 859 */
+/* 860 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// http://www.yaml.org/spec/1.2/spec.html#id2802346
-var Schema = __webpack_require__(855);
+var Schema = __webpack_require__(856);
module.exports = new Schema({
- explicit: [__webpack_require__(860), __webpack_require__(861), __webpack_require__(862)]
+ explicit: [__webpack_require__(861), __webpack_require__(862), __webpack_require__(863)]
});
/***/ }),
-/* 860 */
+/* 861 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
module.exports = new Type('tag:yaml.org,2002:str', {
kind: 'scalar',
});
/***/ }),
-/* 861 */
+/* 862 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
module.exports = new Type('tag:yaml.org,2002:seq', {
kind: 'sequence',
});
/***/ }),
-/* 862 */
+/* 863 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
module.exports = new Type('tag:yaml.org,2002:map', {
kind: 'mapping',
});
/***/ }),
-/* 863 */
+/* 864 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function resolveYamlNull(data) {
if (data === null) return true;
});
/***/ }),
-/* 864 */
+/* 865 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function resolveYamlBoolean(data) {
if (data === null) return false;
});
/***/ }),
-/* 865 */
+/* 866 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var common = __webpack_require__(851);
+var common = __webpack_require__(852);
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function isHexCode(c) {
return 0x30
});
/***/ }),
-/* 866 */
+/* 867 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var common = __webpack_require__(851);
+var common = __webpack_require__(852);
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
var YAML_FLOAT_PATTERN = new RegExp( // 2.5e4, 2.5 and integers
'^(?:[-+]?(?:0|[1-9][0-9_]*)(?:\\.[0-9_]*)?(?:[eE][-+]?[0-9]+)?' + // .2e4, .2
});
/***/ }),
-/* 867 */
+/* 868 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
var YAML_DATE_REGEXP = new RegExp('^([0-9][0-9][0-9][0-9])' + // [1] year
'-([0-9][0-9])' + // [2] month
});
/***/ }),
-/* 868 */
+/* 869 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function resolveYamlMerge(data) {
return data === '<<' || data === null;
});
/***/ }),
-/* 869 */
+/* 870 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
try {
// A trick for browserified version, to not include `Buffer` shim
var _require = require;
- NodeBuffer = __webpack_require__(870).Buffer;
+ NodeBuffer = __webpack_require__(871).Buffer;
} catch (__) {}
-var Type = __webpack_require__(856); // [ 64, 65, 66 ] -> [ padding, CR, LF ]
+var Type = __webpack_require__(857); // [ 64, 65, 66 ] -> [ padding, CR, LF ]
var BASE64_MAP = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789+/=\n\r';
});
/***/ }),
-/* 870 */
+/* 871 */
/***/ (function(module, exports) {
module.exports = require("buffer");
/***/ }),
-/* 871 */
+/* 872 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var _toString = Object.prototype.toString;
});
/***/ }),
-/* 872 */
+/* 873 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
var _toString = Object.prototype.toString;
});
/***/ }),
-/* 873 */
+/* 874 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
var _hasOwnProperty = Object.prototype.hasOwnProperty;
});
/***/ }),
-/* 874 */
+/* 875 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Also this schema is used as default base schema at `Schema.create` function.
-var Schema = __webpack_require__(855);
+var Schema = __webpack_require__(856);
module.exports = Schema.DEFAULT = new Schema({
- include: [__webpack_require__(854)],
- explicit: [__webpack_require__(875), __webpack_require__(876), __webpack_require__(877)]
+ include: [__webpack_require__(855)],
+ explicit: [__webpack_require__(876), __webpack_require__(877), __webpack_require__(878)]
});
/***/ }),
-/* 875 */
+/* 876 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function resolveJavascriptUndefined() {
return true;
});
/***/ }),
-/* 876 */
+/* 877 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function resolveJavascriptRegExp(data) {
if (data === null) return false;
});
/***/ }),
-/* 877 */
+/* 878 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
try {
// workaround to exclude package from browserify list.
var _require = require;
- esprima = __webpack_require__(878);
+ esprima = __webpack_require__(879);
} catch (_) {
- /*global window */
+ /* eslint-disable no-redeclare */
+
+ /* global window */
if (typeof window !== 'undefined') esprima = window.esprima;
}
-var Type = __webpack_require__(856);
+var Type = __webpack_require__(857);
function resolveJavascriptFunction(data) {
if (data === null) return false;
});
/***/ }),
-/* 878 */
+/* 879 */
/***/ (function(module, exports, __webpack_require__) {
(function webpackUniversalModuleDefinition(root, factory) {
;
/***/ }),
-/* 879 */
+/* 880 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
/*eslint-disable no-use-before-define*/
-var common = __webpack_require__(851);
+var common = __webpack_require__(852);
-var YAMLException = __webpack_require__(852);
+var YAMLException = __webpack_require__(853);
-var DEFAULT_FULL_SCHEMA = __webpack_require__(874);
+var DEFAULT_FULL_SCHEMA = __webpack_require__(875);
-var DEFAULT_SAFE_SCHEMA = __webpack_require__(854);
+var DEFAULT_SAFE_SCHEMA = __webpack_require__(855);
var _toString = Object.prototype.toString;
var _hasOwnProperty = Object.prototype.hasOwnProperty;
var CHAR_LINE_FEED = 0x0A;
/* LF */
+var CHAR_CARRIAGE_RETURN = 0x0D;
+/* CR */
+
var CHAR_SPACE = 0x20;
/* Space */
var CHAR_COLON = 0x3A;
/* : */
+var CHAR_EQUALS = 0x3D;
+/* = */
+
var CHAR_GREATER_THAN = 0x3E;
/* > */
return 0x00020 <= c && c <= 0x00007E || 0x000A1 <= c && c <= 0x00D7FF && c !== 0x2028 && c !== 0x2029 || 0x0E000 <= c && c <= 0x00FFFD && c !== 0xFEFF
/* BOM */
|| 0x10000 <= c && c <= 0x10FFFF;
+} // [34] ns-char ::= nb-char - s-white
+// [27] nb-char ::= c-printable - b-char - c-byte-order-mark
+// [26] b-char ::= b-line-feed | b-carriage-return
+// [24] b-line-feed ::= #xA /* LF */
+// [25] b-carriage-return ::= #xD /* CR */
+// [3] c-byte-order-mark ::= #xFEFF
+
+
+function isNsChar(c) {
+ return isPrintable(c) && !isWhitespace(c) // byte-order-mark
+ && c !== 0xFEFF // b-char
+ && c !== CHAR_CARRIAGE_RETURN && c !== CHAR_LINE_FEED;
} // Simplified test for values allowed after the first character in plain style.
-function isPlainSafe(c) {
+function isPlainSafe(c, prev) {
// Uses a subset of nb-char - c-flow-indicator - ":" - "#"
// where nb-char ::= c-printable - b-char - c-byte-order-mark.
return isPrintable(c) && c !== 0xFEFF // - c-flow-indicator
&& c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET // - ":" - "#"
- && c !== CHAR_COLON && c !== CHAR_SHARP;
+ // /* An ns-char preceding */ "#"
+ && c !== CHAR_COLON && (c !== CHAR_SHARP || prev && isNsChar(prev));
} // Simplified test for values allowed as the first character in plain style.
return isPrintable(c) && c !== 0xFEFF && !isWhitespace(c) // - s-white
// - (c-indicator ::=
// “-” | “?” | “:” | “,” | “[” | “]” | “{” | “}”
- && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET // | “#” | “&” | “*” | “!” | “|” | “>” | “'” | “"”
- && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE // | “%” | “@” | “`”)
+ && c !== CHAR_MINUS && c !== CHAR_QUESTION && c !== CHAR_COLON && c !== CHAR_COMMA && c !== CHAR_LEFT_SQUARE_BRACKET && c !== CHAR_RIGHT_SQUARE_BRACKET && c !== CHAR_LEFT_CURLY_BRACKET && c !== CHAR_RIGHT_CURLY_BRACKET // | “#” | “&” | “*” | “!” | “|” | “=” | “>” | “'” | “"”
+ && c !== CHAR_SHARP && c !== CHAR_AMPERSAND && c !== CHAR_ASTERISK && c !== CHAR_EXCLAMATION && c !== CHAR_VERTICAL_LINE && c !== CHAR_EQUALS && c !== CHAR_GREATER_THAN && c !== CHAR_SINGLE_QUOTE && c !== CHAR_DOUBLE_QUOTE // | “%” | “@” | “`”)
&& c !== CHAR_PERCENT && c !== CHAR_COMMERCIAL_AT && c !== CHAR_GRAVE_ACCENT;
} // Determines whether block indentation indicator is required.
function chooseScalarStyle(string, singleLineOnly, indentPerLevel, lineWidth, testAmbiguousType) {
var i;
- var char;
+ var char, prev_char;
var hasLineBreak = false;
var hasFoldableLine = false; // only checked if shouldTrackWidth
return STYLE_DOUBLE;
}
- plain = plain && isPlainSafe(char);
+ prev_char = i > 0 ? string.charCodeAt(i - 1) : null;
+ plain = plain && isPlainSafe(char, prev_char);
}
} else {
// Case: block styles permitted.
return STYLE_DOUBLE;
}
- plain = plain && isPlainSafe(char);
+ prev_char = i > 0 ? string.charCodeAt(i - 1) : null;
+ plain = plain && isPlainSafe(char, prev_char);
} // in case the end is missing a \n
pairBuffer;
for (index = 0, length = objectKeyList.length; index < length; index += 1) {
- pairBuffer = state.condenseFlow ? '"' : '';
+ pairBuffer = '';
if (index !== 0) pairBuffer += ', ';
+ if (state.condenseFlow) pairBuffer += '"';
objectKey = objectKeyList[index];
objectValue = object[objectKey];
module.exports.safeDump = safeDump;
/***/ }),
-/* 880 */
+/* 881 */
/***/ (function(module, exports) {
function webpackEmptyContext(req) {
webpackEmptyContext.keys = function() { return []; };
webpackEmptyContext.resolve = webpackEmptyContext;
module.exports = webpackEmptyContext;
-webpackEmptyContext.id = 880;
+webpackEmptyContext.id = 881;
/***/ }),
-/* 881 */
+/* 882 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const fs = __webpack_require__(824),
+const fs = __webpack_require__(825),
path = __webpack_require__(377);
const rulesDirCache = {}; //------------------------------------------------------------------------------
return;
}
- rules[file.slice(0, -3)] = __webpack_require__(880)(path.join(rulesDir, file));
+ rules[file.slice(0, -3)] = __webpack_require__(881)(path.join(rulesDir, file));
});
rulesDirCache[rulesDir] = rules;
return rules;
};
/***/ }),
-/* 882 */
+/* 883 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
function _defineProperty(obj, key, value) { if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
-const fs = __webpack_require__(824);
+const fs = __webpack_require__(825);
const path = __webpack_require__(377);
-const getGlobParent = __webpack_require__(883);
+const getGlobParent = __webpack_require__(884);
-const isGlob = __webpack_require__(884);
+const isGlob = __webpack_require__(885);
const {
escapeRegExp
const {
Minimatch
-} = __webpack_require__(844);
+} = __webpack_require__(845);
const {
IgnorePattern
-} = __webpack_require__(838);
+} = __webpack_require__(839);
const {
CascadingConfigArrayFactory
-} = __webpack_require__(830);
+} = __webpack_require__(831);
const debug = __webpack_require__(416)("eslint:file-enumerator"); //------------------------------------------------------------------------------
// Helpers
};
/***/ }),
-/* 883 */
+/* 884 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
-var isGlob = __webpack_require__(884);
+var isGlob = __webpack_require__(885);
var pathPosixDirname = __webpack_require__(377).posix.dirname;
};
/***/ }),
-/* 884 */
+/* 885 */
/***/ (function(module, exports, __webpack_require__) {
/*!
* Copyright (c) 2014-2017, Jon Schlinkert.
* Released under the MIT License.
*/
-var isExtglob = __webpack_require__(885);
+var isExtglob = __webpack_require__(886);
var chars = {
'{': '}',
};
/***/ }),
-/* 885 */
+/* 886 */
/***/ (function(module, exports) {
/*!
};
/***/ }),
-/* 886 */
+/* 887 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
// Requirements
//------------------------------------------------------------------------------
-const murmur = __webpack_require__(887); //------------------------------------------------------------------------------
+const murmur = __webpack_require__(888); //------------------------------------------------------------------------------
// Helpers
//------------------------------------------------------------------------------
//------------------------------------------------------------------------------
module.exports = hash;
/***/ }),
-/* 887 */
+/* 888 */
/***/ (function(module, exports, __webpack_require__) {
/**
})();
/***/ }),
-/* 888 */
+/* 889 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
const assert = __webpack_require__(379);
-const fs = __webpack_require__(824);
+const fs = __webpack_require__(825);
-const fileEntryCache = __webpack_require__(889);
+const fileEntryCache = __webpack_require__(890);
-const stringify = __webpack_require__(910);
+const stringify = __webpack_require__(911);
const pkg = __webpack_require__(408);
-const hash = __webpack_require__(886); //-----------------------------------------------------------------------------
+const hash = __webpack_require__(887); //-----------------------------------------------------------------------------
// Helpers
//-----------------------------------------------------------------------------
module.exports = LintResultCache;
/***/ }),
-/* 889 */
+/* 890 */
/***/ (function(module, exports, __webpack_require__) {
var path = __webpack_require__(377);
-var crypto = __webpack_require__(890);
+var crypto = __webpack_require__(891);
module.exports = {
createFromFile: function createFromFile(filePath, useChecksum) {
return this.create(fname, dir, useChecksum);
},
create: function create(cacheId, _path, useChecksum) {
- var fs = __webpack_require__(824);
+ var fs = __webpack_require__(825);
- var flatCache = __webpack_require__(891);
+ var flatCache = __webpack_require__(892);
var cache = flatCache.load(cacheId, _path);
var normalizedEntries = {};
};
/***/ }),
-/* 890 */
+/* 891 */
/***/ (function(module, exports) {
module.exports = require("crypto");
/***/ }),
-/* 891 */
+/* 892 */
/***/ (function(module, exports, __webpack_require__) {
/* WEBPACK VAR INJECTION */(function(__dirname) {var path = __webpack_require__(377);
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
-var utils = __webpack_require__(892);
+var utils = __webpack_require__(893);
-var del = __webpack_require__(896);
+var del = __webpack_require__(897);
var writeJSON = utils.writeJSON;
var cache = {
/* WEBPACK VAR INJECTION */}.call(this, "/"))
/***/ }),
-/* 892 */
+/* 893 */
/***/ (function(module, exports, __webpack_require__) {
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
-var write = __webpack_require__(893);
+var write = __webpack_require__(894);
-var flatted = __webpack_require__(895);
+var flatted = __webpack_require__(896);
module.exports = {
tryParse: function tryParse(filePath, defaultValue) {
};
/***/ }),
-/* 893 */
+/* 894 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
*/
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
var path = __webpack_require__(377);
-var mkdirp = __webpack_require__(894);
+var mkdirp = __webpack_require__(895);
/**
* Asynchronously writes data to a file, replacing the file if it already
* exists and creating any intermediate directories if they don't already
module.exports = writeFile;
/***/ }),
-/* 894 */
+/* 895 */
/***/ (function(module, exports, __webpack_require__) {
var path = __webpack_require__(377);
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
var _0777 = parseInt('0777', 8);
};
/***/ }),
-/* 895 */
+/* 896 */
/***/ (function(module, exports) {
var Flatted = function (Primitive, primitive) {
module.exports = Flatted;
/***/ }),
-/* 896 */
+/* 897 */
/***/ (function(module, exports, __webpack_require__) {
-var rimraf = __webpack_require__(897).sync;
+var rimraf = __webpack_require__(898).sync;
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
module.exports = function del(file) {
if (fs.existsSync(file)) {
};
/***/ }),
-/* 897 */
+/* 898 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = rimraf;
var path = __webpack_require__(377);
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
-var glob = __webpack_require__(898);
+var glob = __webpack_require__(899);
var _0666 = parseInt('666', 8);
}
/***/ }),
-/* 898 */
+/* 899 */
/***/ (function(module, exports, __webpack_require__) {
// Approach:
// things that don't exist.
module.exports = glob;
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
-var rp = __webpack_require__(899);
+var rp = __webpack_require__(900);
-var minimatch = __webpack_require__(844);
+var minimatch = __webpack_require__(845);
var Minimatch = minimatch.Minimatch;
-var inherits = __webpack_require__(901);
+var inherits = __webpack_require__(902);
-var EE = __webpack_require__(903).EventEmitter;
+var EE = __webpack_require__(904).EventEmitter;
var path = __webpack_require__(377);
var assert = __webpack_require__(379);
-var isAbsolute = __webpack_require__(904);
+var isAbsolute = __webpack_require__(905);
-var globSync = __webpack_require__(905);
+var globSync = __webpack_require__(906);
-var common = __webpack_require__(906);
+var common = __webpack_require__(907);
var alphasort = common.alphasort;
var alphasorti = common.alphasorti;
var setopts = common.setopts;
var ownProp = common.ownProp;
-var inflight = __webpack_require__(907);
+var inflight = __webpack_require__(908);
var util = __webpack_require__(412);
var childrenIgnored = common.childrenIgnored;
var isIgnored = common.isIgnored;
-var once = __webpack_require__(909);
+var once = __webpack_require__(910);
function glob(pattern, options, cb) {
if (typeof options === 'function') cb = options, options = {};
};
/***/ }),
-/* 899 */
+/* 900 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = realpath;
realpath.monkeypatch = monkeypatch;
realpath.unmonkeypatch = unmonkeypatch;
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
var origRealpath = fs.realpath;
var origRealpathSync = fs.realpathSync;
var version = process.version;
var ok = /^v[0-5]\./.test(version);
-var old = __webpack_require__(900);
+var old = __webpack_require__(901);
function newError(er) {
return er && er.syscall === 'realpath' && (er.code === 'ELOOP' || er.code === 'ENOMEM' || er.code === 'ENAMETOOLONG');
}
/***/ }),
-/* 900 */
+/* 901 */
/***/ (function(module, exports, __webpack_require__) {
// Copyright Joyent, Inc. and other Node contributors.
var isWindows = process.platform === 'win32';
-var fs = __webpack_require__(824); // JavaScript implementation of realpath, ported from node pre-v6
+var fs = __webpack_require__(825); // JavaScript implementation of realpath, ported from node pre-v6
var DEBUG = process.env.NODE_DEBUG && /fs/.test(process.env.NODE_DEBUG);
};
/***/ }),
-/* 901 */
+/* 902 */
/***/ (function(module, exports, __webpack_require__) {
try {
module.exports = util.inherits;
} catch (e) {
/* istanbul ignore next */
- module.exports = __webpack_require__(902);
+ module.exports = __webpack_require__(903);
}
/***/ }),
-/* 902 */
+/* 903 */
/***/ (function(module, exports) {
if (typeof Object.create === 'function') {
}
/***/ }),
-/* 903 */
+/* 904 */
/***/ (function(module, exports) {
module.exports = require("events");
/***/ }),
-/* 904 */
+/* 905 */
/***/ (function(module, exports, __webpack_require__) {
"use strict";
module.exports.win32 = win32;
/***/ }),
-/* 905 */
+/* 906 */
/***/ (function(module, exports, __webpack_require__) {
module.exports = globSync;
globSync.GlobSync = GlobSync;
-var fs = __webpack_require__(824);
+var fs = __webpack_require__(825);
-var rp = __webpack_require__(899);
+var rp = __webpack_require__(900);
-var minimatch = __webpack_require__(844);
+var minimatch = __webpack_require__(845);
var Minimatch = minimatch.Minimatch;
-var Glob = __webpack_require__(898).Glob;
+var Glob = __webpack_require__(899).Glob;
var util = __webpack_require__(412);
var assert = __webpack_require__(379);
-var isAbsolute = __webpack_require__(904);
+var isAbsolute = __webpack_require__(905);
-var common = __webpack_require__(906);
+var common = __webpack_require__(907);
var alphasort = common.alphasort;
var alphasorti = common.alphasorti;
};
/***/ }),
-/* 906 */
+/* 907 */
/***/ (function(module, exports, __webpack_require__) {
exports.alphasort = alphasort;
var path = __webpack_require__(377);
-var minimatch = __webpack_require__(844);
+var minimatch = __webpack_require__(845);
-var isAbsolute = __webpack_require__(904);
+var isAbsolute = __webpack_require__(905);
var Minimatch = minimatch.Minimatch;
}
/***/ }),
-/* 907 */
+/* 908 */
/***/ (function(module, exports, __webpack_require__) {
-var wrappy = __webpack_require__(908);
+var wrappy = __webpack_require__(909);
var reqs = Object.create(null);
-var once = __webpack_require__(909);
+var once = __webpack_require__(910);
module.exports = wrappy(inflight);
}
/***/ }),
-/* 908 */
+/* 909 */
/***/ (function(module, exports) {
// Returns a wrapper function that returns a wrapped callback
}
/***/ }),
-/* 909 */
+/* 910 */
/***/ (function(module, exports, __webpack_require__) {
-var wrappy = __webpack_require__(908);
+var wrappy = __webpack_require__(909);
module.exports = wrappy(once);
module.exports.strict = wrappy(onceStrict);
}
/***/ }),
-/* 910 */
+/* 911 */
/***/ (function(module, exports) {
module.exports = function (obj, opts) {