fix linting
This commit is contained in:
		
							parent
							
								
									19e2d51190
								
							
						
					
					
						commit
						0628d8f1c9
					
				
							
								
								
									
										13
									
								
								README.md
									
									
									
									
									
								
							
							
						
						
									
										13
									
								
								README.md
									
									
									
									
									
								
							@ -27,18 +27,19 @@ build collaborative or distributed applications ping us at
 | 
				
			|||||||
 | 
					
 | 
				
			||||||
## Sponsors
 | 
					## Sponsors
 | 
				
			||||||
 | 
					
 | 
				
			||||||
I'm currently looking for sponsors that allow me to be less dependent on contracting work. These awesome backers already fund further development of Yjs:
 | 
					I'm currently looking for sponsors that allow me to be less dependent on
 | 
				
			||||||
 | 
					contracting work. These awesome backers already fund further development of
 | 
				
			||||||
 | 
					Yjs:
 | 
				
			||||||
 | 
					
 | 
				
			||||||
[](https://github.com/vwall)
 | 
					[](https://github.com/vwall)
 | 
				
			||||||
[<img src="https://user-images.githubusercontent.com/5553757/83337333-a7bcb380-a2ba-11ea-837b-e404eb35d318.png" height="60px" />](https://input.com/)
 | 
					[<img src="https://user-images.githubusercontent.com/5553757/83337333-a7bcb380-a2ba-11ea-837b-e404eb35d318.png"
 | 
				
			||||||
 | 
					height="60px" />](https://input.com/)
 | 
				
			||||||
[](https://github.com/canadaduane)
 | 
					[](https://github.com/canadaduane)
 | 
				
			||||||
[](https://github.com/ISNIT0)
 | 
					[](https://github.com/ISNIT0)
 | 
				
			||||||
[<img src="https://room.sh/img/icons/android-chrome-192x192.png" height="60px" />](https://room.sh/)
 | 
					[<img src="https://room.sh/img/icons/android-chrome-192x192.png" height="60px" />](https://room.sh/)
 | 
				
			||||||
[](https://github.com/journeyapps)
 | 
				
			||||||
](https://github.com/journeyapps.png?size=60)](https://github.com/journeyapps)
 | 
					 | 
				
			||||||
[](https://github.com/adabru)
 | 
					[](https://github.com/adabru)
 | 
				
			||||||
[](https://github.com/NathanaelA)
 | 
				
			||||||
](https://github.com/NathanaelA.png?size=60)](https://github.com/NathanaelA)
 | 
					 | 
				
			||||||
 | 
					
 | 
				
			||||||
Sponsorship also comes with special perks! [](https://github.com/sponsors/dmonad)
 | 
					Sponsorship also comes with special perks! [](https://github.com/sponsors/dmonad)
 | 
				
			||||||
 | 
					
 | 
				
			||||||
 | 
				
			|||||||
							
								
								
									
										911
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
							
						
						
									
										911
									
								
								package-lock.json
									
									
									
										generated
									
									
									
								
							
										
											
												File diff suppressed because it is too large
												Load Diff
											
										
									
								
							
							
								
								
									
										16
									
								
								package.json
									
									
									
									
									
								
							
							
						
						
									
										16
									
								
								package.json
									
									
									
									
									
								
							@ -63,17 +63,17 @@
 | 
				
			|||||||
    "lib0": "^0.2.27"
 | 
					    "lib0": "^0.2.27"
 | 
				
			||||||
  },
 | 
					  },
 | 
				
			||||||
  "devDependencies": {
 | 
					  "devDependencies": {
 | 
				
			||||||
    "@rollup/plugin-commonjs": "^11.0.1",
 | 
					    "@rollup/plugin-commonjs": "^11.1.0",
 | 
				
			||||||
    "@rollup/plugin-node-resolve": "^7.0.0",
 | 
					    "@rollup/plugin-node-resolve": "^7.1.3",
 | 
				
			||||||
    "concurrently": "^3.6.1",
 | 
					    "concurrently": "^3.6.1",
 | 
				
			||||||
    "http-server": "^0.12.1",
 | 
					    "http-server": "^0.12.3",
 | 
				
			||||||
    "jsdoc": "^3.6.3",
 | 
					    "jsdoc": "^3.6.4",
 | 
				
			||||||
    "markdownlint-cli": "^0.19.0",
 | 
					    "markdownlint-cli": "^0.23.1",
 | 
				
			||||||
    "rollup": "^1.30.0",
 | 
					    "rollup": "^1.32.1",
 | 
				
			||||||
    "rollup-cli": "^1.0.9",
 | 
					    "rollup-cli": "^1.0.9",
 | 
				
			||||||
    "standard": "^14.0.0",
 | 
					    "standard": "^14.3.4",
 | 
				
			||||||
    "tui-jsdoc-template": "^1.2.2",
 | 
					    "tui-jsdoc-template": "^1.2.2",
 | 
				
			||||||
    "typescript": "^3.7.5",
 | 
					    "typescript": "^3.9.3",
 | 
				
			||||||
    "y-protocols": "^0.2.3"
 | 
					    "y-protocols": "^0.2.3"
 | 
				
			||||||
  }
 | 
					  }
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
 | 
				
			|||||||
@ -40,7 +40,7 @@ export class YArrayEvent extends YEvent {
 | 
				
			|||||||
 * A shared Array implementation.
 | 
					 * A shared Array implementation.
 | 
				
			||||||
 * @template T
 | 
					 * @template T
 | 
				
			||||||
 * @extends AbstractType<YArrayEvent<T>>
 | 
					 * @extends AbstractType<YArrayEvent<T>>
 | 
				
			||||||
 * @implements {IterableIterator<T>}
 | 
					 * @implements {Iterable<T>}
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
export class YArray extends AbstractType {
 | 
					export class YArray extends AbstractType {
 | 
				
			||||||
  constructor () {
 | 
					  constructor () {
 | 
				
			||||||
 | 
				
			|||||||
@ -42,7 +42,7 @@ export class YMapEvent extends YEvent {
 | 
				
			|||||||
 * A shared Map implementation.
 | 
					 * A shared Map implementation.
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @extends AbstractType<YMapEvent<T>>
 | 
					 * @extends AbstractType<YMapEvent<T>>
 | 
				
			||||||
 * @implements {IterableIterator}
 | 
					 * @implements {Iterable<T>}
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
export class YMap extends AbstractType {
 | 
					export class YMap extends AbstractType {
 | 
				
			||||||
  constructor () {
 | 
					  constructor () {
 | 
				
			||||||
 | 
				
			|||||||
@ -48,7 +48,7 @@ import * as decoding from 'lib0/decoding.js' // eslint-disable-line
 | 
				
			|||||||
 * Can be created with {@link YXmlFragment#createTreeWalker}
 | 
					 * Can be created with {@link YXmlFragment#createTreeWalker}
 | 
				
			||||||
 *
 | 
					 *
 | 
				
			||||||
 * @public
 | 
					 * @public
 | 
				
			||||||
 * @implements {IterableIterator}
 | 
					 * @implements {Iterable<YXmlElement|YXmlText|YXmlElement|YXmlHook>}
 | 
				
			||||||
 */
 | 
					 */
 | 
				
			||||||
export class YXmlTreeWalker {
 | 
					export class YXmlTreeWalker {
 | 
				
			||||||
  /**
 | 
					  /**
 | 
				
			||||||
@ -81,10 +81,10 @@ export class YXmlTreeWalker {
 | 
				
			|||||||
     * @type {Item|null}
 | 
					     * @type {Item|null}
 | 
				
			||||||
     */
 | 
					     */
 | 
				
			||||||
    let n = this._currentNode
 | 
					    let n = this._currentNode
 | 
				
			||||||
    let type = /** @type {ContentType} */ (n.content).type
 | 
					    let type = /** @type {any} */ (n.content).type
 | 
				
			||||||
    if (n !== null && (!this._firstCall || n.deleted || !this._filter(type))) { // if first call, we check if we can use the first item
 | 
					    if (n !== null && (!this._firstCall || n.deleted || !this._filter(type))) { // if first call, we check if we can use the first item
 | 
				
			||||||
      do {
 | 
					      do {
 | 
				
			||||||
        type = /** @type {ContentType} */ (n.content).type
 | 
					        type = /** @type {any} */ (n.content).type
 | 
				
			||||||
        if (!n.deleted && (type.constructor === YXmlElement || type.constructor === YXmlFragment) && type._start !== null) {
 | 
					        if (!n.deleted && (type.constructor === YXmlElement || type.constructor === YXmlFragment) && type._start !== null) {
 | 
				
			||||||
          // walk down in the tree
 | 
					          // walk down in the tree
 | 
				
			||||||
          n = type._start
 | 
					          n = type._start
 | 
				
			||||||
 | 
				
			|||||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user