From 8dba0df2133aebcd7471e2ba19749d34b17aee85 Mon Sep 17 00:00:00 2001 From: Salakar Date: Sat, 20 Apr 2019 21:24:21 +0100 Subject: [PATCH] [eslint] ignore template project --- .eslintignore | 1 + packages/template/post-init.js | 1 + packages/template/template.config.js | 4 ++-- 3 files changed, 4 insertions(+), 2 deletions(-) diff --git a/.eslintignore b/.eslintignore index 324825fd..6520d523 100644 --- a/.eslintignore +++ b/.eslintignore @@ -5,3 +5,4 @@ node_modules scripts/ coverage docs +packages/template/project/** diff --git a/packages/template/post-init.js b/packages/template/post-init.js index 91385053..d5658531 100644 --- a/packages/template/post-init.js +++ b/packages/template/post-init.js @@ -1,3 +1,4 @@ #!/usr/bin/env node +/* eslint-disable no-console */ console.log('FooBar'); diff --git a/packages/template/template.config.js b/packages/template/template.config.js index 7b08f002..32d8ae1c 100644 --- a/packages/template/template.config.js +++ b/packages/template/template.config.js @@ -1,10 +1,10 @@ module.exports = { // Placeholder used to rename and replace in files // package.json, index.json, android/, ios/ - placeholderName: "HelloWorld", + placeholderName: 'HelloWorld', // Directory with template - templateDir: "./project", + templateDir: './project', // TODO currently breaks on cli // Path to script, which will be executed after init