Skip to content

Commit d865810

Browse files
committed
adding comment about not modifying the auto-generated codeclimate file
1 parent dd78771 commit d865810

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

codeclimateEslintRules.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
1-
module.exports = {
1+
// THIS FILE IS AUTO-GENERATED. DO NOT MODIFY THIS FILE BY HAND
2+
module.exports = {
23
"plugins": [
34
"html",
45
"json",

scripts/combineRules.js

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -35,5 +35,6 @@ configsToCombine.forEach(config => {
3535

3636
fs.writeFileSync(
3737
path.join(process.cwd(), 'codeclimateEslintRules.js'),
38-
`module.exports = ${JSON.stringify(codeclimateConfig, null, 2)}`
38+
`// THIS FILE IS AUTO-GENERATED. DO NOT MODIFY THIS FILE BY HAND
39+
module.exports = ${JSON.stringify(codeclimateConfig, null, 2)}`
3940
)

0 commit comments

Comments
 (0)