1
0
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:
Matthias Kretschmann 2018-11-14 15:46:30 +01:00
parent e66dbd334b
commit ff5a96e7b4
Signed by: m
GPG Key ID: 606EEEF3C479A91F
2 changed files with 2 additions and 1 deletions

View File

@ -1,3 +1,4 @@
node_modules node_modules
public public
.cache .cache
external

View File

@ -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"