Skip to content
This repository has been archived by the owner on Jan 19, 2024. It is now read-only.

Commit

Permalink
0.9.2 (#90)
Browse files Browse the repository at this point in the history
- Allow `was` as a prefix for boolean variables
  • Loading branch information
0xCLARITY authored Jul 9, 2020
1 parent b0e1c9e commit ecc708b
Show file tree
Hide file tree
Showing 4 changed files with 7 additions and 3 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,10 @@ See [Conventional Commits](https://conventionalcommits.org) for commit guideline

## [Unreleased]

## 0.9.2 - July 9, 2020

- Allow `was` as a prefix for boolean variables

## 0.9.1 - July 8, 2020

- Update `typescript-eslint` and `eslint-plugin-jsdoc`.
Expand Down
2 changes: 1 addition & 1 deletion package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@xpring-eng/eslint-config-base",
"version": "0.9.1",
"version": "0.9.2",
"description": "Xpring's base TS ESLint config, following our styleguide",
"keywords": [
"eslint",
Expand Down
2 changes: 1 addition & 1 deletion rules/@typescript-eslint.js
Original file line number Diff line number Diff line change
Expand Up @@ -811,7 +811,7 @@ module.exports = {
// So something like "isValidPayID" would get the prefix stripped
// and "ValidPayID" is in PascalCase.
format: ['PascalCase'],
prefix: ['is', 'should', 'has', 'can', 'did', 'does', 'will'],
prefix: ['is', 'was', 'should', 'has', 'can', 'did', 'does', 'will'],
},
// Enforce that type parameters (generics) are prefixed with T
{
Expand Down

0 comments on commit ecc708b

Please sign in to comment.