eslint-config-appfolio-react
Advanced tools
Comparing version 1.1.0 to 1.2.0
17
index.js
module.exports = { | ||
'extends': [ | ||
'airbnb', | ||
'appfolio-base' | ||
], | ||
extends: ['airbnb', 'appfolio-base'], | ||
env: { | ||
@@ -11,5 +8,5 @@ browser: true | ||
'class-methods-use-this': 0, | ||
'jsx-a11y/anchor-is-valid': [ 'error', { | ||
'components': ['Link'], | ||
'specialLink': ['to'] | ||
'jsx-a11y/anchor-is-valid': [2, { | ||
components: ['Link'], | ||
specialLink: ['to'] | ||
}], | ||
@@ -22,7 +19,7 @@ 'react/forbid-prop-types': 0, | ||
'react/sort-comp': [1, { | ||
'order': [ | ||
order: [ | ||
'propTypes', | ||
'defaultProps', | ||
'static-methods', | ||
'state', | ||
'state', | ||
'constructor', | ||
@@ -40,2 +37,2 @@ 'everything-else', | ||
} | ||
} | ||
}; |
{ | ||
"name": "eslint-config-appfolio-react", | ||
"version": "1.1.0", | ||
"version": "1.2.0", | ||
"description": "Appfolio ESLint React config", | ||
@@ -9,2 +9,3 @@ "main": "index.js", | ||
"scripts": { | ||
"lint": "eslint .", | ||
"postpublish": "git push --no-verify && git push --tags" | ||
@@ -15,3 +16,3 @@ }, | ||
"eslint-config-airbnb": "^16.1.0", | ||
"eslint-config-appfolio-base": "^1.0.3", | ||
"eslint-config-appfolio-base": "^1.1.0", | ||
"eslint-plugin-import": "^2.8.0", | ||
@@ -18,0 +19,0 @@ "eslint-plugin-jsx-a11y": "^6.0.2", |
3574
6