eslint-config-planet
Advanced tools
Comparing version 14.0.0 to 15.0.0
@@ -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 @@ }); |
@@ -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
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
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
0
9562
10
137
Updatedprettier@^1.6.0