Movatterモバイル変換


[0]ホーム

URL:


Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Sign up
Appearance settings

Commit24445c0

Browse files
committed
Use specialRule constant
1 parent7827196 commit24445c0

File tree

1 file changed

+16
-14
lines changed

1 file changed

+16
-14
lines changed

‎index.js‎

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -2,25 +2,27 @@
22

33
constincludeDeprecated=!process.env.ESLINT_CONFIG_PRETTIER_NO_DEPRECATED;
44

5+
constspecialRule=0;
6+
57
module.exports={
68
rules:{
79
// The following rules can be used in some cases. See the README for more
810
// information. (These are marked with `0` instead of `"off"` so that a
911
// script can distinguish them.)
10-
"curly":0,
11-
"lines-around-comment":0,
12-
"max-len":0,
13-
"no-confusing-arrow":0,
14-
"no-mixed-operators":0,
15-
"no-tabs":0,
16-
"no-unexpected-multiline":0,
17-
"quotes":0,
18-
"@typescript-eslint/lines-around-comment":0,
19-
"@typescript-eslint/quotes":0,
20-
"babel/quotes":0,
21-
"unicorn/template-indent":0,
22-
"vue/html-self-closing":0,
23-
"vue/max-len":0,
12+
"curly":specialRule,
13+
"lines-around-comment":specialRule,
14+
"max-len":specialRule,
15+
"no-confusing-arrow":specialRule,
16+
"no-mixed-operators":specialRule,
17+
"no-tabs":specialRule,
18+
"no-unexpected-multiline":specialRule,
19+
"quotes":specialRule,
20+
"@typescript-eslint/lines-around-comment":specialRule,
21+
"@typescript-eslint/quotes":specialRule,
22+
"babel/quotes":specialRule,
23+
"unicorn/template-indent":specialRule,
24+
"vue/html-self-closing":specialRule,
25+
"vue/max-len":specialRule,
2426

2527
// The rest are rules that you never need to enable when using Prettier.
2628
"array-bracket-newline":"off",

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp