Skip to content

Commit

Permalink
prevent-abbreviations: Add verversion replacement (#870)
Browse files Browse the repository at this point in the history
  • Loading branch information
futpib committed Oct 18, 2020
1 parent 190cbac commit e755cdd
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion rules/prevent-abbreviations.js
Expand Up @@ -213,6 +213,9 @@ const defaultReplacements = {
},
val: {
value: true
},
ver: {
version: true
}
};

Expand Down Expand Up @@ -544,7 +547,7 @@ const create = context => {
}

// Create a normal-looking variable (like a `var` or a `function`)
// For which a single `variable` holds all references, unline with `class`
// For which a single `variable` holds all references, unlike with a `class`
const combinedReferencesVariable = {
name: variable.name,
scope: variable.scope,
Expand Down

0 comments on commit e755cdd

Please sign in to comment.