9.0.0 • Published 10 months ago

@secretlint/secretlint-rule-openai v9.0.0

Weekly downloads
-
License
MIT
Repository
github
Last release
10 months ago

@secretlint/secretlint-rule-openai

A secretline rule for OpenAI.

Install

Install with npm:

npm install @secretlint/secretlint-rule-openai

MessageIDs

OPENAI_TOKEN

found OpenAI API Token: {{KEY}}

OpenAI API tokens should be private.

Options

Examples

{
    "rules": [
        {
            "id": "@secretlint/secretlint-rule-openai",
            // Ignore error related to IDs
            "allowMessageIds": ["OPENAI_TOKEN"],
            "options": {
                // allow list
                "allows": ["/IT_IS_PUBLIC/"]
            }
        }
    ]
}

Changelog

See Releases page.

Running tests

Install devDependencies and Run npm test:

npm test

Contributing

Pull requests and stars are always welcome.

For bugs and feature requests, please create an issue.

  1. Fork it!
  2. Create your feature branch: git checkout -b my-new-feature
  3. Commit your changes: git commit -am 'Add some feature'
  4. Push to the branch: git push origin my-new-feature
  5. Submit a pull request :D

Author

License

MIT © Natsuki Ikeguchi

8.3.0

10 months ago

8.5.0

10 months ago

8.3.2

10 months ago

8.4.0

10 months ago

8.3.1

10 months ago

8.3.3

10 months ago

9.0.0

10 months ago

8.2.4

1 year ago

8.2.3

1 year ago

8.2.2

1 year ago

8.2.1

1 year ago

8.2.0

1 year ago

8.1.2

1 year ago

8.1.1

2 years ago

8.1.0

2 years ago

8.0.0

2 years ago

7.2.0

2 years ago

7.1.0

2 years ago