Socket
Socket
Sign inDemoInstall

eslint-config-eventbrite-react

Package Overview
Dependencies
171
Maintainers
1
Versions
10
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

Comparing version 1.1.2 to 1.2.0

4

CHANGELOG.md

@@ -0,1 +1,5 @@

## v1.2.0 (July 12, 2016)
- (minor) Change `react/jsx-handler-names` `eventHandlerPrefix` to `_handle` from `handle`
- (patch) Bump `eslint-config-eventbrite` dependency to 2.1.1
## v1.1.2 (June 22, 2016)

@@ -2,0 +6,0 @@ - (dev ops) Bump `eslint-config-eventbrite` dependency to 2.1.0

4

package.json
{
"name": "eslint-config-eventbrite-react",
"version": "1.1.2",
"version": "1.2.0",
"description": "Eventbrites's ESLint config that lints React & JSX, adhering to the Eventbrite JavaScript Coding Style Guide",

@@ -36,3 +36,3 @@ "main": "index.js",

"dependencies": {
"eslint-config-eventbrite": "^2.1.0"
"eslint-config-eventbrite": "^2.1.1"
},

@@ -39,0 +39,0 @@ "devDependencies": {

@@ -48,5 +48,8 @@ module.exports = {

// Enforce event handler naming conventions in JSX: on* for props, handle* from functions
// Enforce event handler naming conventions in JSX: on* for props, _handle* from methods/functions
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-handler-names.md
'react/jsx-handler-names': 'error',
'react/jsx-handler-names': ['error', {
eventHandlerPrefix: '_handle',
eventHandlerPropPrefix: 'on'
}],

@@ -53,0 +56,0 @@ // Enforce 4 space JSX tag indentation

SocketSocket SOC 2 Logo

Product

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

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc