Skip to content

Commit

Permalink
More linting
Browse files Browse the repository at this point in the history
  • Loading branch information
dedoussis committed Apr 5, 2020
1 parent 87f4046 commit baf2c2c
Show file tree
Hide file tree
Showing 2 changed files with 17 additions and 13 deletions.
28 changes: 16 additions & 12 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,26 +1,30 @@
{
"parser": "@typescript-eslint/parser",
"parser": "@typescript-eslint/parser",
"extends": [
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
"plugin:@typescript-eslint/recommended",
"prettier/@typescript-eslint",
"plugin:prettier/recommended"
],
"parserOptions": {
"ecmaVersion": 2018,
"sourceType": "module"
"ecmaVersion": 2018,
"sourceType": "module"
},
"overrides": [
{
"files": ["src/Visitor.ts"],
"files": [
"src/Visitor.ts"
],
"rules": {
"@typescript-eslint/ban-types": "off"
}
},
{
"files": ["src/Node.ts"],
"rules": {
"@typescript-eslint/no-use-before-define": "warn"
}
"files": [
"src/Node.ts"
],
"rules": {
"@typescript-eslint/no-use-before-define": "warn"
}
}
]
}
}
2 changes: 1 addition & 1 deletion .prettierrc
Original file line number Diff line number Diff line change
Expand Up @@ -4,4 +4,4 @@
"semi": true,
"singleQuote": true,
"endOfLine": "lf"
}
}

0 comments on commit baf2c2c

Please sign in to comment.