Skip to content
Permalink
Browse files

configure eslint

./node_modules/.bin/eslint --print-config .eslintrc.js
  • Loading branch information
nicoqh committed Dec 14, 2019
1 parent c8ee6dd commit e0e38ddc17bccbec251aaf1215ae0b26f19079f3
Showing with 31 additions and 0 deletions.
  1. +26 −0 .eslintrc.js
  2. +5 −0 package.json
@@ -0,0 +1,26 @@
module.exports = {
env: {
browser: true,
es6: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
globals: {
Atomics: 'readonly',
SharedArrayBuffer: 'readonly',
},
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 2018,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
},
};
@@ -12,6 +12,11 @@
"babel-loader": "^8.0.6",
"clean-webpack-plugin": "^3.0.0",
"eslint": "^6.7.2",
"eslint-config-airbnb": "^18.0.1",
"eslint-plugin-import": "^2.19.1",
"eslint-plugin-jsx-a11y": "^6.2.3",
"eslint-plugin-react": "^7.17.0",
"eslint-plugin-react-hooks": "^1.7.0",
"html-webpack-plugin": "^3.2.0",
"webpack": "^4.41.0",
"webpack-cli": "^3.3.9",

0 comments on commit e0e38dd

Please sign in to comment.
You can’t perform that action at this time.