2021-09-12 00:55:17 -07:00
|
|
|
module.exports = {
|
2022-05-01 16:13:18 -07:00
|
|
|
env: {
|
|
|
|
browser: true,
|
|
|
|
es2021: true,
|
|
|
|
},
|
|
|
|
extends: [
|
|
|
|
"plugin:react/recommended",
|
|
|
|
"xo",
|
|
|
|
],
|
2021-09-12 01:50:27 -07:00
|
|
|
parser: "@typescript-eslint/parser",
|
2022-05-01 16:13:18 -07:00
|
|
|
parserOptions: {
|
|
|
|
ecmaFeatures: {
|
|
|
|
jsx: true,
|
|
|
|
},
|
|
|
|
ecmaVersion: 12,
|
|
|
|
sourceType: "module",
|
|
|
|
},
|
|
|
|
plugins: [
|
|
|
|
"react",
|
|
|
|
"@typescript-eslint",
|
|
|
|
],
|
2022-05-28 00:03:46 -07:00
|
|
|
ignorePatterns: ["dist"],
|
2022-05-01 16:13:18 -07:00
|
|
|
rules: {
|
|
|
|
"arrow-parens": ["error", "always"],
|
|
|
|
indent: ["error", 4],
|
|
|
|
"unused-vars": "off",
|
|
|
|
"@typescript-eslint/no-unused-vars": ["error", {argsIgnorePattern: "^_"}],
|
|
|
|
"no-redeclare": "off",
|
|
|
|
"@typescript-eslint/no-redeclare": ["error"],
|
|
|
|
quotes: ["error", "double"],
|
|
|
|
"no-warning-comments": "off",
|
|
|
|
},
|
2021-09-12 00:55:17 -07:00
|
|
|
};
|