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
245 changes: 0 additions & 245 deletions .eslintrc.json

This file was deleted.

9 changes: 3 additions & 6 deletions .github/workflows/cicd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,11 +32,8 @@ jobs:
- name: Install Dependencies
run: npm ci

- name: Compile Source Code
run: npm run build:ci

- name: Test Source Code
run: npm run test:spec

- name: Lint Source Code
run: npm run lint

- name: Compile Source Code
run: npm run build:ci
9 changes: 9 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# djs-commander

Command handler for discord.js

# Domain

## Command

- Register command to the Discord API
- Command type (global/guild)
- Command options/arguments/sub-commands
- Listen for commands
31 changes: 31 additions & 0 deletions eslint.config.mjs
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
import eslint from '@eslint/js';
import importPlugin from 'eslint-plugin-import';
import tseslint from 'typescript-eslint';
import globals from 'globals';

export default tseslint.config(eslint.configs.recommended, tseslint.configs.recommended, {
files: ['**/*.{ts,js,mjs}'],
languageOptions: {
parserOptions: {
ecmaVersion: 'latest',
sourceType: 'module',
},
globals: {
...globals.node,
},
},
plugins: {
import: importPlugin,
},
rules: {
'import/order': [
'warn',
{
groups: ['builtin', 'external', 'internal', 'index', 'sibling', 'parent'],
alphabetize: {
order: 'asc',
},
},
],
},
});
Loading
Loading