Skip to content

Commit

Permalink
Merge branch 'dev' into next
Browse files Browse the repository at this point in the history
  • Loading branch information
bigtimebuddy committed Jul 1, 2022
2 parents acd50f4 + 8ea9132 commit 4cb7c4d
Show file tree
Hide file tree
Showing 5 changed files with 3 additions and 68 deletions.
3 changes: 0 additions & 3 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,6 @@
{
"extends": ["@pixi/eslint-config"],
"plugins": ["jsdoc"],
"parserOptions": {
"project": ["./tsconfig.eslint.json"]
},
"ignorePatterns": ["**/*.index.d.ts"],
"settings": {
"jsdoc": {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -9,6 +9,7 @@ import { canUseNewCanvasBlendModes } from './canUseNewCanvasBlendModes';
* @param {string[]} [array=[]] - The array to output into.
* @returns {string[]} Mapped modes.
*/
// TODO after upgrading to typeScript 4.6, replace `string[]` with `GlobalCompositeOperation[]`
export function mapCanvasBlendModesToPixi(array: string[] = []): string[]
{
if (canUseNewCanvasBlendModes())
Expand All @@ -27,7 +28,7 @@ export function mapCanvasBlendModesToPixi(array: string[] = []): string[]
array[BLEND_MODES.DIFFERENCE] = 'difference';
array[BLEND_MODES.EXCLUSION] = 'exclusion';
array[BLEND_MODES.HUE] = 'hue';
array[BLEND_MODES.SATURATION] = 'saturate';
array[BLEND_MODES.SATURATION] = 'saturation';
array[BLEND_MODES.COLOR] = 'color';
array[BLEND_MODES.LUMINOSITY] = 'luminosity';
}
Expand Down
4 changes: 1 addition & 3 deletions rollup.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -48,9 +48,7 @@ async function main()
}),
commonjs(),
json(),
typescript({
tsconfig: path.resolve(__dirname, 'tsconfig.build.json'),
}),
typescript({ downlevelIteration: false }),
string({
include: [
'**/*.frag',
Expand Down
41 changes: 0 additions & 41 deletions tsconfig.build.json

This file was deleted.

20 changes: 0 additions & 20 deletions tsconfig.eslint.json

This file was deleted.

0 comments on commit 4cb7c4d

Please sign in to comment.