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 44
44
PARSER_NO_WATCH : true
45
45
46
46
- 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 26
26
"typecov" : " type-coverage"
27
27
},
28
28
"devDependencies" : {
29
- "@1stg/lib-config" : " ^6.1.0 " ,
29
+ "@1stg/lib-config" : " ^6.1.1 " ,
30
30
"@types/eslint" : " ^8.4.2" ,
31
31
"@types/eslint-plugin-markdown" : " ^2.0.0" ,
32
32
"@types/jest" : " ^27.5.1" ,
33
- "@types/node" : " ^17.0.33 " ,
33
+ "@types/node" : " ^17.0.35 " ,
34
34
"@types/react" : " ^18.0.9" ,
35
35
"@types/unist" : " ^2.0.6" ,
36
36
"lerna" : " ^4.0.0" ,
37
37
"patch-package" : " ^6.4.7" ,
38
38
"react" : " ^18.1.0" ,
39
39
"ts-jest" : " ^28.0.2" ,
40
- "ts-node" : " ^10.7 .0" ,
40
+ "ts-node" : " ^10.8 .0" ,
41
41
"type-coverage" : " ^2.21.1" ,
42
42
"typescript" : " ^4.6.4"
43
43
},
Original file line number Diff line number Diff line change 1
1
/* 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'
5
5
6
6
import type { Position } from 'acorn'
7
7
import { createSyncFn } from 'synckit'
Original file line number Diff line number Diff line change 1
- import path from 'path'
1
+ import path from 'node: path'
2
2
3
3
import type { Linter } from 'eslint'
4
4
import type { VFileMessage } from 'vfile-message'
Original file line number Diff line number Diff line change 1
1
/* eslint-disable @typescript-eslint/consistent-type-imports */
2
2
/* 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'
5
5
6
6
import type { Token , TokenType , tokTypes as _tokTypes } from 'acorn'
7
7
import { cosmiconfig } from 'cosmiconfig'
Original file line number Diff line number Diff line change 1
- import path from 'path'
1
+ import path from 'node: path'
2
2
3
3
import type { Rule } from 'eslint'
4
4
import 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'
2
2
3
3
import { ESLint } from 'eslint'
4
4
Original file line number Diff line number Diff line change 1
- import path from 'path'
1
+ import path from 'node: path'
2
2
3
3
import { arrayify , requirePkg } from 'eslint-mdx'
4
4
import { 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'
3
3
4
4
import {
5
5
parser ,
Load Diff Large diffs are not rendered by default.
You can’t perform that action at this time.
0 commit comments