Commit 73e8fd24 authored by Guillaume Perréal's avatar Guillaume Perréal
Browse files

Configure les linters.

parent 6b1f306c
{
"ignore-bin-package": true,
"ignore-dirs": ["public"],
"ignores": ["esm"]
}
public/
templates/
*.js
*.map
This diff is collapsed.
...@@ -5,7 +5,7 @@ ...@@ -5,7 +5,7 @@
"scripts": { "scripts": {
"build": "gulp build", "build": "gulp build",
"dev": "gulp dev", "dev": "gulp dev",
"lint": "eslint --color ." "lint": "eslint --color . && prettier --check . && depcheck ."
}, },
"keywords": [ "keywords": [
"reveal.js", "reveal.js",
...@@ -13,6 +13,10 @@ ...@@ -13,6 +13,10 @@
], ],
"author": "Guillaume Perréal <guillaume.perreal@inrae.fr>", "author": "Guillaume Perréal <guillaume.perreal@inrae.fr>",
"license": "MIT", "license": "MIT",
"repository": {
"type": "git",
"url": "gitlab-ssh.irstea.fr:pole-is/tools/prezbuilder.js"
},
"engineStrict": true, "engineStrict": true,
"engines": { "engines": {
"node": ">=12 <14" "node": ">=12 <14"
...@@ -31,6 +35,7 @@ ...@@ -31,6 +35,7 @@
"which": "^2.0.2" "which": "^2.0.2"
}, },
"devDependencies": { "devDependencies": {
"depcheck": "^0.9.2",
"eslint": "^6.8.0", "eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0", "eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3", "eslint-plugin-prettier": "^3.1.3",
...@@ -65,7 +70,10 @@ ...@@ -65,7 +70,10 @@
"ignoreCase": true "ignoreCase": true
} }
] ]
} },
"ignorePatterns": [
"public/**"
]
}, },
"pretiter:": { "pretiter:": {
"printWidth": 80 "printWidth": 80
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment