
Security News
Risky Biz Podcast: Making Reachability Analysis Work in Real-World Codebases
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
@stark-tech-space/stark-prettier-config
Advanced tools
A Prettier configuration based off the Airbnb JavaScript style guide for Stark
npm i prettier @stark-tech-space/stark-prettier-config -D
In your package.json
:
{
"name": "my-library",
"version": "1.0.0",
"prettier": "@stark-tech-space/stark-prettier-config"
}
If you don't want to use your package.json
, you can create a .prettierrc.json
file in your projects root directory.
'@stark-tech-space/stark-prettier-config';
If you would like to extend or modify these properties, create a .prettierrc.js
file in your projects root directory and export your desired modifications.
module.exports = {
...require('@stark-tech-space/stark-prettier-config'),
printWidth: 120,
};
Only quote properties that are invalid identifiers.
"quoteProps": "as-needed"
Use single quotes instead of double quotes.
"singleQuote": true
Keep parentheses around a sole arrow function parameter.
"arrowParens": "always"
Use soft tabs (space character) set to 2 spaces.
"tabWidth": 2
"useTabs": false
Specify the line length that the printer will wrap on. Wrap prose if it exceeds the print width.
"printWidth": 100
"proseWrap": "always"
Always print spaces between brackets in object literals.
"bracketSpacing": true
Print trailing commas wherever possible when multi-line. (A single-line array, for example, never gets trailing commas.)
"trailingComma": "all"
Print semicolons at the ends of statements.
"semi": true
Prettier allows some React/JSX properties to be configured. If your project doesn't use React, no need to worry; these properties won't be applied to your project!
Use double quotes in JSX.
"jsxSingleQuote": false
If your component has multi-line properties, close its tag on a new line.
"jsxBracketSameLine": false
FAQs
Prettier Config for Stark Tech
The npm package @stark-tech-space/stark-prettier-config receives a total of 1 weekly downloads. As such, @stark-tech-space/stark-prettier-config popularity was classified as not popular.
We found that @stark-tech-space/stark-prettier-config demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 2 open source maintainers 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
This episode explores the hard problem of reachability analysis, from static analysis limits to handling dynamic languages and massive dependency trees.
Security News
/Research
Malicious Nx npm versions stole secrets and wallet info using AI CLI tools; Socket’s AI scanner detected the supply chain attack and flagged the malware.
Security News
CISA’s 2025 draft SBOM guidance adds new fields like hashes, licenses, and tool metadata to make software inventories more actionable.