17 lines
315 B
JavaScript
17 lines
315 B
JavaScript
|
module.exports = {
|
||
|
parser: "@typescript-eslint/parser",
|
||
|
parserOptions: {
|
||
|
ecmaVersion: 6,
|
||
|
sourceType: "module",
|
||
|
ecmaFeatures: {
|
||
|
jsx: true,
|
||
|
},
|
||
|
},
|
||
|
rules: {
|
||
|
"no-var": "error",
|
||
|
"no-case-declarations": "error",
|
||
|
"no-fallthrough": "error",
|
||
|
},
|
||
|
ignorePatterns: ["test/data"],
|
||
|
};
|