Skip to content

Commit

Permalink
chore: disable lint for markdown files
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexander Zakharov committed Apr 14, 2021
1 parent 4db98b0 commit 0452704
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion .lintstagedrc
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"*.{ts,tsx,js,jsx,json,css,md,html}": [
"*.{ts,tsx,js,jsx,json,css,html}": [
"npm run lint:staged:fix"
]
}
6 changes: 3 additions & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,9 +30,9 @@
"build:webpack:dev": "cross-env TS_NODE_PROJECT=tsconfig.webpack.json webpack --config webpack/dev.config.ts",
"build:webpack:prod": "cross-env TS_NODE_PROJECT=tsconfig.webpack.json webpack --config webpack/prod.config.ts",
"build:webpack:stats": "cross-env TS_NODE_PROJECT=tsconfig.webpack.json webpack --config webpack/stats.config.ts",
"lint:project": "eslint --ext tsx,ts,jsx,js,json,md,html ./",
"lint:project:fix": "eslint --ext tsx,ts,jsx,js,json,md,html ./ --fix",
"lint:staged:fix": "eslint --ext tsx,ts,jsx,js,json,md,html --fix",
"lint:project": "eslint --ext tsx,ts,jsx,js,json,html ./",
"lint:project:fix": "eslint --ext tsx,ts,jsx,js,json,html ./ --fix",
"lint:staged:fix": "eslint --ext tsx,ts,jsx,js,json,html --fix",
"test": "run-s clean:coverage test:jest",
"test:verbose": "run-s clean:coverage test:jest:verbose",
"test:coverage": "run-s clean:coverage test:jest:coverage",
Expand Down
2 changes: 1 addition & 1 deletion webpack/dev.config.ts
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ const configuration: Configuration = mergeWithCustomize<Configuration>({
plugins: [
new ReactRefreshWebpackPlugin(),
new ForkTsCheckerWebpackPlugin({
eslint: { files: './src/**/*.{tsx,ts,jsx,js,json,md,html}' }
eslint: { files: './src/**/*.{tsx,ts,jsx,js,json,html}' }
})
]
});
Expand Down

0 comments on commit 0452704

Please sign in to comment.