chore: config overhaul

This commit is contained in:
iCrawl
2023-08-22 01:33:47 +02:00
parent 5d7c59c301
commit 1e3aed0d97
131 changed files with 353 additions and 114 deletions

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"root": true,
"extends": ["eslint:recommended"],
"plugins": ["import"],

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/lintstagedrc.schema.json",
"*": "prettier --ignore-unknown --write",
"{src/**,test/**,typings/**,scripts/**}.{mjs,js,ts}": "eslint --ext mjs,js,ts --fix"
}

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/prettierrc.json",
"singleQuote": true,
"printWidth": 120,
"trailingComma": "all",

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/package.json",
"name": "discord.js",
"version": "14.13.0",
"description": "A powerful library for interacting with the Discord API",

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/eslintrc.json",
"extends": "../.eslintrc.json",
"parserOptions": {
"sourceType": "module"

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tsconfig.json",
"extends": "../../tsconfig.json",
"compilerOptions": {
// Output Formatting

View File

@@ -1,4 +1,5 @@
{
"$schema": "https://json.schemastore.org/tslint.json",
"extends": ["dtslint/dtslint.json"],
"rules": {
"prefer-readonly": false,