Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

eslint-config-pv

Package Overview
Dependencies
Maintainers
4
Versions
18
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-pv - npm Package Compare versions

Comparing version 2.0.0 to 2.1.1

.prettierrc

11

__tests__/index.js

@@ -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

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc