ds4/.eslintrc.js

30 lines
593 B
JavaScript
Raw Permalink Normal View History

2020-12-23 17:26:53 +01:00
module.exports = {
2021-03-03 04:27:14 +01:00
parser: "@typescript-eslint/parser",
2020-12-23 17:26:53 +01:00
parserOptions: {
2021-03-03 04:27:14 +01:00
ecmaVersion: 2020,
sourceType: "module",
2020-12-23 17:26:53 +01:00
},
2021-03-17 12:15:25 +01:00
env: {
browser: true,
},
extends: ["plugin:@typescript-eslint/recommended", "plugin:jest/recommended", "plugin:prettier/recommended"],
2020-12-23 17:26:53 +01:00
2021-03-17 12:15:25 +01:00
plugins: ["@typescript-eslint", "jest"],
rules: {
// Specify any specific ESLint rules.
},
2021-01-27 01:38:47 +01:00
2021-03-17 12:15:25 +01:00
overrides: [
{
files: ["./*.js"],
rules: {
"@typescript-eslint/no-var-requires": "off",
},
},
],
2020-12-23 17:26:53 +01:00
};