Configure eslint.

This commit is contained in:
Vishnu KS
2020-08-23 00:58:19 +05:30
parent f985c157d9
commit 4d81bf3fe1
3 changed files with 431 additions and 316 deletions

22
app/.eslintrc.js Normal file
View File

@@ -0,0 +1,22 @@
module.exports = {
env: {
browser: true,
es2020: true,
},
extends: [
'plugin:react/recommended',
'airbnb',
],
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 11,
sourceType: 'module',
},
plugins: [
'react',
],
rules: {
},
};