SponsorBlock/.eslintrc.js

28 lines
567 B
JavaScript
Raw Normal View History

2020-12-12 22:56:31 +01:00
module.exports = {
env: {
browser: true,
es2021: true,
node: true,
},
extends: [
"eslint:recommended",
"plugin:react/recommended",
"plugin:@typescript-eslint/recommended",
],
parser: "@typescript-eslint/parser",
parserOptions: {
ecmaFeatures: {
jsx: true,
},
ecmaVersion: 12,
sourceType: "module",
},
plugins: ["react", "@typescript-eslint"],
rules: {},
settings: {
react: {
version: "detect",
},
},
};