-
Notifications
You must be signed in to change notification settings - Fork 4.3k
Added stylelint configuration. #842
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Open
gucong3000
wants to merge
35
commits into
vuejs-templates:develop
Choose a base branch
from
gucong3000:feature/stylint
base: develop
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from 31 commits
Commits
Show all changes
35 commits
Select commit
Hold shift + click to select a range
926cb92
Added base stylelint configuration.
blake-newman 8aded35
rename meta.json
3bc1e6d
Merge branch 'master' into feature/stylint
e4ebec9
fix meta.js
292c84d
fix eslint
4bda3d6
fix stylelint cli usage
79bf95e
lint-on-save for stylelint
51081c7
fix stylelint errors
0a541d4
Merge branch 'master' into feature/stylint
148be44
install stylelint from stylelint
71ea681
an => a
c663db3
ESLint => stylelint
347a1a4
Update package.json
gucong3000 bfea365
artifacts for circleci
1983127
Merge remote-tracking branch 'origin/master' into feature/stylint
8f44031
use bash script to do artifacts job
47c9129
test stylelint HEAD
1611f2a
fix package.json
fbbadf0
Merge remote-tracking branch 'vuejs-templates/master' into feature/st…
b414930
Add more stylelint preset
3b1064e
typo in URL.
d5fd8f3
Merge remote-tracking branch 'vuejs-templates/master' into feature/st…
7de3a4e
fix lint errors
5b138f3
Simplify elementCount custom assertions (#898)
robwierzbowski 3c15450
Merge branch 'develop'
LinusBorg 3cbf82a
Merge remote-tracking branch 'vuejs-templates/master' into feature/st…
gucong3000 5424ed8
Update `stylelint`
gucong3000 43de546
Merge branch 'develop' into feature/stylint
gucong3000 47bab50
Merge branch 'develop' into feature/stylint
gucong3000 d10dfec
update dependencies
gucong3000 8593d5b
Merge branch 'develop' into feature/stylint
gucong3000 a3df122
Merge branch 'develop' into feature/stylint
gucong3000 476a8e2
Fix `runLintFix`
gucong3000 e5d2c78
fix config of StyleLintPlugin
gucong3000 4532c2b
Merge branch 'develop' into feature/stylint
gucong3000 File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,7 @@ | ||
| /build/ | ||
| /config/ | ||
| /dist/ | ||
| /node_modules/ | ||
| {{#unit}} | ||
| /test/unit/coverage/ | ||
| {{/unit}} |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| @@ -0,0 +1,14 @@ | ||
| module.exports = { | ||
| {{#if_eq eslintConfig "standard"}} | ||
| extends: 'stylelint-config-standard', | ||
| {{/if_eq}} | ||
| {{#if_eq eslintConfig "recommended"}} | ||
| extends: 'stylelint-config-recommended', | ||
| {{/if_eq}} | ||
| {{#if_eq eslintConfig "wikimedia"}} | ||
| extends: 'stylelint-config-wikimedia', | ||
| {{/if_eq}} | ||
| // add your custom rules here | ||
| rules: { | ||
| } | ||
| }; |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Hey @gucong3000 Can you explain to me what this post hook does? I'm horrbile with bash.
Uh oh!
There was an error while loading. Please reload this page.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Move files from ./test/**/* to here:

Then we can download them.