Security News
New Python Packaging Proposal Aims to Solve Phantom Dependency Problem with SBOMs
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
eslint-plugin-travel-planet
Advanced tools
A plugin for the ESLint linter that adds more naming conventions for variables and functions.
tp-lint
is a plugin for the ESLint JavaScript linting utility. It introduces rules that add more naming conventions for variables, functions, classes, and methods.
@developpement/tp-lint
with the NPM package manager:npm install @developpement/tp-lint
Then configure the rules you want to use under the rules section.
All rules support fixing errors automatically.
snake-case-variables
snake-case-variables
ensures that all variables defined are in snake case, consisting of all lower case letters, with words separated by underscores (_
s).
Good:
variable_name
variable
CONSTANT_NAME
ClassName
(For when the old class syntax is used for defining a class.)Bad:
variableName
camel-case-functions
camel-case-functions
ensures that all functions, classes, and methods defined are in camel case, consisting of lower and upper case letters, with words separated by the letter changing to upper case.
Good:
variableName
variable
Bad:
variable_name
FAQs
A plugin for the ESLint linter that adds more naming conventions for variables and functions.
The npm package eslint-plugin-travel-planet receives a total of 21 weekly downloads. As such, eslint-plugin-travel-planet popularity was classified as not popular.
We found that eslint-plugin-travel-planet demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 1 open source maintainer collaborating on the project.
Did you know?
Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.
Security News
PEP 770 proposes adding SBOM support to Python packages to improve transparency and catch hidden non-Python dependencies that security tools often miss.
Security News
Socket CEO Feross Aboukhadijeh discusses open source security challenges, including zero-day attacks and supply chain risks, on the Cyber Security Council podcast.
Security News
Research
Socket researchers uncover how threat actors weaponize Out-of-Band Application Security Testing (OAST) techniques across the npm, PyPI, and RubyGems ecosystems to exfiltrate sensitive data.