|
32 | 32 | "format:eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --fix ./ >/dev/null 2>&1 || true", |
33 | 33 | "format:imports": "import-sort --write '**/*.{js,jsx,ts,tsx}'", |
34 | 34 | "format:package": "prettier-package-json --write", |
35 | | - "format:prettier": "prettier --write '**/*.{css,gql,graphql,html,js,jsx,json,less,md,mdx,scss,ts,tsx,vue,yaml,yml}' '.editorconfig' 'LICENSE'", |
36 | | - "lint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./", |
| 35 | + "format:prettier": "prettier --write '**/*.{css,gql,graphql,html,js,jsx,json,less,scss,ts,tsx,vue,yaml,yml}' '.editorconfig' 'LICENSE'", |
| 36 | + "lint": "run-p lint:eslint lint:markdown", |
| 37 | + "lint:eslint": "eslint --cache --ext .js,.jsx,.ts,.tsx --format=pretty ./", |
| 38 | + "lint:markdown": "markdownlint '**/*.md' --ignore coverage --ignore dist --ignore node_modules", |
37 | 39 | "lint:watch": "onchange 'src/**/*' --initial --kill --delay 1000 -- npm run lint", |
38 | 40 | "prepublish": "rimraf dist && npm run build", |
39 | 41 | "start": "node dist/create-exposed-app.js", |
|
91 | 93 | "import-sort-style-module": "5.0.0", |
92 | 94 | "jest": "^24.0.0", |
93 | 95 | "lint-staged": "^8.1.1", |
| 96 | + "markdownlint-cli": "^0.14.0", |
94 | 97 | "nodemon": "^1.18.9", |
95 | 98 | "npm-run-all": "^4.1.5", |
96 | 99 | "onchange": "^5.2.0", |
|
0 commit comments