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..b83f6578832 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..096c6003179 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..df49c27772a 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..e552c4e00a9 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..c2ef6c94ab0 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..9fc67b01057 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..fd7cabab3e9 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..37d686dd1bb 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..146c6f89279 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..75dffe2352e 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..97e34b0a9da 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..e0e4f6fe811 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..2d070c95dd4 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..cd743f3795b 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..7d312c6243a 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..086c1b0b92c 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..14788ee3080 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..ef97b309ec7 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..afb3981193c 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..a30cc769fc6 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..b367ff93fdb 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..59a2845ec6f 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..9ba99aea6ba 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..ead218307b1 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 */