19 lines
423 B
JavaScript
19 lines
423 B
JavaScript
module.exports = {
|
|
root: true,
|
|
parser: "@typescript-eslint/parser",
|
|
parserOptions: {
|
|
ecmaVersion: 6,
|
|
sourceType: "module",
|
|
},
|
|
plugins: ["@typescript-eslint"],
|
|
rules: {
|
|
"@typescript-eslint/naming-convention": "warn",
|
|
"@typescript-eslint/semi": "warn",
|
|
curly: "warn",
|
|
eqeqeq: "warn",
|
|
"no-throw-literal": "warn",
|
|
semi: "off",
|
|
},
|
|
ignorePatterns: ["out", "dist", "**/*.d.ts"],
|
|
};
|