mirror of
https://github.com/noahpaige/portfolio-website.git
synced 2026-06-08 16:18:01 -06:00
28 lines
470 B
JavaScript
28 lines
470 B
JavaScript
module.exports = {
|
|
env: {
|
|
browser: true,
|
|
es2021: true
|
|
},
|
|
extends: ['standard', 'plugin:react/recommended'],
|
|
overrides: [
|
|
{
|
|
env: {
|
|
node: true
|
|
},
|
|
files: ['.eslintrc.{js,cjs}'],
|
|
parserOptions: {
|
|
sourceType: 'script'
|
|
}
|
|
}
|
|
],
|
|
parserOptions: {
|
|
ecmaVersion: 'latest',
|
|
sourceType: 'module'
|
|
},
|
|
plugins: ['react'],
|
|
rules: {
|
|
'react/prop-types': 0,
|
|
'react/jsx-indent': ['warn', 2]
|
|
}
|
|
}
|