Skip to content
Snippets Groups Projects
Commit 78c1df237b67 authored by Frank Bessou's avatar Frank Bessou :spider_web:
Browse files

chore: add lint script

parent 5f7a610e60d5
No related branches found
No related tags found
No related merge requests found
Pipeline #36793 failed
This commit is part of merge request !7. Comments created here will be created in the context of that merge request.
...@@ -20,4 +20,17 @@ ...@@ -20,4 +20,17 @@
}, },
], ],
}, },
overrides: [
{
files: ["**/webpack.config.js", "**/.eslintrc.js"],
env: {
es6: false,
node: true,
},
rules: {
"@typescript-eslint/no-var-requires": 0,
},
},
],
ignorePatterns: ["packages/*/dist/"],
}; };
.gitlab-ci.yml 0 → 100644
stages:
- checks
eslint:
stage: checks
before_script:
- yarn
script:
- yarn lint
...@@ -3,6 +3,9 @@ ...@@ -3,6 +3,9 @@
"version": "0.0.1", "version": "0.0.1",
"main": "index.js", "main": "index.js",
"license": "MIT", "license": "MIT",
"scripts": {
"lint": "eslint packages"
},
"workspaces": [ "workspaces": [
"packages/demo", "packages/demo",
"packages/ra-cubicweb" "packages/ra-cubicweb"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment