remark-preset-prettier
Advanced tools
Comparing version 0.2.1 to 0.2.2
@@ -5,2 +5,4 @@ # Changelog | ||
### [0.2.2](https://github.com/JounQin/remark-preset-prettier/compare/v0.2.1...v0.2.2) (2019-09-25) | ||
### [0.2.1](https://github.com/JounQin/remark-preset-prettier/compare/v0.2.0...v0.2.1) (2019-09-22) | ||
@@ -7,0 +9,0 @@ |
{ | ||
"name": "remark-preset-prettier", | ||
"version": "0.2.1", | ||
"version": "0.2.2", | ||
"description": "Turns off all rules that are unnecessary or might conflict with Prettier.", | ||
@@ -13,15 +13,15 @@ "repository": "git@github.com:JounQin/remark-preset-prettier.git", | ||
"module": "lib", | ||
"es2015": "lib/es2015", | ||
"fesm5": "lib/esm", | ||
"es2015": "lib/es2015", | ||
"types": "lib", | ||
"files": [ | ||
"lib", | ||
"src" | ||
"lib" | ||
], | ||
"scripts": { | ||
"build": "run-p build:*", | ||
"build:bundle": "r", | ||
"build:ts": "tsc -b", | ||
"lint": "eslint . --ext js,md,ts -f friendly", | ||
"prelint": "r", | ||
"lint": "eslint . --ext js,md,ts -f friendly", | ||
"build:ts": "tsc -b", | ||
"build:bundle": "r", | ||
"build": "run-p build:*" | ||
"type-coverage": "type-coverage --cache --ignore-catch --detail --ignore-files *.d.ts --strict" | ||
}, | ||
@@ -34,14 +34,14 @@ "peerDependencies": { | ||
"@1stg/commitlint-config": "^0.1.0", | ||
"@1stg/eslint-config": "^0.12.10", | ||
"@1stg/eslint-config": "^0.12.12", | ||
"@1stg/husky-config": "^0.3.0", | ||
"@1stg/lint-staged": "^0.7.4", | ||
"@1stg/prettier-config": "^0.2.0", | ||
"@1stg/lint-staged": "^0.8.0", | ||
"@1stg/prettier-config": "^0.3.1", | ||
"@1stg/remark-config": "^0.2.1", | ||
"@1stg/rollup-config": "^0.9.5", | ||
"@1stg/tsconfig": "^0.5.1", | ||
"@babel/core": "^7.6.0", | ||
"@1stg/rollup-config": "^0.10.4", | ||
"@1stg/tsconfig": "^0.6.0", | ||
"@babel/core": "^7.6.2", | ||
"@commitlint/cli": "^8.2.0", | ||
"eslint": "^6.4.0", | ||
"husky": "^3.0.5", | ||
"lint-staged": "^9.2.5", | ||
"lint-staged": "^9.3.0", | ||
"npm-run-all": "^4.1.5", | ||
@@ -52,8 +52,9 @@ "prettier": "^1.18.2", | ||
"rollup": "^1.21.4", | ||
"type-coverage": "^2.3.0", | ||
"typescript": "^3.6.3", | ||
"unified": "^8.4.0" | ||
}, | ||
"resolutions": { | ||
"remark-preset-prettier": "link:." | ||
"typeCoverage": { | ||
"atLeast": 100 | ||
} | ||
} |
@@ -5,2 +5,3 @@ # remark-preset-prettier | ||
[![Codacy Grade](https://img.shields.io/codacy/grade/d2f82a40047a4b69bcfc2e8afc73ea83)](https://www.codacy.com/app/JounQin/remark-preset-prettier) | ||
[![type-coverage](https://img.shields.io/badge/dynamic/json.svg?label=type-coverage&prefix=%E2%89%A5&suffix=%&query=$.typeCoverage.atLeast&uri=https%3A%2F%2Fraw.githubusercontent.com%2FJounQin%2Fremark-preset-prettierremark-preset-prettier%2Fmaster%2Fpackage.json)](https://github.com/plantain-00/type-coverage) | ||
[![npm](https://img.shields.io/npm/v/remark-preset-prettier.svg)](https://www.npmjs.com/package/remark-preset-prettier) | ||
@@ -95,24 +96,7 @@ [![GitHub release](https://img.shields.io/github/release/JounQin/remark-preset-prettier)](https://github.com/JounQin/remark-preset-prettier/releases) | ||
Please use _[eslint-mdx][]_ which works perfectly with [ESLint][] and [Remark][] both together. | ||
Please use _[eslint-plugin-mdx][]_ which works perfectly with [ESLint][] and [Remark][] both together. | ||
```jsonc | ||
{ | ||
"extends": "plugin:mdx/recommended", | ||
"overrides": [ | ||
{ | ||
"files": "*.md", | ||
"rules": { | ||
"prettier/prettier": [ | ||
2, | ||
{ | ||
"parser": "markdown" // required for `eslint-plugin-prettier` | ||
} | ||
] | ||
} | ||
}, | ||
{ | ||
"files": "*.mdx", | ||
"extends": ["plugin:mdx/overrides"] | ||
} | ||
] | ||
"extends": "plugin:mdx/recommended" | ||
} | ||
@@ -148,3 +132,3 @@ ``` | ||
[eslint]: https://eslint.org | ||
[eslint-mdx]: https://github.com/rx-ts/eslint-mdx | ||
[eslint-plugin-mdx]: https://github.com/rx-ts/eslint-mdx | ||
[remark]: https://github.com/remarkjs/remark |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
4
14279
22
7
146
132