Created
May 14, 2023 21:50
-
-
Save meeglos/e159e90abc4b78dfa61399989f489d9d to your computer and use it in GitHub Desktop.
eslint file config
This file contains hidden or 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
module.exports = { | |
env: { | |
browser: true, | |
es2021: true, | |
}, | |
extends: [ | |
'plugin:react/recommended', | |
'plugin:react/jsx-runtime', | |
'standard', | |
'eslint-config-prettier', | |
], | |
overrides: [], | |
parserOptions: { | |
ecmaVersion: 'latest', | |
sourceType: 'module', | |
}, | |
plugins: ['react'], | |
rules: { | |
'no-unused-vars': 'warn', | |
'react/prop-types': ['off'], | |
}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment