23 lines
684 B
JavaScript
23 lines
684 B
JavaScript
module.exports = {
|
|
env: {
|
|
node: true,
|
|
browser: true,
|
|
es6: true,
|
|
},
|
|
extends: ["eslint:recommended", "plugin:@typescript-eslint/recommended"],
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaVersion: "latest",
|
|
sourceType: "module",
|
|
},
|
|
ignorePatterns: ["dist/", "node_modules/", "*.gen.ts"],
|
|
plugins: ["@typescript-eslint", "unused-imports"],
|
|
rules: {
|
|
"@typescript-eslint/member-ordering": "error",
|
|
"@typescript-eslint/ban-ts-comment": "off", // "move fast" mode
|
|
"@typescript-eslint/no-explicit-any": "off", // "move fast" mode
|
|
"linebreak-style": ["error", "unix"],
|
|
"unused-imports/no-unused-imports": "error",
|
|
},
|
|
};
|