Skip to content

Commit

Permalink
1.2.0-beta. Extend @typescript-eslint/naming-convention rule
Browse files Browse the repository at this point in the history
  • Loading branch information
WezomDev committed Sep 17, 2020
1 parent 63dea19 commit a61dc50
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
6 changes: 5 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -93,7 +93,11 @@ module.exports = {
},
{
selector: 'enum',
format: ['PascalCase']
format: ['PascalCase'],
custom: {
regex: '[a-z]List$',
match: true
}
}
],
'@typescript-eslint/no-empty-interface': 0,
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.

5 changes: 3 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,13 +1,14 @@
{
"name": "eslint-config-wezom-relax-ts",
"version": "1.1.0-beta",
"version": "1.2.0-beta",
"description": "An ESLint shareable config for Typescript",
"main": ".eslintrc.js",
"files": [
".eslintrc.js"
],
"scripts": {
"test": "echo \"Error: no test specified\" && exit 1"
"test": "echo \"Error: no test specified\" && exit 1",
"prettier": ".eslintrc.js --check --write"
},
"repository": {
"type": "git",
Expand Down

0 comments on commit a61dc50

Please sign in to comment.