8.2.4 • Published 12 days ago

@secretlint/secretlint-rule-openai v8.2.4

Weekly downloads
-
License
MIT
Repository
github
Last release
12 days 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.2.4

12 days ago

8.2.3

1 month ago

8.2.2

1 month ago

8.2.1

1 month ago

8.2.0

1 month ago

8.1.2

3 months ago

8.1.1

3 months ago

8.1.0

5 months ago

8.0.0

5 months ago

7.2.0

6 months ago

7.1.0

6 months ago