From aa138c41e9df9a2357d49bbe49aff5412c7af9c3 Mon Sep 17 00:00:00 2001 From: lzear Date: Tue, 27 Feb 2024 12:34:37 +0100 Subject: [PATCH] style: `prettier . -w` --- .eslintrc.cjs | 4 ++-- .github/workflows/gh-pages.yml | 4 ++-- .ncurc.js | 2 +- demo/.eslintrc.cjs | 2 +- demo/tsconfig.json | 11 ++--------- tsconfig/README.md | 3 ++- 6 files changed, 10 insertions(+), 16 deletions(-) diff --git a/.eslintrc.cjs b/.eslintrc.cjs index 161bc27..0300f41 100644 --- a/.eslintrc.cjs +++ b/.eslintrc.cjs @@ -21,8 +21,8 @@ module.exports = { settings: { 'import/resolver': { node: { - extensions: ['.js', '.jsx', '.ts', '.tsx', '.cjs'] - } + extensions: ['.js', '.jsx', '.ts', '.tsx', '.cjs'], + }, }, }, parserOptions: { diff --git a/.github/workflows/gh-pages.yml b/.github/workflows/gh-pages.yml index 346bc06..7753b0d 100644 --- a/.github/workflows/gh-pages.yml +++ b/.github/workflows/gh-pages.yml @@ -4,7 +4,7 @@ name: Deploy static content to Pages on: # Runs on pushes targeting the default branch push: - branches: ["master"] + branches: ['master'] # Allows you to run this workflow manually from the Actions tab workflow_dispatch: @@ -17,7 +17,7 @@ permissions: # Allow one concurrent deployment concurrency: - group: "pages" + group: 'pages' cancel-in-progress: true jobs: diff --git a/.ncurc.js b/.ncurc.js index 4b53083..9cf2825 100644 --- a/.ncurc.js +++ b/.ncurc.js @@ -1,3 +1,3 @@ module.exports = { - reject: ['antd', 'javascript-lp-solver'] + reject: ['antd', 'javascript-lp-solver'], } diff --git a/demo/.eslintrc.cjs b/demo/.eslintrc.cjs index 5708a07..1c6a473 100644 --- a/demo/.eslintrc.cjs +++ b/demo/.eslintrc.cjs @@ -1,7 +1,7 @@ module.exports = { extends: ['next', 'next/core-web-vitals'], parserOptions: { - ecmaVersion: 2022 + ecmaVersion: 2022, }, env: { browser: true, diff --git a/demo/tsconfig.json b/demo/tsconfig.json index ebe8d23..750f6e5 100644 --- a/demo/tsconfig.json +++ b/demo/tsconfig.json @@ -9,13 +9,6 @@ } ] }, - "include": [ - "next-env.d.ts", - "**/*.ts", - "**/*.tsx", - ".next/types/**/*.ts" - ], - "exclude": [ - "node_modules" - ] + "include": ["next-env.d.ts", "**/*.ts", "**/*.tsx", ".next/types/**/*.ts"], + "exclude": ["node_modules"] } diff --git a/tsconfig/README.md b/tsconfig/README.md index 0da79cf..6d57107 100644 --- a/tsconfig/README.md +++ b/tsconfig/README.md @@ -1,3 +1,4 @@ # `tsconfig` -These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s inherit from. +These are base shared `tsconfig.json`s from which all other `tsconfig.json`'s +inherit from.