canvas-lms/.lintstagedrc.js

8 lines
174 B
JavaScript
Raw Normal View History

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