eslint-config-pv
Advanced tools
Comparing version 2.0.0 to 2.1.1
@@ -9,2 +9,7 @@ /* eslint-disable strict */ | ||
const a = b => b; | ||
const v = b => b; | ||
a(); | ||
v(); | ||
export default SearchInputModel.extend({ | ||
@@ -113,3 +118,3 @@ | ||
useEslintrc: false, | ||
configFile: "__tests__/.eslintrc-index" | ||
configFile: "__tests__/.eslintrc-index", | ||
}); | ||
@@ -135,3 +140,3 @@ }); | ||
useEslintrc: false, | ||
configFile: "__tests__/.eslintrc-legacy" | ||
configFile: "__tests__/.eslintrc-legacy", | ||
}); | ||
@@ -157,3 +162,3 @@ }); | ||
useEslintrc: false, | ||
configFile: "__tests__/.eslintrc-index" | ||
configFile: "__tests__/.eslintrc-index", | ||
}); | ||
@@ -160,0 +165,0 @@ }); |
@@ -0,5 +1,13 @@ | ||
# 2.1.1 | ||
- Changed: made prettier optional | ||
# 2.1.0 | ||
- Changed: added prettier compatibility | ||
# 2.0.0 | ||
- Changed: Compatible with eslint 4.6.1 | ||
- Changed: added `"array-bracket-newline": ["error", { "multiline": false, "minItems": 2 }]` | ||
- Changed: added `"array-bracket-newline": ["off"]` | ||
- Changed: added `"array-element-newline": ["off"]` | ||
@@ -6,0 +14,0 @@ - Changed: added `"capitalized-comments": ["off"]` |
{ | ||
"name": "eslint-config-pv", | ||
"version": "2.0.0", | ||
"version": "2.1.1", | ||
"description": "pro!vision ESLint configuration. Can be adapted and adjusted in each project.", | ||
@@ -11,2 +11,6 @@ "author": { | ||
{ | ||
"name": "Ingo Fahrentholz", | ||
"email": "ifahrentholz@pro-vision.de" | ||
}, | ||
{ | ||
"name": "David Ding", | ||
@@ -39,8 +43,7 @@ "email": "dding@pro-vision.de" | ||
"scripts": { | ||
"lint": "npm-run-all --parallel lint:*", | ||
"lint:js": "eslint . --ignore-path .gitignore", | ||
"lint:md": "remark . --frail --use lint --quiet", | ||
"lint": "eslint . --ignore-path .gitignore", | ||
"pretest": "npm run lint", | ||
"release": "npmpub", | ||
"test": "jest", | ||
"eslint-check": "eslint --print-config .eslintrc.js | eslint-config-prettier-check", | ||
"watch": "jest --watch" | ||
@@ -56,13 +59,10 @@ }, | ||
"devDependencies": { | ||
"eslint": "4.6.1", | ||
"eslint-plugin-import": "2.7.0", | ||
"github-release-from-changelog": "1.2.1", | ||
"jest": "21.0.1", | ||
"npm-run-all": "4.1.1", | ||
"npmpub": "3.1.0", | ||
"remark-cli": "4.0.0", | ||
"remark-lint": "6.0.1", | ||
"remark-preset-lint-recommended": "3.0.1" | ||
"eslint": "5.10.0", | ||
"eslint-config-prettier": "3.3.0", | ||
"eslint-plugin-import": "2.14.0", | ||
"eslint-plugin-prettier": "3.0.0", | ||
"jest": "23.6.0", | ||
"prettier": "1.15.3" | ||
}, | ||
"dependencies": {} | ||
} |
@@ -13,5 +13,5 @@ # eslint-config-pv | ||
```bash | ||
npm install --save-dev eslint-config-pv | ||
npm install --save-dev eslint-config-pv eslint-plugin-import | ||
# for the eslint 3 compatible version | ||
npm install --save-dev eslint-config-pv@1.0.10 | ||
npm install --save-dev eslint-config-pv@1.0.10 eslint-plugin-import | ||
``` | ||
@@ -22,3 +22,3 @@ | ||
We export two ESLint configurations for usage in projects. | ||
We export three ESLint configurations for usage in projects. | ||
@@ -56,2 +56,19 @@ | ||
### eslint-config-pv/prettier | ||
You need to install additional plugins: | ||
```bash | ||
npm install --save-dev eslint-config-prettier eslint-plugin-prettier prettier | ||
``` | ||
This allows you to use prettier with eslint integration | ||
``` | ||
{ | ||
"extends": "pv/prettier" | ||
} | ||
``` | ||
See the [ESlint config docs](http://eslint.org/docs/user-guide/configuring#extending-configuration-files) | ||
@@ -58,0 +75,0 @@ for more information. |
Sorry, the diff of this file is not supported yet
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
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
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
Major refactor
Supply chain riskPackage has recently undergone a major refactor. It may be unstable or indicate significant internal changes. Use caution when updating to versions that include significant changes.
Found 1 instance in 1 package
48933
6
18
732
93