Skip to content

Commit

Permalink
Merge pull request #165 from wentout/proto
Browse files Browse the repository at this point in the history
new.target for function based constructors
  • Loading branch information
wentout authored Sep 1, 2024
2 parents 3624fc2 + 66aab11 commit 81a7fda
Show file tree
Hide file tree
Showing 18 changed files with 1,281 additions and 1,032 deletions.
11 changes: 6 additions & 5 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ module.exports = {
'@typescript-eslint'
],
rules: {
indent: ['error', 'tab'],
'indent': ['error', 'tab'],
'key-spacing': [
'warn',
{
Expand All @@ -30,8 +30,8 @@ module.exports = {
},
],
'linebreak-style': ['error', 'unix'],
quotes: ['error', 'single'],
semi: ['error', 'always'],
'quotes': ['error', 'single'],
'semi': ['error', 'always'],
'no-unused-vars': 'off',
'@typescript-eslint/no-unused-vars': 'error',
'no-shadow': [
Expand All @@ -42,11 +42,11 @@ module.exports = {
allow: [],
},
],
'array-bracket-spacing': ['warn', 'always'],
'array-bracket-spacing': ['error', 'always'],
'computed-property-spacing': ['error', 'always'],
'object-curly-spacing': ['error', 'always'],
'space-before-function-paren': [
'warn', {
'error', {
'anonymous': 'always',
'named': 'always',
'asyncArrow': 'always'
Expand Down Expand Up @@ -84,6 +84,7 @@ module.exports = {
],
'@typescript-eslint/no-var-requires': 'off',
'@typescript-eslint/no-empty-function': 'off',
'@typescript-eslint/no-explicit-any': 'off',
yoda: 'warn',
},
overrides: [{
Expand Down
6 changes: 4 additions & 2 deletions build/api/types/InstanceCreator.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/api/types/InstanceCreator.js.map

Large diffs are not rendered by default.

7 changes: 7 additions & 0 deletions build/api/types/TypeProxy.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/api/types/TypeProxy.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 11 additions & 1 deletion build/api/types/compileNewModificatorFunctionBody.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion build/api/types/compileNewModificatorFunctionBody.js.map

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit 81a7fda

Please sign in to comment.