This repository has been archived on 2025-03-02. You can view files and clone it, but cannot push or open issues or pull requests.
rpgedit/.eslintrc.js

31 lines
561 B
JavaScript
Raw Normal View History

2019-12-24 20:02:24 +01:00
module.exports = {
parser: '@typescript-eslint/parser',
plugins: [
'react-hooks',
],
2019-12-24 20:02:24 +01:00
extends: [
'plugin:react/recommended',
2019-12-24 20:02:24 +01:00
'plugin:@typescript-eslint/recommended',
'prettier/@typescript-eslint',
'plugin:prettier/recommended',
],
parserOptions: {
ecmaVersion: 2018,
sourceType: 'module',
ecmaFeatures: {
jsx: true,
},
2019-12-24 20:02:24 +01:00
},
rules: {
'react/prop-types': [0],
'react-hooks/rules-of-hooks': 'error',
'react-hooks/exhaustive-deps': 'warn',
2019-12-24 20:02:24 +01:00
'prettier/prettier': 'warn',
},
settings: {
react: {
version: 'detect',
},
},
2019-12-24 20:02:24 +01:00
};