Skip to content

Commit 5d3c9c8

Browse files
committed
chore: introduce eslint-plugin-mark
1 parent 2d46c13 commit 5d3c9c8

File tree

3 files changed

+511
-2
lines changed

3 files changed

+511
-2
lines changed

eslint.config.mjs

Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
import mark from 'eslint-plugin-mark';
2+
3+
export default [
4+
{
5+
ignores: ['**/*.js', '**/*.mjs', '**/*.cjs'],
6+
},
7+
{
8+
...mark.configs.baseGfm,
9+
files: ['src/content/**/*.md'],
10+
rules: {
11+
'mark/no-double-spaces': 'error',
12+
},
13+
},
14+
];

package.json

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,14 +64,15 @@
6464
"asyncro": "^3.0.0",
6565
"autoprefixer": "^10.4.2",
6666
"babel-eslint": "10.x",
67-
"editorconfig-checker": "^6.0.1",
6867
"babel-plugin-react-compiler": "19.0.0-beta-e552027-20250112",
68+
"editorconfig-checker": "^6.0.1",
6969
"eslint": "7.x",
7070
"eslint-config-next": "12.0.3",
7171
"eslint-config-react-app": "^5.2.1",
7272
"eslint-plugin-flowtype": "4.x",
7373
"eslint-plugin-import": "2.x",
7474
"eslint-plugin-jsx-a11y": "6.x",
75+
"eslint-plugin-mark": "^0.1.0-canary.1",
7576
"eslint-plugin-react": "7.x",
7677
"eslint-plugin-react-compiler": "^19.0.0-beta-e552027-20250112",
7778
"eslint-plugin-react-hooks": "^0.0.0-experimental-fabef7a6b-20221215",

0 commit comments

Comments
 (0)