File tree Expand file tree Collapse file tree 10 files changed +925
-765
lines changed
eslint-plugin-mdx/src/rules Expand file tree Collapse file tree 10 files changed +925
-765
lines changed Original file line number Diff line number Diff line change 4444 PARSER_NO_WATCH : true
4545
4646 - name : Codecov
47- if : matrix.os != 'windows-latest'
48- run : |
49- yarn global add codecov
50- codecov
47+ uses : codecov/codecov-action@v3
Original file line number Diff line number Diff line change 2626 "typecov" : " type-coverage"
2727 },
2828 "devDependencies" : {
29- "@1stg/lib-config" : " ^6.1.0 " ,
29+ "@1stg/lib-config" : " ^6.1.1 " ,
3030 "@types/eslint" : " ^8.4.2" ,
3131 "@types/eslint-plugin-markdown" : " ^2.0.0" ,
3232 "@types/jest" : " ^27.5.1" ,
33- "@types/node" : " ^17.0.33 " ,
33+ "@types/node" : " ^17.0.35 " ,
3434 "@types/react" : " ^18.0.9" ,
3535 "@types/unist" : " ^2.0.6" ,
3636 "lerna" : " ^4.0.0" ,
3737 "patch-package" : " ^6.4.7" ,
3838 "react" : " ^18.1.0" ,
3939 "ts-jest" : " ^28.0.2" ,
40- "ts-node" : " ^10.7 .0" ,
40+ "ts-node" : " ^10.8 .0" ,
4141 "type-coverage" : " ^2.21.1" ,
4242 "typescript" : " ^4.6.4"
4343 },
Original file line number Diff line number Diff line change 11/* eslint-disable unicorn/no-await-expression-member */
2- import fs from 'fs'
3- import path from 'path'
4- import { pathToFileURL } from 'url'
2+ import fs from 'node: fs'
3+ import path from 'node: path'
4+ import { pathToFileURL } from 'node: url'
55
66import type { Position } from 'acorn'
77import { createSyncFn } from 'synckit'
Original file line number Diff line number Diff line change 1- import path from 'path'
1+ import path from 'node: path'
22
33import type { Linter } from 'eslint'
44import type { VFileMessage } from 'vfile-message'
Original file line number Diff line number Diff line change 11/* eslint-disable @typescript-eslint/consistent-type-imports */
22/* eslint-disable unicorn/no-await-expression-member */
3- import path from 'path'
4- import { pathToFileURL } from 'url'
3+ import path from 'node: path'
4+ import { pathToFileURL } from 'node: url'
55
66import type { Token , TokenType , tokTypes as _tokTypes } from 'acorn'
77import { cosmiconfig } from 'cosmiconfig'
Original file line number Diff line number Diff line change 1- import path from 'path'
1+ import path from 'node: path'
22
33import type { Rule } from 'eslint'
44import type { ParserOptions } from 'eslint-mdx'
Original file line number Diff line number Diff line change 1- import path from 'path'
1+ import path from 'node: path'
22
33import { ESLint } from 'eslint'
44
Original file line number Diff line number Diff line change 1- import path from 'path'
1+ import path from 'node: path'
22
33import { arrayify , requirePkg } from 'eslint-mdx'
44import { getGlobals , getShortLang } from 'eslint-plugin-mdx'
Original file line number Diff line number Diff line change 1- import { homedir } from 'os'
2- import path from 'path'
1+ import { homedir } from 'node: os'
2+ import path from 'node: path'
33
44import {
55 parser ,
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments