-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Updated eslint and prettier configs and formatted code (#91)
* updated linter and prettier * formatted files with prettier + lint fix * added google rules to eslint config * fixes for linter * fix * fixes in .eslintrc.yml * fixed code style
- Loading branch information
Showing
73 changed files
with
6,127 additions
and
10,963 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,15 +1,39 @@ | ||
env: | ||
browser: true | ||
es2021: true | ||
node: true | ||
settings: | ||
react: | ||
version: detect | ||
root: true | ||
extends: | ||
- react-app | ||
- eslint:recommended | ||
- prettier | ||
- plugin:react/recommended | ||
overrides: [] | ||
parserOptions: | ||
ecmaVersion: latest | ||
sourceType: module | ||
plugins: | ||
- react | ||
rules: {} | ||
rules: | ||
{ | ||
'max-len': [ | ||
'error', | ||
{ | ||
code: 120, | ||
ignoreComments: true, | ||
ignoreTemplateLiterals: true, | ||
ignoreUrls: true, | ||
}, | ||
], | ||
'no-process-env': 'off', | ||
'require-jsdoc': 'off', | ||
'no-unused-vars': [ | ||
'error', | ||
{ | ||
varsIgnorePattern: '^React$', | ||
}, | ||
], | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,5 @@ | ||
|
||
dist | ||
build | ||
coverage | ||
node_modules |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"singleQuote": true, | ||
"printWidth": 120 | ||
} |
Oops, something went wrong.