mirror of
https://github.com/ivuorinen/base-configs.git
synced 2026-01-26 03:03:59 +00:00
feat!: module & commonjs in markdownlint
BREAKING CHANGE: support module, and commonjs types
This commit is contained in:
@@ -1,6 +1,7 @@
|
|||||||
{
|
{
|
||||||
"name": "@ivuorinen/markdownlint-config",
|
"name": "@ivuorinen/markdownlint-config",
|
||||||
"version": "0.2.9",
|
"version": "0.2.9",
|
||||||
|
"type": "module",
|
||||||
"description": "ivuorinen's shareable configuration for markdownlint.",
|
"description": "ivuorinen's shareable configuration for markdownlint.",
|
||||||
"author": {
|
"author": {
|
||||||
"name": "Ismo Vuorinen",
|
"name": "Ismo Vuorinen",
|
||||||
@@ -33,7 +34,7 @@
|
|||||||
"url": "https://github.com/ivuorinen/base-configs.git"
|
"url": "https://github.com/ivuorinen/base-configs.git"
|
||||||
},
|
},
|
||||||
"scripts": {
|
"scripts": {
|
||||||
"postinstall": "node scripts/postinstall.js"
|
"postinstall": "node scripts/postinstall.cjs"
|
||||||
},
|
},
|
||||||
"dependencies": {
|
"dependencies": {
|
||||||
"@ivuorinen/config-checker": "^1.1.4",
|
"@ivuorinen/config-checker": "^1.1.4",
|
||||||
|
|||||||
@@ -2,6 +2,7 @@
|
|||||||
|
|
||||||
const fs = require('fs')
|
const fs = require('fs')
|
||||||
const path = require('path')
|
const path = require('path')
|
||||||
|
// noinspection NpmUsedModulesInstalled
|
||||||
const process = require('process')
|
const process = require('process')
|
||||||
const checkConfig = require('@ivuorinen/config-checker')
|
const checkConfig = require('@ivuorinen/config-checker')
|
||||||
const foundConfig = checkConfig('markdownlint')
|
const foundConfig = checkConfig('markdownlint')
|
||||||
Reference in New Issue
Block a user