UNPKG

chess.js

Version:

[![GitHub Workflow Status](https://img.shields.io/github/actions/workflow/status/jhlywa/chess.js/node.js.yml)](https://github.com/jhlywa/chess.js/actions) [![npm](https://img.shields.io/npm/v/chess.js?color=blue)](https://www.npmjs.com/package/chess.js) [

33 lines (31 loc) 838 B
module.exports = { root: true, parser: '@typescript-eslint/parser', plugins: ['@typescript-eslint'], extends: ['eslint:recommended', 'plugin:@typescript-eslint/recommended'], rules: { // allow while(true) loops 'no-constant-condition': ['error', { checkLoops: false }], '@typescript-eslint/naming-convention': [ 'error', { selector: ['default'], format: ['strictCamelCase'], leadingUnderscore: 'allow', }, { selector: ['variable'], format: ['strictCamelCase', 'UPPER_CASE'], }, { selector: ['objectLiteralProperty'], format: ['strictCamelCase', 'UPPER_CASE'], }, { selector: ['typeLike'], format: ['PascalCase'], }, ], 'multiline-comment-style': ['error', 'starred-block'], }, }