Gathering detailed insights and metrics for @linzjs/style
Gathering detailed insights and metrics for @linzjs/style
Gathering detailed insights and metrics for @linzjs/style
Gathering detailed insights and metrics for @linzjs/style
LINZ {Java,Type}script style guide, with built in linting and formatting
npm install @linzjs/style
Typescript
Module System
Node Version
NPM Version
JavaScript (63.26%)
TypeScript (36.74%)
Total Downloads
0
Last Day
0
Last Week
0
Last Month
0
Last Year
0
NOASSERTION License
4 Stars
336 Commits
2 Forks
4 Watchers
8 Branches
99 Contributors
Updated on Jun 23, 2024
Latest Version
5.4.0
Package Id
@linzjs/style@5.4.0
Unpacked Size
33.86 kB
Size
12.12 kB
File Count
24
NPM Version
10.7.0
Node Version
20.14.0
Published on
Jun 23, 2024
Cumulative downloads
Total Downloads
Last Day
0%
NaN
Compared to previous day
Last Week
0%
NaN
Compared to previous week
Last Month
0%
NaN
Compared to previous month
Last Year
0%
NaN
Compared to previous year
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.
1export class FooBar { 2 get foo(): number { 3 return 1; 4 } 5 6 async bar(): Promise<string> { 7 return 'bar'; 8 } 9 10 /** 11 * @param foo foo to bar 12 */ 13 fooBar(foo = 'foo'): string { 14 return `${foo}bar`; 15 } 16}
eslint
using the extensions menu1"editor.codeActionsOnSave": { 2 "source.fixAll.eslint": true 3}, 4"eslint.validate": ["javascript"],
IntelliJ has ESLint support by default,
1npm install @linzjs/style
Either create the base configuration files
1# If on windows run `node ./node_modules/@linzjs/style/build/src/install.js` 2# - tsconfig.json 3# - .eslintrc.cjs 4# - .prettierrc.cjs 5npx linz-style-install
Or extend your existing eslintrc.js
config
Example extending the .eslintrc.js
file in your project
1module.exports = { 2 extends: ["./node_modules/@linzjs/style/.eslintrc.cjs"], 3 4 overrides: [ 5 { 6 /** Overrides for typescript */ 7 files: ["**/*.ts", "**/*.tsx"], 8 rules: { 9 "@typescript-eslint/super-crazy-hook-rule": "error", 10 }, 11 }, 12 ] 13}
npx eslint .
See Migration Docs
No vulnerabilities found.
Reason
no dangerous workflow patterns detected
Reason
no binaries found in the repo
Reason
license file detected
Details
Reason
Found 5/7 approved changesets -- score normalized to 7
Reason
3 existing vulnerabilities detected
Details
Reason
0 commit(s) and 0 issue activity found in the last 90 days -- score normalized to 0
Reason
detected GitHub workflow tokens with excessive permissions
Details
Reason
dependency not pinned by hash detected -- score normalized to 0
Details
Reason
no effort to earn an OpenSSF best practices badge detected
Reason
security policy file not detected
Details
Reason
project is not fuzzed
Details
Reason
SAST tool is not run on all commits -- score normalized to 0
Details
Score
Last Scanned on 2025-07-07
The Open Source Security Foundation is a cross-industry collaboration to improve the security of open source software (OSS). The Scorecard provides security health metrics for open source projects.
Learn More