Skip to content

Commit

Permalink
Merge pull request #46 from stepchowfun/packages
Browse files Browse the repository at this point in the history
Update dependencies
  • Loading branch information
stepchowfun authored Dec 14, 2023
2 parents 1da615d + c1ba096 commit c597d51
Show file tree
Hide file tree
Showing 13 changed files with 2,992 additions and 8,085 deletions.
9 changes: 9 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,10 @@ module.exports = {
leadingUnderscore: 'allow',
trailingUnderscore: 'allow',
},
{
selector: 'import',
format: ['camelCase', 'PascalCase'],
},
{
selector: 'variable',
format: ['camelCase', 'UPPER_CASE', 'PascalCase'], // We've added 'PascalCase' here.
Expand All @@ -48,6 +52,11 @@ module.exports = {
selector: 'typeLike',
format: ['PascalCase'],
},
{
selector: 'objectLiteralProperty',
modifiers: ['requiresQuotes'],
format: null, // To support properties like '&:hover' for JSS
},
],

// This rule is annoying and sometimes difficult to satisfy. The `ReadonlyDeep` type from
Expand Down
1 change: 0 additions & 1 deletion .prettierrc.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
module.exports = {
proseWrap: 'always',
singleQuote: true,
trailingComma: 'all',
};
2 changes: 1 addition & 1 deletion index.html
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<!DOCTYPE html>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
Expand Down
13 changes: 8 additions & 5 deletions jest.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,11 +2,14 @@ module.exports = {
preset: 'ts-jest',
roots: ['<rootDir>/src'],
// See https://github.com/kulshekhar/ts-jest/issues/748 for why we've silenced the warning.
globals: {
'ts-jest': {
diagnostics: {
ignoreCodes: [151001],
transform: {
'^.+\\.tsx?$': [
'ts-jest',
{
diagnostics: {
ignoreCodes: [151001],
},
},
},
],
},
};
Loading

0 comments on commit c597d51

Please sign in to comment.