Skip to content

Commit 775a90c

Browse files
committed
add lint pragma
1 parent 2cc1e57 commit 775a90c

16 files changed

+64
-0
lines changed

eslint.config.mjs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
import js from "@eslint/js";
26
import eslintConfigPrettier from "eslint-config-prettier/flat";
37
import importPlugin from "eslint-plugin-import";

gulpfile.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
const babel = require("gulp-babel");
26
const chmod = require("gulp-chmod");
37
const gulp = require("gulp");

lib/gren-examples.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env node
22

3+
/**
4+
* @prettier
5+
*/
6+
37
import { Command } from "commander";
48
import chalk from "chalk";
59
import examples from "./_examples";

lib/gren-init.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env node
22

3+
/**
4+
* @prettier
5+
*/
6+
37
import { Command } from "commander";
48
import { green } from "chalk";
59
import ObjectAssignDeep from "object-assign-deep";

lib/gren.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,9 @@
11
#!/usr/bin/env node
22

3+
/**
4+
* @prettier
5+
*/
6+
37
import { Command } from "commander";
48
import { version, description } from "../package.json";
59

lib/src/GitHubInfo.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
import { exec } from "child_process";
26
import chalk from "chalk";
37

lib/src/Gren.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
import chalk from "chalk";
26
import Github from "github-api";
37
import utils from "./_utils.js";

lib/src/Program.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
import GitHubInfo from "./GitHubInfo";
26
import { Command } from "commander";
37
import { getGrenConfig } from "./_utils.js";

lib/src/_init.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
import { input, select, confirm, checkbox } from "@inquirer/prompts";
26
import utils from "./_utils";
37
import GitHubInfo from "./GitHubInfo";

lib/src/_utils.js

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
/**
2+
* @prettier
3+
*/
4+
15
const chalk = require("chalk");
26
const fs = require("fs");
37
const path = require("path");

0 commit comments

Comments
 (0)