Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 2 additions & 0 deletions .npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

src/
tsconfig.json
src/*.ts
Expand Down
2 changes: 2 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
<!-- SPDX-License-Identifier: Apache-2.0 -->

# Rule Command Line Interface Documentation

* * *
Expand Down
3 changes: 2 additions & 1 deletion src/cli.ts
Comment thread
Justus-at-Tazama marked this conversation as resolved.
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
#!/usr/bin/env node
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable @typescript-eslint/no-explicit-any */
import { program } from 'commander';
import handleTemplating from './init/template';
Expand Down
2 changes: 2 additions & 0 deletions src/common/loader.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

const loadingIndicator = ['|', '/', '-', '\\'];
let currentIndex = 0;

Expand Down
2 changes: 2 additions & 0 deletions src/common/remove.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable @typescript-eslint/no-explicit-any */
import * as shell from 'shelljs';
import * as path from 'path';
Expand Down
2 changes: 2 additions & 0 deletions src/init/template.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable @typescript-eslint/no-explicit-any */
import * as path from 'path';
import * as prompts from 'prompts';
Expand Down
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

on:
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions src/init/templates/non-returner-typescript/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

src
src/*.ts
**/index.ts
Expand Down
2 changes: 2 additions & 0 deletions src/init/templates/non-returner-typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<!-- SPDX-License-Identifier: Apache-2.0 -->

# {{rulename}}
Read me of {{rulename}} from {{orgname}}
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

on:
push:
branches:
Expand Down
2 changes: 2 additions & 0 deletions src/init/templates/returner-typescript/.npmignore
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
# SPDX-License-Identifier: Apache-2.0

src
src/*.ts
**/index.ts
Expand Down
2 changes: 2 additions & 0 deletions src/init/templates/returner-typescript/README.md
Original file line number Diff line number Diff line change
@@ -1,2 +1,4 @@
<!-- SPDX-License-Identifier: Apache-2.0 -->

# {{rulename}}
Read me of {{rulename}} from {{orgname}}
2 changes: 2 additions & 0 deletions src/module/module.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable @typescript-eslint/no-explicit-any */
import * as shell from 'shelljs';
import * as path from 'path';
Expand Down
2 changes: 2 additions & 0 deletions src/start/start.ts
Original file line number Diff line number Diff line change
@@ -1,3 +1,5 @@
// SPDX-License-Identifier: Apache-2.0

/* eslint-disable @typescript-eslint/no-explicit-any */
import * as shell from 'shelljs';
import * as path from 'path';
Expand Down