This repository has been archived on 2025-10-10. You can view files and clone it. You cannot open issues or pull requests or push a commit.
Files
ESLegant/eslint.config.js

17 lines
396 B
JavaScript
Raw Permalink Normal View History

2023-09-02 20:25:32 -03:00
import { configs, defineConfig, presets } from '@eslegant/js';
2023-07-11 14:50:49 -03:00
2023-09-02 20:25:32 -03:00
export default defineConfig([
2023-08-31 17:12:45 -03:00
...presets.strict,
2023-09-02 20:25:32 -03:00
configs.environments.node.strict.error,
{
...configs.documentation.strict.error,
files: ['configs/**/*.js', 'configs/**/*.ts'],
},
{
files: ['**/*.{js,ts,cjs,tjs,mjs,mts,jsx,tsx}'],
rules: {
'jsdoc/check-values': ['error', { allowedLicenses: ['MIT'] }],
},
},
]);