Skip to content

Commit

Permalink
fix: bump es version
Browse files Browse the repository at this point in the history
Signed-off-by: Vinayak Kulkarni <19776877+vinayakkulkarni@users.noreply.github.com>
  • Loading branch information
vinayakkulkarni committed Jan 28, 2023
1 parent 8a0792e commit 7cdb8a3
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions .eslintrc.cjs
Expand Up @@ -3,13 +3,13 @@ module.exports = {
env: {
browser: true,
node: true,
es2021: true,
es2022: true,
},
parserOptions: {
parser: '@typescript-eslint/parser',
ecmaVersion: 2021,
ecmaVersion: 2022,
sourceType: 'module',
lib: ['es2021'],
lib: ['es2022'],
ecmaFeatures: {
jsx: true,
tsx: true,
Expand All @@ -25,6 +25,7 @@ module.exports = {
'plugin:prettier/recommended',
'prettier',
],
// add your custom rules here
rules: {
'no-console': process.env.NODE_ENV === 'production' ? 'error' : 'off',
'no-debugger': process.env.NODE_ENV === 'production' ? 'error' : 'off',
Expand Down

0 comments on commit 7cdb8a3

Please sign in to comment.