mirror of
https://github.com/discordjs/discord.js.git
synced 2026-03-09 16:13:31 +01:00
chore: format all supported Prettier files (#7233)
This commit is contained in:
2
packages/builders/.prettierignore
Normal file
2
packages/builders/.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": "jest --pass-with-no-tests",
|
||||
"lint": "eslint src --ext mjs,js,ts",
|
||||
"lint:fix": "eslint src --ext mjs,js,ts --fix",
|
||||
"format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"format": "prettier --write .",
|
||||
"docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
|
||||
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -l -c ../../cliff.toml -r ../../ --include-path './*'"
|
||||
|
||||
2
packages/collection/.prettierignore
Normal file
2
packages/collection/.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
@@ -7,7 +7,7 @@
|
||||
"build": "tsup",
|
||||
"lint": "eslint src --ext mjs,js,ts",
|
||||
"lint:fix": "eslint src --ext mjs,js,ts --fix",
|
||||
"format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"format": "prettier --write .",
|
||||
"docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
|
||||
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -l -c ../../cliff.toml -r ../../ --include-path './*'"
|
||||
|
||||
2
packages/discord.js/.prettierignore
Normal file
2
packages/discord.js/.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
@@ -8,7 +8,7 @@
|
||||
"lint": "eslint ./src",
|
||||
"lint:fix": "eslint ./src --fix",
|
||||
"lint:typings": "tslint ./typings/index.d.ts",
|
||||
"format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"format": "prettier --write .",
|
||||
"docs": "docgen --source ./src --custom ./docs/index.yml --output ./docs/docs.json",
|
||||
"docs:test": "docgen --source ./src --custom ./docs/index.yml",
|
||||
"prepublishOnly": "yarn lint && yarn test",
|
||||
|
||||
2
packages/rest/.prettierignore
Normal file
2
packages/rest/.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": " jest --pass-with-no-tests --collect-coverage",
|
||||
"lint": "eslint src __tests__ --ext mjs,js,ts",
|
||||
"lint:fix": "eslint src __tests__ --ext mjs,js,ts --fix",
|
||||
"format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"format": "prettier --write .",
|
||||
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -l -c ../../cliff.toml -r ../../ --include-path './*'"
|
||||
},
|
||||
|
||||
2
packages/voice/.prettierignore
Normal file
2
packages/voice/.prettierignore
Normal file
@@ -0,0 +1,2 @@
|
||||
# Autogenerated
|
||||
CHANGELOG.md
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint src --ext .ts",
|
||||
"lint:fix": "eslint src --ext .ts --fix",
|
||||
"prettier": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"prettier": "prettier --write .",
|
||||
"build": "tsc",
|
||||
"build:check": "tsc --noEmit --incremental false"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": "echo \"Error: no test specified\" && exit 1",
|
||||
"lint": "eslint src --ext .ts",
|
||||
"lint:fix": "eslint src --ext .ts --fix",
|
||||
"prettier": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"prettier": "prettier --write .",
|
||||
"build": "tsc",
|
||||
"build:check": "tsc --noEmit --incremental false"
|
||||
},
|
||||
|
||||
@@ -7,7 +7,7 @@
|
||||
"test": " jest --pass-with-no-tests --collect-coverage",
|
||||
"lint": "eslint src --ext mjs,js,ts",
|
||||
"lint:fix": "eslint src --ext mjs,js,ts --fix",
|
||||
"format": "prettier --write **/*.{ts,js,json,yml,yaml}",
|
||||
"format": "prettier --write .",
|
||||
"docs": "typedoc --json docs/typedoc-out.json src/index.ts && node scripts/docs.mjs",
|
||||
"prepublishOnly": "yarn build && yarn lint && yarn test",
|
||||
"changelog": "git cliff --prepend ./CHANGELOG.md -l -c ../../cliff.toml -r ../../ --include-path './*'"
|
||||
|
||||
Reference in New Issue
Block a user