mirror of
https://github.com/oceanprotocol/docs.git
synced 2024-11-26 19:49:26 +01:00
ignore external docs for linting
This commit is contained in:
parent
e66dbd334b
commit
ff5a96e7b4
@ -1,3 +1,4 @@
|
|||||||
node_modules
|
node_modules
|
||||||
public
|
public
|
||||||
.cache
|
.cache
|
||||||
|
external
|
||||||
|
@ -15,7 +15,7 @@
|
|||||||
"format": "run-p format:js format:css format:md format:yml",
|
"format": "run-p format:js format:css format:md format:yml",
|
||||||
"lint:js": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .js,.jsx .",
|
"lint:js": "eslint --ignore-path .gitignore --ignore-path .prettierignore --ext .js,.jsx .",
|
||||||
"lint:css": "stylelint './src/**/*.{css,scss}'",
|
"lint:css": "stylelint './src/**/*.{css,scss}'",
|
||||||
"lint:md": "markdownlint './**/*.{md,markdown}' --ignore node_modules",
|
"lint:md": "markdownlint './**/*.{md,markdown}' --ignore './{node_modules,external,public}/**/*'",
|
||||||
"lint:yml": "prettier '**/*.{yml,yaml}' --list-different",
|
"lint:yml": "prettier '**/*.{yml,yaml}' --list-different",
|
||||||
"lint": "run-p --continue-on-error lint:js lint:css lint:md lint:yml",
|
"lint": "run-p --continue-on-error lint:js lint:css lint:md lint:yml",
|
||||||
"test": "npm run lint"
|
"test": "npm run lint"
|
||||||
|
Loading…
Reference in New Issue
Block a user