use PascalCase for api_key parameter

This commit is contained in:
Niels van Velzen
2025-07-09 22:12:17 +02:00
parent bb752cdcb2
commit de100462c3
4 changed files with 7 additions and 8 deletions

View File

@@ -351,13 +351,12 @@ export default tseslint.config(
leadingUnderscore: 'allowSingleOrDouble',
trailingUnderscore: 'allowSingleOrDouble'
},
// Ignore numbers, locale strings (en-us), aria/data attributes, CSS selectors,
// and api_key parameter
// Ignore numbers, locale strings (en-us), aria/data attributes and CSS selectors
{
selector: [ 'objectLiteralProperty', 'typeProperty' ],
format: null,
filter: {
regex: '[ &\\-]|^([0-9]+)$|^api_key$',
regex: '[ &\\-]|^([0-9]+)$',
match: true
}
}