Skip to content

Commit

Permalink
chore: exclude .github dir from eslint and prettier
Browse files Browse the repository at this point in the history
  • Loading branch information
metacurb committed Mar 30, 2024
1 parent e0ed767 commit caa4db7
Show file tree
Hide file tree
Showing 3 changed files with 22 additions and 13 deletions.
24 changes: 19 additions & 5 deletions .eslintrc.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,14 +5,23 @@
"ecmaVersion": 6,
"sourceType": "module"
},
"extends": ["prettier"],
"plugins": ["@typescript-eslint", "simple-import-sort", "unused-imports"],
"extends": [
"prettier"
],
"plugins": [
"@typescript-eslint",
"simple-import-sort",
"unused-imports"
],
"rules": {
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "import",
"format": ["camelCase", "PascalCase"]
"format": [
"camelCase",
"PascalCase"
]
}
],
"@typescript-eslint/semi": "warn",
Expand All @@ -25,5 +34,10 @@
"unused-imports/no-unused-imports": "error",
"no-console": "error"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}
"ignorePatterns": [
"out",
"dist",
"**/*.d.ts",
".github"
]
}
6 changes: 0 additions & 6 deletions .github/workflows/lint.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,9 +38,3 @@ jobs:
prettier: true
prettier_auto_fix: true
tsc: true,

# - name: Run ESLint
# run: npm run eslint:fix

# - name: Run Prettier
# run: npm run prettier
5 changes: 3 additions & 2 deletions .prettierignore
Original file line number Diff line number Diff line change
@@ -1,6 +1,7 @@
# Ignore artifacts:
.github
build
coverage
dist
out
img
img
out

0 comments on commit caa4db7

Please sign in to comment.