Skip to content
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

feat(lint): add stylelint-config-standard and separate lint scripts #493

Merged
merged 6 commits into from
Apr 27, 2020
Merged
Show file tree
Hide file tree
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
update test
  • Loading branch information
clarkdo committed Apr 21, 2020
commit 483a978722b8c7d52458ca86630ffbaec2c3f655
6 changes: 5 additions & 1 deletion packages/create-nuxt-app/test/snapshots/index.test.js.md
Original file line number Diff line number Diff line change
Expand Up @@ -837,7 +837,8 @@ Generated by [AVA](https://avajs.dev).
build: 'nuxt build',
dev: 'nuxt',
generate: 'nuxt generate',
lint: 'eslint --ext .js,.vue --ignore-path .gitignore .',
lint: 'yarn lint:js',
'lint:js': 'eslint --ext .js,.vue --ignore-path .gitignore .',
start: 'nuxt start',
},
}
Expand Down Expand Up @@ -1131,12 +1132,15 @@ Generated by [AVA](https://avajs.dev).
devDependencies: {
'@nuxtjs/stylelint-module': '^3.2.2',
stylelint: '^13.3.3',
'stylelint-config-standard': '^20.0.0',
},
private: true,
scripts: {
build: 'nuxt build',
dev: 'nuxt',
generate: 'nuxt generate',
lint: 'yarn lint:style',
'lint:style': 'stylelint **/*.{vue,css} --ignore-path .gitignore',
start: 'nuxt start',
},
}
Expand Down
Binary file modified packages/create-nuxt-app/test/snapshots/index.test.js.snap
Binary file not shown.