mirror of
https://github.com/strapi/strapi.git
synced 2025-10-17 11:08:14 +00:00
Lint strapi-ejs
This commit is contained in:
parent
e9f68a3bc9
commit
e14c1373f9
@ -9,8 +9,7 @@ const path = require('path');
|
||||
|
||||
// Externals
|
||||
const co = require('co');
|
||||
const render = require('koa-ejs');
|
||||
const _ = require('lodash');
|
||||
const render = require('koa-ejs'); // eslint-disable-line import/no-unresolved
|
||||
|
||||
/**
|
||||
* EJS hook
|
||||
|
@ -27,8 +27,9 @@ const watcher = (label, pckgName, type = 'front') => {
|
||||
const packagesPath = path.resolve(process.env.PWD, 'packages');
|
||||
shell.ls('* -d', packagesPath)
|
||||
// TODO temporary just for eslint
|
||||
.filter(package => package === 'strapi-bookshelf')
|
||||
.filter(package => package === 'strapi-ejs')
|
||||
// .filter(package => package !== 'README.md')
|
||||
.forEach(package => {
|
||||
watcher(`Testing ${package}`, package);
|
||||
});
|
||||
// process.exit(1);
|
||||
|
Loading…
x
Reference in New Issue
Block a user