
Research
Two Malicious Rust Crates Impersonate Popular Logger to Steal Wallet Keys
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
@linzjs/style
Advanced tools
[](https://github.com/linz/style-js/actions) [](https://github.com/linz/style-js/blob/master/LICENSE)
NPM configuration for base typescript projects
Includes:
And configuration for saneish defaults, which can be extended
Most of these are the raw defaults/recommended settings from typescript, eslint and prettier.
export class FooBar {
get foo(): number {
return 1;
}
async bar(): Promise<string> {
return 'bar';
}
/**
* @param foo foo to bar
*/
fooBar(foo = 'foo'): string {
return `${foo}bar`;
}
}
eslint
using the extensions menu"editor.codeActionsOnSave": {
"source.fixAll.eslint": true
},
"eslint.validate": ["javascript"],
IntelliJ has ESLint support by default,
npm install @linzjs/style
Either create the base configuration files
# If on windows run `node ./node_modules/@linzjs/style/build/src/install.js`
# - tsconfig.json
# - .eslintrc.cjs
# - .prettierrc.cjs
npx linz-style-install
Or extend your existing eslintrc.js
config
Example extending the .eslintrc.js
file in your project
module.exports = {
extends: ["./node_modules/@linzjs/style/.eslintrc.cjs"],
overrides: [
{
/** Overrides for typescript */
files: ["**/*.ts", "**/*.tsx"],
rules: {
"@typescript-eslint/super-crazy-hook-rule": "error",
},
},
]
}
npx eslint .
See Migration Docs
FAQs
[](https://github.com/linz/style-js/actions) [](https://github.com/linz/style-js/blob/master/LICENSE)
The npm package @linzjs/style receives a total of 12,640 weekly downloads. As such, @linzjs/style popularity was classified as popular.
We found that @linzjs/style demonstrated a not healthy version release cadence and project activity because the last version was released a year ago. It has 0 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.
Research
Socket uncovers malicious Rust crates impersonating fast_log to steal Solana and Ethereum wallet keys from source code.
Research
A malicious package uses a QR code as steganography in an innovative technique.
Research
/Security News
Socket identified 80 fake candidates targeting engineering roles, including suspected North Korean operators, exposing the new reality of hiring as a security function.