Skip to content

Commit

Permalink
Feature/alow-camel-case-with-dots-for-properties (#16)
Browse files Browse the repository at this point in the history
* feat: add new rule

* chore: set version to 1.6.0

* chore: update dependencies

* fix: imrove regex
  • Loading branch information
tnotheis committed Jul 18, 2022
1 parent 54758cd commit 422548b
Show file tree
Hide file tree
Showing 3 changed files with 161 additions and 165 deletions.
6 changes: 1 addition & 5 deletions index.js
Expand Up @@ -98,12 +98,8 @@ module.exports = {
{
selector: "property",
format: null,
filter: {
regex: "^@.+$",
match: true
},
custom: {
regex: "^@(type|context|version)$",
regex: "^(@type|@version|@context|(\\$?[a-z0-9]+)([A-Z][a-z0-9]*)*)(\\.(@type|@version|@context|[a-z0-9]+([A-Z][a-z0-9]*)*))*$",
match: true
}
}
Expand Down

0 comments on commit 422548b

Please sign in to comment.