Skip to content

Commit

Permalink
build: ignore some folders to eslint
Browse files Browse the repository at this point in the history
  • Loading branch information
长风 committed Jan 8, 2022
1 parent 1243a10 commit 6393679
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,16 @@ module.exports = {
sourceType: "module"
},
plugins: ["@typescript-eslint"],
ignorePatterns: ["node_modules", "out", "_templates", "src/playground"],
rules: {
eqeqeq: [ERROR, "smart"],
radix: ERROR,

"@typescript-eslint/no-unused-vars": OFF,
"@typescript-eslint/no-explicit-any": OFF,
"@typescript-eslint/no-empty-function": OFF,
"@typescript-eslint/ban-ts-comment": OFF,
"@typescript-eslint/ban-types": OFF,
"@typescript-eslint/no-empty-function": OFF,
"@typescript-eslint/no-explicit-any": OFF,
"@typescript-eslint/no-unused-vars": OFF,

"block-scoped-var": ERROR,
"default-case-last": ERROR,
Expand Down

0 comments on commit 6393679

Please sign in to comment.