Common275 Documents

Single Extension

Never create a platform-owned file with multiple extensions. Use one extension and put its purpose in the camelCase filename unless an external tool technically requires multiple extensions.

Correct

test/useFormTest.js
test/dataProviderTest.js

Incorrect

test/useForm.test.js
test/dataProvider.test.js

Exceptions

  • Use multiple extensions only when a tool or external interface technically requires the exact filename, such as TypeScript declaration files ending in .d.ts or eslint.config.js.

Fix

Rename the file to a camelCase basename with one extension and update its imports, scripts, and references.