oxlint-plugin-kysely
v0.1.2
Published
Kysely rules for oxlint.
Downloads
974
Readme
oxlint-plugin-kysely
📜 Kysely rules for oxlint
Installation
npm add -D oxlint-plugin-kyselyUsage
Register the plugin and enable the rules you want in your oxlint config.
// oxlint.config.ts
import { defineConfig } from 'oxlint';
export default defineConfig({
jsPlugins: ['oxlint-plugin-kysely'],
rules: {
'kysely/no-drop-in-up': 'error',
},
});Or, in .oxlintrc.json:
{
"jsPlugins": ["oxlint-plugin-kysely"],
"rules": {
"kysely/no-drop-in-up": "error",
},
}Rules
| Rule | Description |
| ------------------------------------------------------- | ------------------------------------------------------------------ |
| kysely/no-drop-in-up | Disallow schema-dropping calls inside a migration's up function. |
