eslint-define-config
Advanced tools
Comparing version 1.0.8 to 1.0.9
# Next | ||
[diff](https://github.com/Shinigami92/eslint-define-config/compare/1.0.8...main) | ||
[diff](https://github.com/Shinigami92/eslint-define-config/compare/1.0.9...main) | ||
# 1.0.9 | ||
[diff](https://github.com/Shinigami92/eslint-define-config/compare/1.0.8...1.0.9) | ||
- Add `processor` ([#35]) | ||
[#35]: https://github.com/Shinigami92/eslint-define-config/pull/35 | ||
# 1.0.8 | ||
@@ -6,0 +14,0 @@ |
{ | ||
"name": "eslint-define-config", | ||
"version": "1.0.8", | ||
"version": "1.0.9", | ||
"description": "Provide a defineConfig function for .eslintrc.js files", | ||
@@ -41,17 +41,17 @@ "main": "src/index.js", | ||
"devDependencies": { | ||
"@types/node": "~14.14.41", | ||
"@typescript-eslint/eslint-plugin": "~4.22.0", | ||
"@typescript-eslint/parser": "~4.22.0", | ||
"eslint": "~7.24.0", | ||
"eslint-config-prettier": "~8.2.0", | ||
"eslint-define-config": "~1.0.7", | ||
"@types/node": "~16.0.0", | ||
"@typescript-eslint/eslint-plugin": "~4.28.1", | ||
"@typescript-eslint/parser": "~4.28.1", | ||
"eslint": "~7.30.0", | ||
"eslint-config-prettier": "~8.3.0", | ||
"eslint-define-config": "~1.0.8", | ||
"eslint-plugin-inclusive-language": "~2.1.1", | ||
"eslint-plugin-jsdoc": "~32.3.1", | ||
"eslint-plugin-jsdoc": "~35.4.1", | ||
"eslint-plugin-prettier": "~3.4.0", | ||
"eslint-plugin-spellcheck": "~0.0.17", | ||
"np": "~7.4.0", | ||
"prettier": "2.2.1", | ||
"prettier-plugin-organize-imports": "~1.1.1", | ||
"typescript": "~4.2.4" | ||
"eslint-plugin-spellcheck": "~0.0.19", | ||
"np": "~7.5.0", | ||
"prettier": "2.3.2", | ||
"prettier-plugin-organize-imports": "~2.2.0", | ||
"typescript": "~4.3.5" | ||
} | ||
} |
@@ -64,2 +64,8 @@ import type { Environments } from './env'; | ||
/** | ||
* Specifying Processor. | ||
* | ||
* @see [processor](https://eslint.org/docs/user-guide/configuring/plugins#specifying-processor) | ||
*/ | ||
processor?: string; | ||
/** | ||
* Rules. | ||
@@ -66,0 +72,0 @@ * |
@@ -23,2 +23,8 @@ import type { Environments } from './env'; | ||
/** | ||
* Specifying Processor. | ||
* | ||
* @see [processor](https://eslint.org/docs/user-guide/configuring/plugins#specifying-processor) | ||
*/ | ||
processor?: string; | ||
/** | ||
* Rules. | ||
@@ -25,0 +31,0 @@ * |
@@ -6,2 +6,3 @@ import type { MatchDescriptionRule } from './match-description'; | ||
import type { RequireReturnsTypeRule } from './require-returns-type'; | ||
import type { TagLinesRule } from './tag-lines'; | ||
@@ -15,2 +16,3 @@ /** | ||
RequireParamTypeRule & | ||
RequireReturnsTypeRule; | ||
RequireReturnsTypeRule & | ||
TagLinesRule; |
@@ -30,7 +30,14 @@ import { LiteralUnion } from '../../utility-types'; | ||
skipWords?: string[]; | ||
/** Array of Regular Expressions the plugin will try to match the js node element value (identifier, comment, string, string template, etc) and will not check the entire node content if matched, be careful in comments because if a part of the comment is matched the entire comment will not be checked, same for strings. | ||
i.e: `"^[-\\w]+\/[-\\w\\.]+$"` will ignore MIME types. */ | ||
/** | ||
* Array of Regular Expressions the plugin will try to match the js node element value (identifier, comment, string, string template, etc) and will not check the entire node content if matched, | ||
* be careful in comments because if a part of the comment is matched the entire comment will not be checked, same for strings. | ||
* | ||
* i.e: `"^[-\\w]+\/[-\\w\\.]+$"` will ignore MIME types. | ||
*/ | ||
skipIfMatch?: string[]; | ||
/** Array of Regular Expressions the plugin will try to match every single word that is found in the nodes (identifier, comment, string, string template, etc) and will not check the single word if matched. | ||
i.e: `"^[-\\w]+\/[-\\w\\.]+$"` will ignore MIME types. */ | ||
/** | ||
* Array of Regular Expressions the plugin will try to match every single word that is found in the nodes (identifier, comment, string, string template, etc) and will not check the single word if matched. | ||
* | ||
* i.e: `"^[-\\w]+\/[-\\w\\.]+$"` will ignore MIME types. | ||
*/ | ||
skipWordIfMatch?: string[]; | ||
@@ -37,0 +44,0 @@ /** Words with a character-amount of less than the minLength will not be spell-checked. */ |
@@ -5,3 +5,3 @@ /** | ||
* @see [copied from issue](https://github.com/microsoft/TypeScript/issues/29729#issuecomment-471566609) | ||
* */ | ||
*/ | ||
export type LiteralUnion<T extends U, U = string> = T | (U & { zz_IGNORE_ME?: never }); |
@@ -5,2 +5,3 @@ { | ||
"strict": true, | ||
"noImplicitOverride": true, | ||
"noUncheckedIndexedAccess": true, | ||
@@ -7,0 +8,0 @@ "allowJs": true, |
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
159396
104
4277