@stylistic/eslint-plugin-js
Advanced tools
Comparing version 2.0.0 to 2.1.0
@@ -25,2 +25,3 @@ 'use strict'; | ||
var keywordSpacing = require('./keyword-spacing.js'); | ||
var lineCommentPosition = require('./line-comment-position.js'); | ||
var linebreakStyle = require('./linebreak-style.js'); | ||
@@ -31,2 +32,3 @@ var linesAroundComment = require('./lines-around-comment.js'); | ||
var maxStatementsPerLine = require('./max-statements-per-line.js'); | ||
var multilineCommentStyle = require('./multiline-comment-style.js'); | ||
var multilineTernary = require('./multiline-ternary.js'); | ||
@@ -121,2 +123,3 @@ var newParens = require('./new-parens.js'); | ||
"keyword-spacing": keywordSpacing.keywordSpacing, | ||
"line-comment-position": lineCommentPosition.lineCommentPosition, | ||
"linebreak-style": linebreakStyle.linebreakStyle, | ||
@@ -127,2 +130,3 @@ "lines-around-comment": linesAroundComment.linesAroundComment, | ||
"max-statements-per-line": maxStatementsPerLine.maxStatementsPerLine, | ||
"multiline-comment-style": multilineCommentStyle.multilineCommentStyle, | ||
"multiline-ternary": multilineTernary.multilineTernary, | ||
@@ -198,2 +202,3 @@ "new-parens": newParens.newParens, | ||
"keyword-spacing": 0, | ||
"line-comment-position": 0, | ||
"linebreak-style": 0, | ||
@@ -204,2 +209,3 @@ "lines-around-comment": 0, | ||
"max-statements-per-line": 0, | ||
"multiline-comment-style": 0, | ||
"multiline-ternary": 0, | ||
@@ -206,0 +212,0 @@ "new-parens": 0, |
@@ -29,2 +29,3 @@ 'use strict'; | ||
require('./keyword-spacing.js'); | ||
require('./line-comment-position.js'); | ||
require('./linebreak-style.js'); | ||
@@ -35,2 +36,3 @@ require('./lines-around-comment.js'); | ||
require('./max-statements-per-line.js'); | ||
require('./multiline-comment-style.js'); | ||
require('./multiline-ternary.js'); | ||
@@ -37,0 +39,0 @@ require('./new-parens.js'); |
@@ -25,2 +25,3 @@ /* GENERATED, DO NOT EDIT DIRECTLY */ | ||
import type { RuleOptions as KeywordSpacingRuleOptions } from '../rules/keyword-spacing/types' | ||
import type { RuleOptions as LineCommentPositionRuleOptions } from '../rules/line-comment-position/types' | ||
import type { RuleOptions as LinebreakStyleRuleOptions } from '../rules/linebreak-style/types' | ||
@@ -31,2 +32,3 @@ import type { RuleOptions as LinesAroundCommentRuleOptions } from '../rules/lines-around-comment/types' | ||
import type { RuleOptions as MaxStatementsPerLineRuleOptions } from '../rules/max-statements-per-line/types' | ||
import type { RuleOptions as MultilineCommentStyleRuleOptions } from '../rules/multiline-comment-style/types' | ||
import type { RuleOptions as MultilineTernaryRuleOptions } from '../rules/multiline-ternary/types' | ||
@@ -190,2 +192,7 @@ import type { RuleOptions as NewParensRuleOptions } from '../rules/new-parens/types' | ||
/** | ||
* Enforce position of line comments | ||
* @see https://eslint.style/rules/js/line-comment-position | ||
*/ | ||
'@stylistic/js/line-comment-position': LineCommentPositionRuleOptions | ||
/** | ||
* Enforce consistent linebreak style | ||
@@ -216,2 +223,7 @@ * @see https://eslint.style/rules/js/linebreak-style | ||
/** | ||
* Enforce a particular style for multiline comments | ||
* @see https://eslint.style/rules/js/multiline-comment-style | ||
*/ | ||
'@stylistic/js/multiline-comment-style': MultilineCommentStyleRuleOptions | ||
/** | ||
* Enforce newlines between operands of ternary expressions | ||
@@ -535,2 +547,7 @@ * @see https://eslint.style/rules/js/multiline-ternary | ||
/** | ||
* Enforce position of line comments | ||
* @see https://eslint.style/rules/js/line-comment-position | ||
*/ | ||
'line-comment-position': LineCommentPositionRuleOptions | ||
/** | ||
* Enforce consistent linebreak style | ||
@@ -561,2 +578,7 @@ * @see https://eslint.style/rules/js/linebreak-style | ||
/** | ||
* Enforce a particular style for multiline comments | ||
* @see https://eslint.style/rules/js/multiline-comment-style | ||
*/ | ||
'multiline-comment-style': MultilineCommentStyleRuleOptions | ||
/** | ||
* Enforce newlines between operands of ternary expressions | ||
@@ -563,0 +585,0 @@ * @see https://eslint.style/rules/js/multiline-ternary |
{ | ||
"name": "@stylistic/eslint-plugin-js", | ||
"version": "2.0.0", | ||
"version": "2.1.0", | ||
"author": "Anthony Fu <anthonyfu117@hotmail.com>", | ||
@@ -50,2 +50,3 @@ "license": "MIT", | ||
"./rules/keyword-spacing": "./dist/keyword-spacing.js", | ||
"./rules/line-comment-position": "./dist/line-comment-position.js", | ||
"./rules/linebreak-style": "./dist/linebreak-style.js", | ||
@@ -56,2 +57,3 @@ "./rules/lines-around-comment": "./dist/lines-around-comment.js", | ||
"./rules/max-statements-per-line": "./dist/max-statements-per-line.js", | ||
"./rules/multiline-comment-style": "./dist/multiline-comment-style.js", | ||
"./rules/multiline-ternary": "./dist/multiline-ternary.js", | ||
@@ -58,0 +60,0 @@ "./rules/new-parens": "./dist/new-parens.js", |
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
524031
147
14275