mirror of
https://github.com/imjasonh/apidiff-action
synced 2026-07-06 22:52:43 +00:00
26 lines
537 B
JavaScript
26 lines
537 B
JavaScript
|
|
import js from '@eslint/js';
|
||
|
|
import globals from 'globals';
|
||
|
|
import prettier from 'eslint-config-prettier';
|
||
|
|
|
||
|
|
export default [
|
||
|
|
{
|
||
|
|
ignores: ['dist/**', 'node_modules/**', 'coverage/**', 'eslint.config.mjs'],
|
||
|
|
},
|
||
|
|
js.configs.recommended,
|
||
|
|
{
|
||
|
|
languageOptions: {
|
||
|
|
ecmaVersion: 2021,
|
||
|
|
sourceType: 'commonjs',
|
||
|
|
globals: {
|
||
|
|
...globals.node,
|
||
|
|
...globals.jest,
|
||
|
|
},
|
||
|
|
},
|
||
|
|
rules: {
|
||
|
|
'no-console': 'off',
|
||
|
|
'no-unused-vars': ['error', { argsIgnorePattern: '^_' }],
|
||
|
|
},
|
||
|
|
},
|
||
|
|
prettier,
|
||
|
|
];
|