-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
BREAKING CHANGE: tablemark must be used as an ES module and is no longer available as common js.
- Loading branch information
Showing
18 changed files
with
735 additions
and
443 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,38 @@ | ||
"use strict" | ||
|
||
const [, , error] = ["off", "warn", "error"] | ||
|
||
module.exports = { | ||
extends: ["./node_modules/ts-standardx/.eslintrc.js"], | ||
ignorePatterns: ["dist"], | ||
rules: { | ||
"no-unused-vars": [ | ||
error, | ||
{ | ||
argsIgnorePattern: "^_", | ||
caughtErrorsIgnorePattern: "^_", | ||
varsIgnorePattern: "^_" | ||
} | ||
], | ||
quotes: [error, "double"], | ||
|
||
"prettier/prettier": [ | ||
error, | ||
{ | ||
semi: false, | ||
singleQuote: false, | ||
trailingComma: "none", | ||
bracketSameLine: true, | ||
arrowParens: "avoid" | ||
} | ||
] | ||
}, | ||
overrides: [ | ||
{ | ||
files: ["**/*.{ts,tsx}"], | ||
rules: { | ||
"@typescript-eslint/quotes": [error, "double"] | ||
} | ||
} | ||
] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -9,3 +9,5 @@ package-lock.json | |
yarn.lock | ||
|
||
node_modules | ||
|
||
/dist |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
export default { | ||
extensions: { | ||
ts: "module" | ||
}, | ||
nonSemVerExperiments: { | ||
configurableModuleFormat: true, | ||
nextGenConfig: true | ||
}, | ||
nodeArguments: ["--loader=ts-node/esm"] | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,9 @@ | ||
declare module "split-text-to-chunks" { | ||
interface Split { | ||
width: (text: string, max: number) => number | ||
(text: string, columns: number): string | ||
} | ||
|
||
const split: Split | ||
export default split | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.