@thecodejs/eslint-rules
Version:
Collection of ESLint and Prettier rules which are best for JS developers
12 lines (9 loc) • 342 B
JavaScript
const defaultConfig = require('./rules-js')
module.exports = Object.assign({}, defaultConfig, {
'react/display-name': 'off',
'react/jsx-no-bind': 'error',
'react/no-find-dom-node': 'warn',
'react/prop-types': 'error',
'react/self-closing-comp': ['error', { 'component': true, 'html': true }],
})