Skip to content

Commit

Permalink
Add eslint setup
Browse files Browse the repository at this point in the history
  • Loading branch information
pkalita-lbl committed Jun 15, 2022
1 parent 56895bf commit 5f11f3c
Show file tree
Hide file tree
Showing 3 changed files with 574 additions and 1 deletion.
17 changes: 17 additions & 0 deletions .eslintrc.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
module.exports = {
"ignorePatterns": [
"main.js",
"**/dist/*.js"
],
"env": {
"browser": true,
"es2021": true
},
"extends": "eslint:recommended",
"parserOptions": {
"ecmaVersion": "latest",
"sourceType": "module"
},
"rules": {
}
}
6 changes: 5 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,9 @@
"description": "A standardized spreadsheet editor and validator that can be run offline and locally",
"repository": "git@github.com:cidgoh/DataHarmonizer.git",
"license": "MIT",
"files": ["./lib/dist"],
"files": [
"./lib/dist"
],
"main": "./lib/dist/data-harmonizer.umd.js",
"module": "./lib/dist/data-harmonizer.es.js",
"exports": {
Expand All @@ -14,9 +16,11 @@
}
},
"scripts": {
"lint": "eslint lib",
"build:lib": "rollup --config lib/rollup.config.js"
},
"devDependencies": {
"eslint": "^8.17.0",
"rollup": "^2.75.6"
}
}
Loading

0 comments on commit 5f11f3c

Please sign in to comment.