You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
docs: ensure consistent plural form for folder names (entities, migrations, etc) - #11903
Inspired by #11898. We are very inconsistent in naming across our documentation and code. This is fixing the documentation part.
In my mind it makes more sense to go with prulal in general:
migrations: [__dirname+'/migrations/**/*{.js,.ts}']// vs
migrations: [__dirname+'/migration/**/*{.js,.ts}']
The first one reads more natural with the config propertis, but also in general people tend to name folders in pluralr like tests, controllers, routes, etc...
The glob pattern was changed from *.{js,ts} to *{.js,.ts}. While both patterns work, the new pattern is less conventional and may not be supported consistently across all glob implementations. The original pattern with curly braces around the entire extension list is more standard.
Why: The suggestion correctly identifies an inconsistency in the documentation example, which aligns with the PR's goal of standardizing folder names to their plural form.
Why: The suggestion correctly identifies an inconsistent glob pattern in a documentation example and proposes a fix that aligns with other changes in the PR, improving documentation consistency.
Why: The suggestion correctly identifies an inconsistent glob pattern in a documentation example and proposes a fix that aligns with other changes in the PR, improving documentation quality.
✅ Fix nested array syntax errorSuggestion Impact:The commit directly implements the suggestion by removing the extra nested array brackets from the entities configuration, changing `entities: [[__dirname + "/entities/**/*{.js,.ts}"]],` to `entities: [__dirname + "/entities/**/*{.js,.ts}"],`
Why: The suggestion correctly identifies a syntax error in the documentation example where entities is assigned a nested array [[...]] instead of a flat array, which would mislead users.
✅ Fix incorrect nested array syntaxSuggestion Impact:The commit directly implements the suggestion by removing the extra brackets from the entities array, changing from [[__dirname + "/entities/**/*{.js,.ts}"]] to [__dirname + "/entities/**/*{.js,.ts}"]
Why: The suggestion correctly identifies a syntax error (a nested array) in the entities configuration example, which was introduced in the PR and would likely cause the code to fail for users.
Medium
General
Update entity path to plural form
Update the entity path in the test configuration from singular entity to plural entities to maintain consistency with the PR's refactoring.
Why: The suggestion correctly identifies an inconsistent path in a test file that was missed during the refactoring, ensuring the test configuration aligns with the PR's goal of pluralizing directory names.
• The PR aims to standardize folder names to plural form (entities, migrations, subscribers,
controllers) but misses multiple import statements in documentation files.
• Files like getting-started.md, working-with-entity-manager/1-working-with-entity-manager.md,
working-with-entity-manager/2-working-with-repository.md, and data-source/1-data-source.md still
use singular ./entity/ in import statements.
• This creates inconsistency where glob patterns use plural entities/**/* but import examples use
singular entity/, confusing users about the correct naming convention.
The compliance rule requires consistent naming conventions across the project. The PR changes glob
patterns to use plural folder names (entities, migrations, subscribers) but leaves import statements
in multiple documentation files using singular form (entity/). This violates the stated objective of
ensuring consistent plural form for folder names.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The PR updates glob patterns to use plural folder names but leaves import statements using singular form, creating inconsistency in the documentation.
## Issue Context
The PR objective is to ensure consistent plural form for folder names (entities, migrations, subscribers, controllers) across documentation. Multiple files still contain import statements using singular `entity/` path.
## Fix Focus Areas
- docs/docs/getting-started.md[464-464]
- docs/docs/getting-started.md[521-521]
- docs/docs/getting-started.md[547-547]
- docs/docs/getting-started.md[565-565]
- docs/docs/getting-started.md[591-591]
- docs/docs/getting-started.md[624-624]
- docs/docs/getting-started.md[642-642]
- docs/docs/getting-started.md[721-722]
- docs/docs/getting-started.md[861-862]
- docs/docs/getting-started.md[880-881]
- docs/docs/working-with-entity-manager/1-working-with-entity-manager.md[11-11]
- docs/docs/working-with-entity-manager/2-working-with-repository.md[9-9]
- docs/docs/data-source/1-data-source.md[80-80]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
ⓘ The new review experience is currently in Beta. Learn more
1. Sample Projects Not Updated to Match New Convention 🐞 Bug✓ Correctness
Description
• The PR changes InitCommand and documentation to use plural directory names (entities/,
migrations/, subscribers/, controllers/)
• However, all existing sample projects in the repository still use singular directory names
(entity/, migration/)
• This creates a mismatch where newly generated projects have a different structure than the
examples users can reference
• Users following sample code will encounter path mismatches and confusion
The InitCommand generates new projects with plural directory names, but all sample projects in the
repository use singular names. This is evidenced by the directory structure in sample projects
(e.g., sample/sample1-simple-entity/entity/, sample/sample32-migrations/entity/) which all use
singular 'entity' directory, while the InitCommand now creates 'entities' directory. The
sample32-migrations project also shows migrations: [__dirname + '/migrations/*{.js,.ts}'] using the
'migrations' directory (already plural), demonstrating existing inconsistency in the codebase.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue Description
The PR standardizes directory naming to use plural forms (entities/, migrations/, subscribers/, controllers/), but existing sample projects still use singular names (entity/, migration/). This creates inconsistency between generated projects and reference examples.
## Issue Context
The InitCommand.ts now generates:
- src/entities/ instead of src/entity/
- src/migrations/ instead of src/migration/
- src/controllers/ instead of src/controller/
But all sample projects still use the old singular naming.
## Fix Focus Areas
Update all sample projects to use plural directory names:
- sample/sample1-simple-entity/entity/ → entities/
- sample/sample32-migrations/entity/ → entities/
- All other sample*/entity/ directories → entities/
- Update all import statements in sample projects to reference the new paths
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
2. InitCommand Uses Class Import Instead of Glob Pattern 🐞 Bug✓ Correctness
Description
• The InitCommand generates a data-source.ts file that uses direct class imports (entities: [User])
instead of glob patterns
• However, the documentation examples show glob patterns like entities: [__dirname +
'/entities/**/*{.js,.ts}']
• This inconsistency means the generated project structure doesn't match what's documented
• Users will need to manually change from class imports to glob patterns if they want to follow the
documented approach
export const AppDataSource = new DataSource({
${dbSettings}
Evidence
The InitCommand template generates a DataSource configuration using direct class imports (entities:
[User]), while the documentation consistently shows glob pattern examples. This creates a mismatch
between what's generated and what's documented as best practice.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue Description
The InitCommand generates a DataSource configuration with direct class imports (entities: [User]), but documentation examples consistently show glob patterns (entities: [__dirname + '/entities/**/*{.js,.ts}']).
## Issue Context
The generated data-source.ts file uses:
```typescript
entities: [User],
migrations: [],
subscribers: [],
```
But documentation shows:
```typescript
entities: [__dirname + "/entities/**/*{.js,.ts}"],
migrations: [__dirname + "/migrations/**/*{.js,.ts}"],
subscribers: [__dirname + "/subscribers/**/*{.js,.ts}"],
```
## Fix Focus Areas
Update the template generation logic:
- src/commands/InitCommand.ts[246-253]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
✅ 1. Import paths reference old entity folder 📘 Rule violation✓ CorrectnessSuggestion Impact:The commit directly implements the suggestion by updating all import statements in template strings from "./entity/User" to "./entities/User" and from "./controller/UserController" to "./controllers/UserController" at the exact lines identified in the suggestion (lines 244, 382, 448, 500 and the controller import).
code diff:
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
# File: src/commands/InitCommand.ts@@ -241,7 +241,7 @@
}
return `import "reflect-metadata"
import { DataSource } from "typeorm"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
# File: src/commands/InitCommand.ts@@ -241,7 +241,7 @@
}
return `import "reflect-metadata"
import { DataSource } from "typeorm"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
# File: src/commands/InitCommand.ts@@ -241,7 +241,7 @@
}
return `import "reflect-metadata"
import { DataSource } from "typeorm"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
Description
• The PR changes folder names from singular to plural (e.g., entity → entities, migration →
migrations) in documentation and file creation paths.
• However, the template code in InitCommand.ts still uses the old singular folder name entity in
import statements.
• This creates an inconsistency where the actual folder is created as entities/ but the generated
code imports from ./entity/User, causing runtime errors.
The code creates a file at basePath + '/src/entities/User.ts' (line 88) using the plural folder
name, but the template methods still generate import statements referencing the old singular path
./entity/User (lines 244, 382, 448, 500). This violates the Consistent Naming Conventions
compliance rule as the folder naming is inconsistent between the actual file system structure and
the generated code references.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The InitCommand creates files in the `entities/` folder but generates code that imports from the old `entity/` folder path, causing module resolution errors.
## Issue Context
This PR aims to standardize folder naming to use plural forms (entities, migrations, controllers, etc.) for consistency. The file creation paths were updated but the template strings that generate import statements were not.
## Fix Focus Areas
- src/commands/InitCommand.ts[244-244]
- src/commands/InitCommand.ts[382-382]
- src/commands/InitCommand.ts[448-448]
- src/commands/InitCommand.ts[500-500]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
• The PR creates the UserController file in the plural controllers/ folder.
• However, the routes template still imports from the old singular controller/ path.
• This inconsistency will cause import errors when the express template is used.
The code creates the UserController at basePath + '/src/controllers/UserController.ts' (line 108)
using the plural folder name, but the routes template needs to import from this location. While the
routes template is not shown in the diff, the inconsistency between file creation path and expected
import path violates the Consistent Naming Conventions rule.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The UserController is created in the `controllers/` folder but the routes template likely imports from the old `controller/` folder path.
## Issue Context
This PR standardizes folder naming to use plural forms. The file creation path for UserController was updated to use `controllers/` but any import statements in the routes template need to be updated accordingly.
## Fix Focus Areas
- src/commands/InitCommand.ts[108-108]
- Review the getRoutesTemplate method to ensure it imports from `./controllers/UserController`
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
✅ 1. Inconsistent folder naming in InitCommand 📘 Rule violation✓ CorrectnessSuggestion Impact:The commit directly implements the suggestion by updating all import paths in the generated code templates from singular folder names to plural folder names. Specifically, it changes "./entity/User" to "./entities/User" and "./controller/UserController" to "./controllers/UserController" across multiple template methods, exactly as identified in the suggestion's fix focus areas (lines 244, 382, 448, 500).
code diff:
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
# File: src/commands/InitCommand.ts@@ -241,7 +241,7 @@
}
return `import "reflect-metadata"
import { DataSource } from "typeorm"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
# File: src/commands/InitCommand.ts@@ -241,7 +241,7 @@
}
return `import "reflect-metadata"
import { DataSource } from "typeorm"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
# File: src/commands/InitCommand.ts@@ -241,7 +241,7 @@
}
return `import "reflect-metadata"
import { DataSource } from "typeorm"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
export const AppDataSource = new DataSource({
${dbSettings}
@@ -344,7 +344,7 @@
* Gets contents of the route file (used when express is enabled).
*/
protected static getRoutesTemplate(isEsm: boolean): string {
- return `import { UserController } from "./controller/UserController${+ return `import { UserController } from "./controllers/UserController${
isEsm ? ".js" : ""
}"
@@ -379,7 +379,7 @@
isEsm ? ".js" : ""
}"
import { NextFunction, Request, Response } from "express"
-import { User } from "../entity/User${isEsm ? ".js" : ""}"+import { User } from "../entities/User${isEsm ? ".js" : ""}"
export class UserController {
@@ -445,7 +445,7 @@
import { Request, Response } from "express"
import { AppDataSource } from "./data-source${isEsm ? ".js" : ""}"
import { Routes } from "./routes${isEsm ? ".js" : ""}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
AppDataSource.initialize().then(async () => {
@@ -497,7 +497,7 @@
return `import { AppDataSource } from "./data-source${
isEsm ? ".js" : ""
}"
-import { User } from "./entity/User${isEsm ? ".js" : ""}"+import { User } from "./entities/User${isEsm ? ".js" : ""}"
Description
• The PR changes documentation and folder structure to use plural folder names (entities,
migrations, controllers), but the generated code templates in InitCommand.ts still import from
singular paths like ./entity/User.
• This creates inconsistency between the actual folder structure created (line 88:
src/entities/User.ts, line 99: src/migrations, line 108: src/controllers/UserController.ts)
and the import paths in generated templates (lines 244, 382, 448, 500: ./entity/User).
• Users following the generated code will encounter import errors since the files are created in
entities/ but imports reference entity/.
The compliance checklist requires consistent naming conventions (PR Compliance ID 1). The code
creates files in plural folder names (entities, migrations, controllers) but the generated
templates import from singular paths (entity). This violates the stated objective of ensuring
consistent plural folder naming across the codebase.
The issue below was found during a code review. Follow the provided context and guidance below and implement a solution
## Issue description
The InitCommand creates files in plural-named folders (`entities/`, `migrations/`, `controllers/`) but generates code templates that import from singular-named folders (`entity/`, `migration/`, `controller/`). This causes import errors in generated projects.
## Issue Context
This PR aims to standardize on plural folder names across documentation and code. The folder creation was updated but the import paths in code templates were not.
## Fix Focus Areas
- src/commands/InitCommand.ts[244-244]
- src/commands/InitCommand.ts[382-382]
- src/commands/InitCommand.ts[448-448]
- src/commands/InitCommand.ts[500-500]
ⓘ Copy this prompt and use it to remediate the issue with your preferred AI generation tools
ⓘ The new review experience is currently in Beta. Learn more
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Inspired by #11898. We are very inconsistent in naming across our documentation and code. This is fixing the documentation part.
In my mind it makes more sense to go with prulal in general:
The first one reads more natural with the config propertis, but also in general people tend to name folders in pluralr like
tests,controllers,routes, etc...