reports/frontend/node_modules/es-abstract-get/eslint.config.mjs
jtricerolph 1c411e402e Add settings page for managing forecasting API key and URL via UI
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>
2026-07-20 14:37:36 +00:00

42 lines
706 B
JavaScript

import ljharb from '@ljharb/eslint-config/flat';
import ljharbTests from '@ljharb/eslint-config/flat/tests';
export default [
{
ignores: [
'coverage',
'.nyc_output',
],
},
...ljharb,
{
rules: {
eqeqeq: ['error', 'allow-null'],
'func-style': ['error', 'declaration'],
'id-length': [
'error', {
max: 24,
min: 1,
properties: 'never',
},
],
'multiline-comment-style': 'off',
'new-cap': [
'error', {
capIsNewExceptions: [
'Get',
'GetMethod',
'GetV',
'ToObject',
],
},
],
'no-extra-parens': 'off',
'no-magic-numbers': 'off',
},
},
...ljharbTests.map((c) => ({
...c,
files: ['test/**'],
})),
];