UNPKG

@knapsack/https

Version:

Automatically provisions and installs locally-trusted TLS certificates for Node.js https servers (including Express.js, etc.) using mkcert.

12 lines (8 loc) 312 B
import { dirname } from 'path'; import { fileURLToPath } from 'url'; import defaultConfig from '../../.lintstagedrc.mjs'; const __dirname = dirname(fileURLToPath(import.meta.url)); export default { '*.{ts,tsx,js,jsx,cjs,mjs,mts,cts}': `cd ${__dirname} && ./node_modules/.bin/eslint`, ...defaultConfig, };