recast/.eslintrc.js
Conrad Buck bb58688f40
Set up Prettier and eslint.
I (@benjamn) removed husky and made eslint run before tests, because I
don't want any pre-commit hooks in this repository. I tend to use Git in
ways that conflict with the assumptions these tools make.
2020-08-23 16:09:50 -04:00

16 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"],
};