is-accessor-descriptor
Version:
Returns true if a value has the characteristics of a valid JavaScript accessor descriptor.
21 lines (19 loc) • 331 B
JavaScript
import ljharbConfig from '@ljharb/eslint-config/flat';
export default [
...ljharbConfig,
{
files: ['index.js'],
rules: {
complexity: 'off',
'no-param-reassign': 'warn',
},
},
{
files: ['test/**/*.js'],
rules: {
'getter-return': 'off',
'id-length': 'off',
'max-lines-per-function': 'warn',
},
},
];