canvas-lms/.lintstagedrc.js

8 lines
174 B
JavaScript

const filesToCheck = require('./.prettierwhitelist.js')
const config = {}
filesToCheck.forEach(glob => config[glob] = ['eslint --fix', 'git add'])
module.exports = config