Skip to content

Commit

Permalink
fix: latest typescript
Browse files Browse the repository at this point in the history
  • Loading branch information
satanTime committed Nov 20, 2020
1 parent 89acaa4 commit e976ed9
Show file tree
Hide file tree
Showing 183 changed files with 1,290 additions and 1,481 deletions.
4 changes: 0 additions & 4 deletions .lintstagedrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -26,11 +26,7 @@ module.exports = {

const filesForLint = filenames
.map(file => path.relative(cwd, file))
.filter(file => !file.match(/\.spec\.ts$/i))
.filter(file => !file.match(/\.fixtures\.ts$/i))
.filter(file => !file.match(/^e2e\//i))
.filter(file => !file.match(/^examples\//i))
.filter(file => !file.match(/^tests\//i))
.map(file => `'${file}'`);

if (filesForLint.length) {
Expand Down
12 changes: 9 additions & 3 deletions .prettierrc.yml
Original file line number Diff line number Diff line change
@@ -1,9 +1,15 @@
arrowParens: 'avoid'
bracketSpacing: true
semi: true
endOfLine: 'lf'
jsxBracketSameLine: false
jsxSingleQuote: true
printWidth: 120
proseWrap: 'preserve'
semi: true
singleQuote: true
arrowParens: 'avoid'
trailingComma: 'es5'
tabWidth: 2
trailingComma: 'all'
useTabs: false
overrides:
- files: 'README.md'
options:
Expand Down
Loading

0 comments on commit e976ed9

Please sign in to comment.