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

eslint-config-planet

Package Overview
Dependencies
Maintainers
4
Versions
48
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

eslint-config-planet - npm Package Compare versions

Comparing version 14.0.0 to 15.0.0

6

examples/react/component.js

@@ -10,7 +10,3 @@ var React = require('react');

render: function() {
return (
<div>
Hello {this.props.name}
</div>
);
return <div>Hello {this.props.name}</div>;
}

@@ -17,0 +13,0 @@ });

3

index.js

@@ -58,4 +58,5 @@ module.exports = {

'use-isnan': "error",
'valid-typeof': "error"
'valid-typeof': "error",
'prefer-const': "error"
}
};
{
"name": "eslint-config-planet",
"version": "14.0.0",
"version": "15.0.0",
"description": "ESLint config for Planet projects",
"main": "index.js",
"scripts": {
"test": "npm run check-es6 && npm run check-react && eslint examples",
"lint": "eslint examples",
"test": "npm run check-es6 && npm run check-react && npm run lint",
"check-es6": "eslint --print-config examples/es6/.eslintrc | eslint-config-prettier-check",

@@ -18,4 +19,4 @@ "check-react": "eslint --print-config examples/react/.eslintrc | eslint-config-prettier-check",

"devDependencies": {
"eslint": "^4.3.0",
"eslint-plugin-react": "^7.1.0"
"eslint": "^4.5.0",
"eslint-plugin-react": "^7.3.0"
},

@@ -27,5 +28,5 @@ "peerDependencies": {

"eslint-config-prettier": "^2.3.0",
"eslint-plugin-prettier": "^2.1.2",
"prettier": "^1.5.3"
"eslint-plugin-prettier": "^2.2.0",
"prettier": "^1.6.0"
}
}

@@ -27,3 +27,2 @@ module.exports = {

'react/no-direct-mutation-state': "error",
'react/no-multi-comp': "error",
'react/no-unescaped-entities': "error",

@@ -30,0 +29,0 @@ 'react/no-unknown-property': "error",

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