eslint-config-novacredit
Advanced tools
Comparing version 1.1.18 to 1.1.19
'use strict'; | ||
const path = require('path'); | ||
module.exports = { | ||
extends: path.join(__dirname, 'common.js'), | ||
extends: [path.join(__dirname, 'common.js'), 'prettier', 'prettier/react'], | ||
parser: 'babel-eslint', | ||
plugins: ['babel', 'react-hooks'], | ||
rules: { | ||
'arrow-parens': 0, | ||
'babel/semi': 1, | ||
camelcase: 'warn', | ||
@@ -35,19 +40,41 @@ 'class-methods-use-this': [ | ||
], | ||
'function-paren-newline': 0, | ||
'implicit-arrow-linebreak': 0, | ||
'lines-between-class-members': ['error', 'always', { exceptAfterSingleLine: true }], | ||
'no-confusing-arrow': 0, | ||
'no-else-return': 0, | ||
'no-param-reassign': [2, { props: false }], | ||
'object-curly-newline': 0, | ||
'operator-linebreak': 0, | ||
'prefer-destructuring': 0, | ||
'jsx-a11y/accessible-emoji': 0, | ||
'jsx-a11y/anchor-is-valid': 0, | ||
'jsx-a11y/click-events-have-key-events': 0, | ||
'jsx-a11y/label-has-associated-control': 0, | ||
'jsx-a11y/label-has-for': 0, | ||
'jsx-a11y/mouse-events-have-key-events': 0, | ||
'jsx-a11y/no-redundant-roles': 0, | ||
'jsx-a11y/no-static-element-interactions': 0, | ||
'max-len': 'warn', | ||
'no-param-reassign': [2, { props: false }], | ||
'react/forbid-prop-types': [1, { forbid: ['any'] }], | ||
'jsx-a11y/no-autofocus': 0, | ||
'jsx-a11y/no-noninteractive-element-interactions': 0, | ||
'react/jsx-closing-bracket-location': 'warn', | ||
'react/jsx-filename-extension': 0, | ||
'react/jsx-indent': 0, | ||
'react/jsx-indent-props': 0, | ||
'react/jsx-indent': 0, | ||
'react/jsx-wrap-multilines': 'warn', | ||
'react/jsx-wrap-multilines': ['warn', { logical: 'ignore', prop: 'ignore' }], | ||
'react/default-props-match-prop-types': 0, | ||
'react/destructuring-assignment': 0, | ||
'react/forbid-prop-types': [1, { forbid: ['any'] }], | ||
'react/prefer-stateless-function': 0, | ||
'react/prop-types': 'warn', | ||
'react/no-multi-comp': 1, | ||
'react/no-typos': 0, | ||
'react/no-unused-prop-types': 'warn', | ||
'react/prop-types': 'warn', | ||
'react/self-closing-comp': 'warn', | ||
'react/prefer-stateless-function': 0, | ||
'react-hooks/rules-of-hooks': 'error', | ||
'react-hooks/exhaustive-deps': 'warn', | ||
}, | ||
}; |
{ | ||
"name": "eslint-config-novacredit", | ||
"version": "1.1.18", | ||
"version": "1.1.19", | ||
"description": "Nova Credit's configuration for style", | ||
@@ -5,0 +5,0 @@ "main": "", |
New author
Supply chain riskA new npm collaborator published a version of the package for the first time. New collaborators are usually benign additions to a project, but do indicate a change to the security surface area of a package.
Found 1 instance in 1 package
4908
132
1