eslint-config-eventbrite-react
Advanced tools
Comparing version 1.0.0 to 1.1.1
@@ -0,2 +1,9 @@ | ||
## v1.1.1 (June 22, 2016) | ||
- (dev ops) Bump `eslint-config-eventbrite` dependency to 2.0.0 | ||
## v1.1.0 (June 22, 2016) | ||
- (minor) turning off `react/prop-types` (temporarily) | ||
- (minor) validate `htmlFor` on `Label` component as well in `jsx-a11y/label-has-for` | ||
## v1.0.0 (June 7, 2016) | ||
- Initial release |
{ | ||
"name": "eslint-config-eventbrite-react", | ||
"version": "1.0.0", | ||
"version": "1.1.1", | ||
"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": "^1.0.0" | ||
"eslint-config-eventbrite": "^2.0.0" | ||
}, | ||
@@ -39,0 +39,0 @@ "devDependencies": { |
@@ -12,3 +12,3 @@ # eslint-config-eventbrite-react | ||
This ESLint configuration requires [`eslint`](https://github.com/eslint/eslint), [`eslint-plugin-react`](https://github.com/yannickcr/eslint-plugin-react) and [`babel-eslint`](https://github.com/babel/babel-eslint). | ||
This ESLint configuration requires [`eslint`](https://github.com/eslint/eslint), [`eslint-plugin-react`](https://github.com/yannickcr/eslint-plugin-react), [`eslint-plugin-jsx-a11y`](https://github.com/evcohen/eslint-plugin-jsx-a11y/) and [`babel-eslint`](https://github.com/babel/babel-eslint). | ||
@@ -25,5 +25,3 @@ Install `eslint`, `eslint-plugin-react`, `eslint-plugin-jsx-a11y`, `babel-eslint` & `eslint-config-eventbrite-react` dependencies: | ||
{ | ||
"extends": [ | ||
"eventbrite-react" | ||
] | ||
"extends": "eventbrite-react" | ||
} | ||
@@ -30,0 +28,0 @@ ``` |
@@ -8,3 +8,3 @@ module.exports = { | ||
// View link below for docs on react a11y rules | ||
// https://github.com/yannickcr/eslint-plugin-react#list-of-supported-rules | ||
// https://github.com/evcohen/eslint-plugin-jsx-a11y/ | ||
rules: { | ||
@@ -40,5 +40,5 @@ // Enforce all `aria-*` props are valid | ||
// Enforce that `<label>` elements have the `htmlFor` prop | ||
// Enforce that `<label>` & (custom) <Label> elements have the `htmlFor` prop | ||
// https://github.com/evcohen/eslint-plugin-jsx-a11y/blob/master/docs/rules/label-has-for.md | ||
'jsx-a11y/label-has-for': 'error', | ||
'jsx-a11y/label-has-for': ['error', 'Label'], | ||
@@ -45,0 +45,0 @@ // Enforce that onMouseOver/onMouseOut are accompanied by onFocus/onBlur |
@@ -32,3 +32,3 @@ module.exports = { | ||
// Validate closing bracket location in JSX is aligned with opening tag | ||
// Enforce closing bracket location in JSX is aligned with opening tag | ||
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/jsx-closing-bracket-location.md | ||
@@ -110,2 +110,7 @@ 'react/jsx-closing-bracket-location': 'error', | ||
// (temporary) Allow missing props validation in a React component definition | ||
// TODO: Reenable once we're able to configure it to ignore stateless functions (our helper components) | ||
// https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/prop-types.md | ||
'react/prop-types': 'off', | ||
// Enforce that ES6 class returns a value for `render()` method | ||
@@ -112,0 +117,0 @@ // https://github.com/yannickcr/eslint-plugin-react/blob/master/docs/rules/require-render-return.md |
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
15376
177
45
+ Addedeslint-config-eventbrite@2.1.1(transitive)
- Removedeslint-config-eventbrite@1.0.0(transitive)