UNPKG

@marviuz/eslint-config

Version:

Comprehensive ESLint configuration for JavaScript, TypeScript, React, and Next.js projects

23 lines (22 loc) 534 B
export default { camelcase: [ 'error', { allow: ['^UNSAFE_'], ignoreDestructuring: true, ignoreGlobals: true, ignoreImports: true, properties: 'never', }, ], 'func-names': ['error', 'as-needed'], 'new-cap': ['error', { capIsNew: false }], 'new-parens': 'warn', 'no-array-constructor': 'error', 'no-bitwise': 'error', 'no-lonely-if': 'warn', 'no-multi-assign': ['error'], 'no-nested-ternary': 'error', 'no-unneeded-ternary': 'error', 'prefer-object-spread': 'warn', };