eslint-config-bx
Advanced tools
20
index.js
@@ -1,1 +0,19 @@ | ||
module.exports = require('./eslintrc.js') | ||
const ERROR = 2 | ||
module.exports = { | ||
parser: 'babel-eslint', | ||
extends: ['standard', 'standard-react'], | ||
env: { | ||
browser: true, | ||
node: true | ||
}, | ||
rules: { | ||
'no-var': ERROR, | ||
'comma-dangle': ['error', 'always'], | ||
'react/jsx-max-props-per-line': [ERROR, { maximum: 1 }], | ||
'react/jsx-closing-bracket-location': ERROR, | ||
'react/no-array-index-key': ERROR, | ||
'react/sort-comp': ERROR, | ||
'react/sort-prop-types': ERROR | ||
} | ||
} |
{ | ||
"name": "eslint-config-bx", | ||
"version": "1.2.0", | ||
"version": "1.2.1", | ||
"description": "Brixio Shareable ESLint Config", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
97774
-0.08%5
-16.67%18
-14.29%