eslint-config-prettier
Advanced tools
Comparing version 3.3.0 to 3.4.0
@@ -0,1 +1,9 @@ | ||
### Version 3.4.0 (2019-01-13) | ||
- Added: Support for [eslint-plugin-typescript]. Thanks to Jed Fox (@j-f1)! | ||
- Improved: The eslint-plugin-vue integration is now using the | ||
`vue/no-layout-rules` config behind the scenes, so it should automatically | ||
stay up-to-date when new eslint-plugin-vue versions are released. Thanks to | ||
Michał Sajnóg (@michalsnik)! | ||
### Version 3.3.0 (2018-11-11) | ||
@@ -182,2 +190,3 @@ | ||
[eslint-plugin-standard]: https://github.com/xjamundx/eslint-plugin-standard | ||
[eslint-plugin-typescript]: https://github.com/bradzacher/eslint-plugin-typescript | ||
[eslint-plugin-unicorn]: https://github.com/sindresorhus/eslint-plugin-unicorn | ||
@@ -184,0 +193,0 @@ [eslint-plugin-vue]: https://github.com/vuejs/eslint-plugin-vue |
{ | ||
"name": "eslint-config-prettier", | ||
"version": "3.3.0", | ||
"version": "3.4.0", | ||
"license": "MIT", | ||
@@ -14,2 +14,3 @@ "author": "Simon Lydell", | ||
"standard.js", | ||
"typescript.js", | ||
"unicorn.js", | ||
@@ -29,3 +30,3 @@ "vue.js" | ||
"test:lint": "eslint .", | ||
"test:lint-verify-fail": "eslint \"test-lint/*.{js,vue}\" --config .eslintrc.base.js --format json", | ||
"test:lint-verify-fail": "eslint \"test-lint/*.{js,ts,vue}\" --config .eslintrc.base.js --format json", | ||
"test:lint-rules": "eslint index.js --config test-config/.eslintrc.js --format json", | ||
@@ -43,15 +44,17 @@ "test:jest": "jest", | ||
"cross-spawn": "6.0.5", | ||
"doctoc": "1.3.1", | ||
"eslint": "5.9.0", | ||
"doctoc": "1.4.0", | ||
"eslint": "5.12.0", | ||
"eslint-config-google": "0.11.0", | ||
"eslint-plugin-flowtype": "3.2.0", | ||
"eslint-plugin-prettier": "3.0.0", | ||
"eslint-plugin-react": "7.11.1", | ||
"eslint-plugin-flowtype": "3.2.1", | ||
"eslint-plugin-prettier": "3.0.1", | ||
"eslint-plugin-react": "7.12.3", | ||
"eslint-plugin-standard": "4.0.0", | ||
"eslint-plugin-typescript": "1.0.0-rc.1", | ||
"eslint-plugin-unicorn": "6.0.1", | ||
"eslint-plugin-vue": "5.0.0-beta.3", | ||
"eslint-plugin-vue": "5.1.0", | ||
"jest": "23.6.0", | ||
"prettier": "1.15.2", | ||
"replace": "1.0.0", | ||
"rimraf": "2.6.2" | ||
"prettier": "1.15.3", | ||
"replace": "1.0.1", | ||
"rimraf": "2.6.3", | ||
"typescript": "^3.2.2" | ||
}, | ||
@@ -58,0 +61,0 @@ "peerDependencies": { |
@@ -66,2 +66,3 @@ # eslint-config-prettier [![Build Status][travis-badge]][travis] | ||
- [eslint-plugin-standard] | ||
- [eslint-plugin-typescript] | ||
- [eslint-plugin-unicorn] | ||
@@ -79,2 +80,3 @@ - [eslint-plugin-vue] | ||
"prettier/standard", | ||
"prettier/typescript", | ||
"prettier/unicorn", | ||
@@ -126,2 +128,3 @@ "prettier/vue" | ||
"plugin:react/recommended", | ||
"plugin:typescript/recommended", | ||
"plugin:unicorn/recommended", | ||
@@ -133,2 +136,3 @@ "plugin:vue/recommended", | ||
"prettier/standard", | ||
"prettier/typescript", | ||
"prettier/unicorn", | ||
@@ -142,2 +146,3 @@ "prettier/vue" | ||
"standard", | ||
"typescript", | ||
"unicorn", | ||
@@ -602,2 +607,4 @@ "vue" | ||
**This rule requires certain options.** | ||
This rule enforces whether elements should be self-closing or not. | ||
@@ -703,11 +710,12 @@ | ||
- ESLint 5.9.0 | ||
- ESLint 5.12.0 | ||
- eslint-config-prettier 2.10.0 and older were tested with ESLint 4.x | ||
- eslint-config-prettier 2.1.1 and older were tested with ESLint 3.x | ||
- prettier 1.15.2 | ||
- eslint-plugin-flowtype 3.2.0 | ||
- eslint-plugin-react 7.11.1 | ||
- prettier 1.15.3 | ||
- eslint-plugin-flowtype 3.2.1 | ||
- eslint-plugin-react 7.12.3 | ||
- eslint-plugin-standard 4.0.0 | ||
- eslint-plugin-typescript 1.0.0-rc.1 | ||
- eslint-plugin-unicorn 6.0.1 | ||
- eslint-plugin-vue 5.0.0-beta.3 | ||
- eslint-plugin-vue 5.1.0 | ||
@@ -785,2 +793,3 @@ Have new rules been added since those versions? Have we missed any rules? Is | ||
[eslint-plugin-standard]: https://github.com/xjamundx/eslint-plugin-standard | ||
[eslint-plugin-typescript]: https://github.com/bradzacher/eslint-plugin-typescript | ||
[eslint-plugin-unicorn]: https://github.com/sindresorhus/eslint-plugin-unicorn | ||
@@ -787,0 +796,0 @@ [eslint-plugin-vue]: https://github.com/vuejs/eslint-plugin-vue |
16
vue.js
"use strict"; | ||
module.exports = { | ||
extends: "plugin:vue/no-layout-rules", | ||
rules: { | ||
"vue/html-self-closing": 0, | ||
"vue/html-closing-bracket-newline": "off", | ||
"vue/html-closing-bracket-spacing": "off", | ||
"vue/html-end-tags": "off", | ||
"vue/html-indent": "off", | ||
"vue/html-quotes": "off", | ||
"vue/max-attributes-per-line": "off", | ||
"vue/multiline-html-element-content-newline": "off", | ||
"vue/mustache-interpolation-spacing": "off", | ||
"vue/no-multi-spaces": "off", | ||
"vue/no-spaces-around-equal-signs-in-attribute": "off", | ||
"vue/script-indent": "off", | ||
"vue/singleline-html-element-content-newline": "off" | ||
"vue/html-self-closing": 0 | ||
} | ||
}; |
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
43763
13
806
17
379