mirror of
https://github.com/freeCodeCamp/freeCodeCamp.git
synced 2025-12-19 18:18:27 -05:00
9 lines
322 B
JavaScript
9 lines
322 B
JavaScript
/* eslint-disable filenames-simple/naming-convention */
|
|
import { createLintStagedConfig } from '@freecodecamp/eslint-config/lintstaged';
|
|
|
|
export default {
|
|
...createLintStagedConfig(import.meta.dirname),
|
|
'./challenges/**/*.md': files =>
|
|
files.map(filename => `node ../tools/scripts/lint/index.js '${filename}'`)
|
|
};
|