Skip to content

Commit

Permalink
Config update
Browse files Browse the repository at this point in the history
  • Loading branch information
atsyplenkov committed Oct 28, 2024
1 parent 0aec4bf commit b7af558
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@
"pastum.showContextMenu": {
"type": "boolean",
"default": true,
"description": "Show the 'Paste default dataframe' command in the editor context menu."
"markdownDescription": "Show the `Pastum ➔ Default Dataframe` command in the editor context menu. It will only appear in R, Python and Julia editors."
}
}
},
Expand All @@ -87,7 +87,7 @@
"snake_case"
],
"default": "PascalCase",
"markdownDescription": "Select naming convention for variable names. For example, `Hello World!` will be converted to \n\n - PascalCase: `HelloWorld` \n\n - camelCase: `helloWorld` \n\n - snake_case: `hello_world`"
"markdownDescription": "Select naming convention for column names preprocessing. To learn more about naming conventions in programming, see [freecodecamp post](https://www.freecodecamp.org/news/snake-case-vs-camel-case-vs-pascal-case-vs-kebab-case-whats-the-difference/#kebab-case). For example, `Hello World!` will be converted to \n\n - PascalCase: `HelloWorld` \n\n - camelCase: `helloWorld` \n\n - snake_case: `hello_world`"
}
}
},
Expand Down
2 changes: 1 addition & 1 deletion src/parse-table.js
Original file line number Diff line number Diff line change
Expand Up @@ -76,7 +76,7 @@ function formatVariableName(name, convention = null) {
}

if (!/^[a-zA-Z_\u0400-\u04FF]/.test(formatted)) {
formatted = "x." + formatted;
formatted = "x" + formatted;
}

return formatted;
Expand Down

0 comments on commit b7af558

Please sign in to comment.