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 @@
"scripts": {
"build": "gulp build",
"dev": "gulp dev",
"lint": "eslint --color ."
"lint": "eslint --color . && prettier --check . && depcheck ."
},
"keywords": [
"reveal.js",
......@@ -13,6 +13,10 @@
],
"author": "Guillaume Perréal <guillaume.perreal@inrae.fr>",
"license": "MIT",
"repository": {
"type": "git",
"url": "gitlab-ssh.irstea.fr:pole-is/tools/prezbuilder.js"
},
"engineStrict": true,
"engines": {
"node": ">=12 <14"
......@@ -31,6 +35,7 @@
"which": "^2.0.2"
},
"devDependencies": {
"depcheck": "^0.9.2",
"eslint": "^6.8.0",
"eslint-config-prettier": "^6.11.0",
"eslint-plugin-prettier": "^3.1.3",
......@@ -65,7 +70,10 @@
"ignoreCase": true
}
]
}
},
"ignorePatterns": [
"public/**"
]
},
"pretiter:": {
"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