question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Features

ESM rule support #187

Secretlint allow to load secretlint rule as ESM(ECMAScript modules). You can write secretlint rule as ESM.

For more details, pleases see document.

Support secretlint-disable directive #96 #195

@secretlint/secretlint-rule-filter-comments support disable comment like secretlint-disable.

This rule is included in @secretlint/secretlint-rule-preset-recommend.

// secretlint-disable -- disable all rules

THIS IS SECRET A
THIS IS SECRET B
THIS IS SECRET C

// secretlint-enable -- enable again

// secretlint-disable-next-line @secretlint/secretlint-rule-secret-alphabet -- disable specific rule in next line
THIS IS SECRET D
THIS IS SECRET E // secretlint-disable-line -- disable current line

If you want to use this directive in shellscript, you can use # secretlint-disable.

# secretlint-disable-next-line
echo "THIS IS SECRET, BUT IT WILL BE IGNORED"

For more details, see https://github.com/secretlint/secretlint/blob/master/docs/configuration.md

Breaking Changes

use export cosnt creator instead of export default #190

Secretlint rule should use named export insteadof default export. It is caused is thatDynamic Import in CommonJS is broken https://github.com/secretlint/secretlint/issues/190

If you have a secretlint rule, please change following.

- export default creator;
+ export { creator }

Require Node.js 12 and update engines #193

Now, Secretlint requires Node.js 12+ It aims to support ECMAScript modules.

Issue Analytics

  • State:closed
  • Created 2 years ago
  • Comments:6 (6 by maintainers)

github_iconTop GitHub Comments

1reaction
azucommented, Sep 15, 2021

Please try next version.

npm install secretlint@next

or

npx @secretlint/quick-start@next "**/*"
Read more comments on GitHub >

github_iconTop Results From Across the Web

Industry 4.0 Roadmap: Implementation for Small and ...
To this end, a simple six-step roadmap is proposed that includes real implementations of Industry 4.0 in SMEs. Our results show that implementing...
Read more >
Industrie 4.0 roadmap: Framework for digital transformation ...
This paper introduces a framework to evaluate and guide Industrie 4.0 implementations, which build upon insights from capability maturity and alignment. Based ...
Read more >
How we create an Industry 4.0 Roadmap for plants and ...
In our Industry 4.0 Roadmap process, everything starts with the analysis of the current capabilities of the production site and corporate IT ...
Read more >
Smarter 4.0 Roadmap - LMAC
LMAC's Smarter 4.0 roadmap is a packaged, scalable and deployable programme that incorporates three key phases: plan, deploy and scale.
Read more >
Industry 4.0 Strategy Roadmap | SmarterChains
Drive your Industry 4.0 transformation. Our tailor-made Industry 4.0 Roadmap builds on the data and insights provided from SmarterChains Assessment to pin ...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found