Skip to content

Commit

Permalink
freshen up the eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ballPointPenguin committed Feb 26, 2023
1 parent 3ff542b commit 66ee109
Show file tree
Hide file tree
Showing 3 changed files with 34 additions and 17 deletions.
3 changes: 0 additions & 3 deletions client-report/.eslintignore

This file was deleted.

14 changes: 0 additions & 14 deletions client-report/.eslintrc

This file was deleted.

34 changes: 34 additions & 0 deletions client-report/.eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,34 @@
env:
browser: true
es2021: true
jquery: true
extends:
- eslint:recommended
- plugin:react/recommended
globals:
_: readonly
d3: readonly
process: readonly
ignorePatterns:
- devel
- dist
overrides:
- files:
- dev-server.js
- gulpfile.js
- webpack.config.js
- webpack.config.dev.js
env:
browser: false
node: true
parser: "@babel/eslint-parser"
parserOptions:
ecmaVersion: latest
sourceType: module
plugins:
- react
rules:
react/prop-types: warn
settings:
react:
version: 'detect'

0 comments on commit 66ee109

Please sign in to comment.