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
This repository was archived by the owner on Sep 2, 2023. It is now read-only.

Commit76e7d12

Browse files
committed
Merge pull request#11 from clark800/new_rules
Add new rules
2 parents41de2bb +f3506b1 commit76e7d12

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

‎eslintrc‎

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,8 @@ rules:
2020
no-delete-var: 2
2121
no-div-regex: 0
2222
no-dupe-keys: 2
23+
no-dupe-args: 2
24+
no-duplicate-case: 2
2325
no-else-return: 2
2426
no-empty: 2
2527
no-empty-class: 2
@@ -114,6 +116,7 @@ rules:
114116
generator-star: 0
115117
guard-for-in: 0
116118
handle-callback-err: 2
119+
indent: [2, 2]
117120
key-spacing: [2, {beforeColon: false, afterColon: true}]
118121
max-depth: [1, 4]
119122
max-len: [2, 80]
@@ -133,6 +136,7 @@ rules:
133136
space-after-function-name: [0, 'never']
134137
space-after-keywords: 2
135138
space-before-blocks: 2
139+
space-before-function-parentheses: [2, 'never']
136140
space-in-brackets: 2
137141
space-in-parens: 2
138142
space-infix-ops: 2

0 commit comments

Comments
 (0)

[8]ページ先頭

©2009-2025 Movatter.jp