Skip to content

Commit

Permalink
Forget prettier overrides - they don't work without pretterrc. Ignore…
Browse files Browse the repository at this point in the history
… commonly ignored directories.
  • Loading branch information
noticeeverything committed May 17, 2021
1 parent 9897229 commit 38d5582
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 16 deletions.
17 changes: 2 additions & 15 deletions index.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,7 @@ module.exports = {
parserOptions: {
sourceType: 'module',
},
ignorePatterns: ['dist/', 'tmp/', 'coverage/', 'assets/', '.github/'],
plugins: ['@typescript-eslint/eslint-plugin', 'unused-imports', 'prettier'],
extends: ['prettier'],
root: true,
Expand All @@ -25,21 +26,7 @@ module.exports = {
trailingComma: 'all',
semi: false,
printWidth: 100,
tabWidth: 4,
overrides: [
{
files: [
'**/*.json',
'**/*.yml',
'*rc',
'*ignore',
'*config'
],
options: {
tabWidth: 2
}
}
]
tabWidth: 4
}
]
},
Expand Down
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@pliancy/eslint-config-ts",
"version": "0.0.3",
"version": "0.0.4",
"description": "Base eslint config for all TypeScript projects",
"main": "index.js",
"private": false,
Expand Down

0 comments on commit 38d5582

Please # to comment.