complete-lint 1.3.0 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +1 -1
- package/README.md +2 -0
- package/package.json +4 -3
package/LICENSE
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
The MIT License (MIT)
|
|
2
2
|
|
|
3
|
-
Copyright The Complete Contributors
|
|
3
|
+
Copyright (c) 2024 The Complete Contributors
|
|
4
4
|
|
|
5
5
|
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
|
|
6
6
|
|
package/README.md
CHANGED
|
@@ -156,6 +156,7 @@ await lintScript(async () => {
|
|
|
156
156
|
const promises = [
|
|
157
157
|
// Use TypeScript to type-check the code.
|
|
158
158
|
$`tsc --noEmit`,
|
|
159
|
+
$`tsc --noEmit --project ./scripts/tsconfig.json`,
|
|
159
160
|
|
|
160
161
|
// Use ESLint to lint the TypeScript code.
|
|
161
162
|
// - "--max-warnings 0" makes warnings fail, since we set all ESLint errors to warnings.
|
|
@@ -232,6 +233,7 @@ jobs:
|
|
|
232
233
|
These are the specific packages that `complete-lint` provides:
|
|
233
234
|
|
|
234
235
|
- [`@prettier/plugin-xml`](https://github.com/prettier/plugin-xml) - Allows Prettier to format XML files, which are common in some kinds of projects.
|
|
236
|
+
- [`@types/node`](https://www.npmjs.com/package/@types/node) - The types for the Node.js runtime. This is included since it is expected that you will be linting your project with a TypeScript script.
|
|
235
237
|
- [`complete-node`](/complete-node) - A library that allows you to easily create a linting script to run several tools at once.
|
|
236
238
|
- [`complete-tsconfig`](/complete-tsconfig) - A collection of TypeScript configuration files that allow for maximum safety.
|
|
237
239
|
- [`cspell`](https://github.com/streetsidesoftware/cspell) - A spell checker for code that is intended to be paired with the [Code Spell Checker VSCode extension](https://marketplace.visualstudio.com/items?itemName=streetsidesoftware.code-spell-checker). Even though this does not have to do with ESLint or Prettier, this is included in the meta-package because most projects should be linting for misspelled words.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "complete-lint",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "A linting dependency meta-package for TypeScript projects.",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"lint",
|
|
@@ -26,10 +26,11 @@
|
|
|
26
26
|
],
|
|
27
27
|
"dependencies": {
|
|
28
28
|
"@prettier/plugin-xml": "^3.4.1",
|
|
29
|
-
"
|
|
29
|
+
"@types/node": "^22.5.4",
|
|
30
|
+
"complete-node": "^1.2.0",
|
|
30
31
|
"complete-tsconfig": "^1.0.0",
|
|
31
32
|
"cspell": "^8.14.2",
|
|
32
|
-
"cspell-check-unused-words": "^1.3.
|
|
33
|
+
"cspell-check-unused-words": "^1.3.2",
|
|
33
34
|
"eslint": "^9.10.0",
|
|
34
35
|
"eslint-config-complete": "^1.2.0",
|
|
35
36
|
"eslint-import-resolver-typescript": "^3.6.3",
|