Skip to content

Commit

Permalink
Merge pull request #3 from dutchenkoOleg/master
Browse files Browse the repository at this point in the history
1.2.1-beta
  • Loading branch information
OlehDutchenko authored Sep 17, 2020
2 parents 63dea19 + c08cbcd commit 5d16e4e
Show file tree
Hide file tree
Showing 4 changed files with 14 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
5 changes: 5 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -24,3 +24,8 @@ npm i -D eslint-config-wezom-relax-ts
```bash
npm i -D @typescript-eslint/eslint-plugin @typescript-eslint/parser eslint-plugin-flowtype eslint-plugin-import
```

## Rules

ESLint configuration and list of rules can be viewed in the source file [.eslintrc.js file](https://github.com/WezomAgency/eslint-config-wezom-relax-ts/blob/master/.eslintrc.js).
Detailed description each of rule see on [`@typescript-eslint/typescript-eslint` docs](https://github.com/typescript-eslint/typescript-eslint/tree/master/packages/eslint-plugin/docs).
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.1-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 5d16e4e

Please sign in to comment.