Skip to content

Commit

Permalink
0.3.1-beta
Browse files Browse the repository at this point in the history
  • Loading branch information
OlehDutchenko committed May 1, 2020
1 parent 36bf18f commit a20de86
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 36 deletions.
35 changes: 3 additions & 32 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -10,45 +10,16 @@ module.exports = {
extends: [
'react-app',
'plugin:react/recommended',
'plugin:@typescript-eslint/recommended'
'plugin:@typescript-eslint/recommended',
'wezom-relax-react-ts'
],
settings: {
react: {
version: 'detect'
}
},
rules: {
'@typescript-eslint/camelcase': 0,
'@typescript-eslint/explicit-function-return-type': 0,
'@typescript-eslint/interface-name-prefix': [ 2, 'always' ],
'@typescript-eslint/generic-type-naming': [ 2, '^G([A-Z][a-zA-Z]*)?$' ],
'@typescript-eslint/no-empty-interface': 0,
'@typescript-eslint/no-explicit-any': 0,
'@typescript-eslint/no-var-requires': 0,
'@typescript-eslint/no-unused-vars': [
2,
{
'vars': 'all',
'args': 'none',
'caughtErrors': 'all'
}
],
'indent': [
'error',
'tab',
{
'SwitchCase': 1
}
],
'jsx-a11y/anchor-is-valid': 0,
'no-extra-boolean-cast': 0,
'no-sequences': 2,
'no-tabs': 0,
'no-unused-vars': 0,
'react/prop-types': 0,
'semi': [
'error',
'always'
]
'react/prop-types': 0
}
};
7 changes: 6 additions & 1 deletion package-lock.json

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

7 changes: 4 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "eslint-config-wezom-relax-react-ts",
"version": "0.2.2-alpha",
"description": "[![license](https://img.shields.io/badge/License-MIT-blue.svg)](https://github.com/WezomAgency/eslint-config-wezom-relax/blob/master/LICENSE)\r [![npm](https://img.shields.io/badge/npm-install-orange.svg)](https://www.npmjs.com/package/eslint-config-wezom-relax)\r [![WezomAgency](https://img.shields.io/badge/wezom-agency-red.svg)](https://github.com/WezomAgency)",
"version": "0.3.1-beta",
"description": "An ESLint shareable config for React + Typescript",
"main": ".eslintrc.js",
"files": [
".eslintrc.js"
Expand All @@ -21,7 +21,8 @@
},
"homepage": "https://github.com/WezomAgency/eslint-config-wezom-relax-react-ts#readme",
"dependencies": {
"eslint-config-react-app": "^5.2.1"
"eslint-config-react-app": "^5.2.1",
"eslint-config-wezom-relax-ts": "^0.3.1-beta"
},
"peerDependencies": {
"@typescript-eslint/eslint-plugin": "^2.25.0",
Expand Down

0 comments on commit a20de86

Please sign in to comment.