Skip to content

Commit

Permalink
fix: Add lint rule to enforce camelCase event name (#25)
Browse files Browse the repository at this point in the history
* fix: Add lint rule to enforce camelCase event name

* v0.1.0-beta.18
  • Loading branch information
ChaituVR authored Aug 1, 2024
1 parent 89bf7dc commit 1db3860
Show file tree
Hide file tree
Showing 7 changed files with 10 additions and 9 deletions.
2 changes: 1 addition & 1 deletion lerna.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
{
"$schema": "node_modules/lerna/schemas/lerna-schema.json",
"version": "0.1.0-beta.17"
"version": "0.1.0-beta.18"
}
2 changes: 1 addition & 1 deletion packages/eslint-config-base/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/eslint-config-base",
"version": "0.1.0-beta.17",
"version": "0.1.0-beta.18",
"publishConfig": {
"access": "public"
},
Expand Down
3 changes: 2 additions & 1 deletion packages/eslint-config-vue/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,8 @@ module.exports = {
rules: {
'vue/multi-word-component-names': 'off',
'vue/require-default-prop': 'off',
'vue/no-v-html': 'off'
'vue/no-v-html': 'off',
'vue/custom-event-name-casing': ['error', 'camelCase']
},
overrides: [
{
Expand Down
4 changes: 2 additions & 2 deletions packages/eslint-config-vue/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/eslint-config-vue",
"version": "0.1.0-beta.17",
"version": "0.1.0-beta.18",
"publishConfig": {
"access": "public"
},
Expand All @@ -10,7 +10,7 @@
"lint": "eslint ."
},
"dependencies": {
"@snapshot-labs/eslint-config-base": "^0.1.0-beta.17",
"@snapshot-labs/eslint-config-base": "^0.1.0-beta.18",
"eslint-plugin-vue": "^9.18.1"
}
}
4 changes: 2 additions & 2 deletions packages/eslint-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/eslint-config",
"version": "0.1.0-beta.17",
"version": "0.1.0-beta.18",
"publishConfig": {
"access": "public"
},
Expand All @@ -10,6 +10,6 @@
"lint": "eslint ."
},
"dependencies": {
"@snapshot-labs/eslint-config-base": "^0.1.0-beta.17"
"@snapshot-labs/eslint-config-base": "^0.1.0-beta.18"
}
}
2 changes: 1 addition & 1 deletion packages/eslint-nuxt/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/eslint-config-nuxt",
"version": "0.1.0-beta.17",
"version": "0.1.0-beta.18",
"publishConfig": {
"access": "public"
},
Expand Down
2 changes: 1 addition & 1 deletion packages/prettier-config/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@snapshot-labs/prettier-config",
"version": "0.1.0-beta.17",
"version": "0.1.0-beta.18",
"publishConfig": {
"access": "public"
},
Expand Down

0 comments on commit 1db3860

Please sign in to comment.