From 25f082afb0aa95d3d8013111985afa480d9df20d Mon Sep 17 00:00:00 2001 From: "Nicholas C. Zakas" Date: Thu, 20 Aug 2020 14:27:46 -0700 Subject: [PATCH] Chore: Mark config-related files (refs #13481) --- .github/CODEOWNERS.md | 17 +++++++++++++++++ conf/config-schema.js | 12 ++++++++++++ conf/environments.js | 12 ++++++++++++ .../cascading-config-array-factory.js | 12 ++++++++++++ lib/cli-engine/config-array-factory.js | 12 ++++++++++++ lib/cli-engine/config-array/config-array.js | 12 ++++++++++++ .../config-array/config-dependency.js | 12 ++++++++++++ lib/cli-engine/config-array/extracted-config.js | 12 ++++++++++++ lib/cli-engine/config-array/ignore-pattern.js | 12 ++++++++++++ lib/cli-engine/config-array/index.js | 12 ++++++++++++ lib/cli-engine/config-array/override-tester.js | 12 ++++++++++++ lib/shared/config-ops.js | 12 ++++++++++++ lib/shared/config-validator.js | 12 ++++++++++++ lib/shared/naming.js | 12 ++++++++++++ lib/shared/relative-module-resolver.js | 12 ++++++++++++ .../cascading-config-array-factory.js | 12 ++++++++++++ tests/lib/cli-engine/config-array-factory.js | 12 ++++++++++++ .../lib/cli-engine/config-array/config-array.js | 12 ++++++++++++ .../config-array/config-dependency.js | 12 ++++++++++++ .../cli-engine/config-array/extracted-config.js | 12 ++++++++++++ .../cli-engine/config-array/ignore-pattern.js | 12 ++++++++++++ .../cli-engine/config-array/override-tester.js | 11 +++++++++++ tests/lib/shared/config-ops.js | 12 ++++++++++++ tests/lib/shared/config-validator.js | 12 ++++++++++++ tests/lib/shared/naming.js | 12 ++++++++++++ 25 files changed, 304 insertions(+) create mode 100644 .github/CODEOWNERS.md diff --git a/.github/CODEOWNERS.md b/.github/CODEOWNERS.md new file mode 100644 index 00000000000..b032d30bb8e --- /dev/null +++ b/.github/CODEOWNERS.md @@ -0,0 +1,17 @@ +# Config-related files + +lib/conf/config-schema.js @nzakas +lib/cli-engine/config-array/* @nzakas +lib/cli-engine/config-array-factory.js @nzakas +lib/cli-engine/cascading-config-array-factory.js @nzakas +lib/shared/config-* @nzakas +lib/shared/naming.js @nzakas +lib/shared/relative-module-resolver.js @nzakas + +tests/lib/conf/config-schema.js @nzakas +tests/lib/cli-engine/config-array/* @nzakas +tests/lib/cli-engine/config-array-factory.js @nzakas +tests/lib/cli-engine/cascading-config-array-factory.js @nzakas +tests/lib/shared/config-* @nzakas +tests/lib/shared/naming.js @nzakas +tests/lib/shared/relative-module-resolver.js @nzakas diff --git a/conf/config-schema.js b/conf/config-schema.js index 712fc4235ec..4c80b4449a1 100644 --- a/conf/config-schema.js +++ b/conf/config-schema.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Defines a schema for configs. * @author Sylvan Mably diff --git a/conf/environments.js b/conf/environments.js index 90589b1c327..b64174dcd31 100644 --- a/conf/environments.js +++ b/conf/environments.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Defines environment settings and globals. * @author Elan Shanker diff --git a/lib/cli-engine/cascading-config-array-factory.js b/lib/cli-engine/cascading-config-array-factory.js index f54605c4db9..ba3600cc136 100644 --- a/lib/cli-engine/cascading-config-array-factory.js +++ b/lib/cli-engine/cascading-config-array-factory.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `CascadingConfigArrayFactory` class. * diff --git a/lib/cli-engine/config-array-factory.js b/lib/cli-engine/config-array-factory.js index 7c0fba65c67..e66964f9aed 100644 --- a/lib/cli-engine/config-array-factory.js +++ b/lib/cli-engine/config-array-factory.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview The factory of `ConfigArray` objects. * diff --git a/lib/cli-engine/config-array/config-array.js b/lib/cli-engine/config-array/config-array.js index 42a7362737f..a197851fe4d 100644 --- a/lib/cli-engine/config-array/config-array.js +++ b/lib/cli-engine/config-array/config-array.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `ConfigArray` class. * diff --git a/lib/cli-engine/config-array/config-dependency.js b/lib/cli-engine/config-array/config-dependency.js index 0d5f6f71395..e8b07c94d2d 100644 --- a/lib/cli-engine/config-array/config-dependency.js +++ b/lib/cli-engine/config-array/config-dependency.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `ConfigDependency` class. * diff --git a/lib/cli-engine/config-array/extracted-config.js b/lib/cli-engine/config-array/extracted-config.js index b27d6ffb188..2beb80ee569 100644 --- a/lib/cli-engine/config-array/extracted-config.js +++ b/lib/cli-engine/config-array/extracted-config.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `ExtractedConfig` class. * diff --git a/lib/cli-engine/config-array/ignore-pattern.js b/lib/cli-engine/config-array/ignore-pattern.js index 6eaec4258e1..a4d545d8bc0 100644 --- a/lib/cli-engine/config-array/ignore-pattern.js +++ b/lib/cli-engine/config-array/ignore-pattern.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `IgnorePattern` class. * diff --git a/lib/cli-engine/config-array/index.js b/lib/cli-engine/config-array/index.js index 928d76c83ab..8ba21e280c8 100644 --- a/lib/cli-engine/config-array/index.js +++ b/lib/cli-engine/config-array/index.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `ConfigArray` class. * @author Toru Nagashima diff --git a/lib/cli-engine/config-array/override-tester.js b/lib/cli-engine/config-array/override-tester.js index e7ba1202f1c..f5e889e5c5a 100644 --- a/lib/cli-engine/config-array/override-tester.js +++ b/lib/cli-engine/config-array/override-tester.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview `OverrideTester` class. * diff --git a/lib/shared/config-ops.js b/lib/shared/config-ops.js index 3b4d5699d86..68f1cd1b73f 100644 --- a/lib/shared/config-ops.js +++ b/lib/shared/config-ops.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Config file operations. This file must be usable in the browser, * so no Node-specific code can be here. diff --git a/lib/shared/config-validator.js b/lib/shared/config-validator.js index 458bd2a802b..933e68b95ad 100644 --- a/lib/shared/config-validator.js +++ b/lib/shared/config-validator.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Validates configs. * @author Brandon Mills diff --git a/lib/shared/naming.js b/lib/shared/naming.js index 32cff94538a..c5a2e436f2e 100644 --- a/lib/shared/naming.js +++ b/lib/shared/naming.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Common helpers for naming of plugins, formatters and configs */ diff --git a/lib/shared/relative-module-resolver.js b/lib/shared/relative-module-resolver.js index 80335c5cfca..26a82365b86 100644 --- a/lib/shared/relative-module-resolver.js +++ b/lib/shared/relative-module-resolver.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * Utility for resolving a module relative to another module * @author Teddy Katz diff --git a/tests/lib/cli-engine/cascading-config-array-factory.js b/tests/lib/cli-engine/cascading-config-array-factory.js index 8471ac3b553..cde110b64e8 100644 --- a/tests/lib/cli-engine/cascading-config-array-factory.js +++ b/tests/lib/cli-engine/cascading-config-array-factory.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for CascadingConfigArrayFactory class. * @author Toru Nagashima diff --git a/tests/lib/cli-engine/config-array-factory.js b/tests/lib/cli-engine/config-array-factory.js index 3b979c1d38f..6fa28097b61 100644 --- a/tests/lib/cli-engine/config-array-factory.js +++ b/tests/lib/cli-engine/config-array-factory.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for ConfigArrayFactory class. * @author Toru Nagashima diff --git a/tests/lib/cli-engine/config-array/config-array.js b/tests/lib/cli-engine/config-array/config-array.js index fafb688d768..f3634aed8da 100644 --- a/tests/lib/cli-engine/config-array/config-array.js +++ b/tests/lib/cli-engine/config-array/config-array.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for ConfigArray class. * @author Toru Nagashima diff --git a/tests/lib/cli-engine/config-array/config-dependency.js b/tests/lib/cli-engine/config-array/config-dependency.js index fc008fa004b..c5721fca66f 100644 --- a/tests/lib/cli-engine/config-array/config-dependency.js +++ b/tests/lib/cli-engine/config-array/config-dependency.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for ConfigDependency class. * @author Toru Nagashima diff --git a/tests/lib/cli-engine/config-array/extracted-config.js b/tests/lib/cli-engine/config-array/extracted-config.js index 9d700477b5e..f949d3ec138 100644 --- a/tests/lib/cli-engine/config-array/extracted-config.js +++ b/tests/lib/cli-engine/config-array/extracted-config.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for ExtractedConfig class. * @author Toru Nagashima diff --git a/tests/lib/cli-engine/config-array/ignore-pattern.js b/tests/lib/cli-engine/config-array/ignore-pattern.js index 9d652f3b689..d77888b221d 100644 --- a/tests/lib/cli-engine/config-array/ignore-pattern.js +++ b/tests/lib/cli-engine/config-array/ignore-pattern.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for IgnorePattern class. * @author Toru Nagashima diff --git a/tests/lib/cli-engine/config-array/override-tester.js b/tests/lib/cli-engine/config-array/override-tester.js index 4920c443fed..be3dfc0e20d 100644 --- a/tests/lib/cli-engine/config-array/override-tester.js +++ b/tests/lib/cli-engine/config-array/override-tester.js @@ -1,3 +1,14 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ /** * @fileoverview Tests for OverrideTester class. * @author Toru Nagashima diff --git a/tests/lib/shared/config-ops.js b/tests/lib/shared/config-ops.js index 519d5a2fa0d..a28b2ab4b69 100644 --- a/tests/lib/shared/config-ops.js +++ b/tests/lib/shared/config-ops.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for ConfigOps * @author Nicholas C. Zakas diff --git a/tests/lib/shared/config-validator.js b/tests/lib/shared/config-validator.js index 95976fc9fad..30db97af9e8 100644 --- a/tests/lib/shared/config-validator.js +++ b/tests/lib/shared/config-validator.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for config validator. * @author Brandon Mills diff --git a/tests/lib/shared/naming.js b/tests/lib/shared/naming.js index 84bec232431..a584997a26f 100644 --- a/tests/lib/shared/naming.js +++ b/tests/lib/shared/naming.js @@ -1,3 +1,15 @@ +/* + * STOP!!! DO NOT MODIFY. + * + * This file is part of the ongoing work to move the eslintrc-style config + * system into the @eslint/eslintrc package. This file needs to remain + * unchanged in order for this work to proceed. + * + * If you think you need to change this file, please contact @nzakas first. + * + * Thanks in advance for your cooperation. + */ + /** * @fileoverview Tests for naming util */