Skip to content

Commit e925559

Browse files
committed
fixed combineRules to update v10 file
1 parent 6c632e6 commit e925559

File tree

2 files changed

+10
-1
lines changed

2 files changed

+10
-1
lines changed

codeclimateEslintRulesv10.js

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -67,6 +67,15 @@
6767
"react/prop-types": "off",
6868
"react/jsx-filename-extension": "off",
6969
"react/require-default-props": "off",
70+
"react/no-unknown-property": [
71+
"error",
72+
{
73+
"ignore": [
74+
"css",
75+
"columns"
76+
]
77+
}
78+
],
7079
"react-hooks/rules-of-hooks": "error",
7180
"react-hooks/exhaustive-deps": "warn",
7281
"jest/no-large-snapshots": "error",

scripts/combineRules.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ configsToCombine.forEach((config) => {
3131
})
3232

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

0 commit comments

Comments
 (0)