Skip to content

Commit

Permalink
Dependency update (eslint 8->9). Convert to eslint flat config. Fix t…
Browse files Browse the repository at this point in the history
…ypo.
  • Loading branch information
Hexagon committed May 13, 2024
1 parent e4b53cb commit 66fd961
Show file tree
Hide file tree
Showing 8 changed files with 127 additions and 228 deletions.
38 changes: 0 additions & 38 deletions .eslintrc.json

This file was deleted.

2 changes: 1 addition & 1 deletion deno.jsonc
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@hexagon/croner",
"version": "8.0.2",
"version": "8.0.3-dev.0",
"exports": "./dist/croner.js",
"lint": {
"include": ["src","test/deno"],
Expand Down
37 changes: 37 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
export default [{
"rules": {
"indent": [
2,
"tab"
],
"quotes": [
2,
"double"
],
"semi": [
2,
"always"
],
"complexity": [
2,
22
],
"linebreak-style": 0,
"no-var": 1
},
"languageOptions": {
"parserOptions": {
"sourceType": "module"
},
"globals": {
"define": false,
"describe": false,
"it": false,
"deno": false,
"es2017": true,
"node": true,
"browser": true
},
},
"ignores": ["dist-legacy/*","dist/*","dist-docs/*","docs/*","test/deno/*","src/helpers/*"]
}];
Loading

0 comments on commit 66fd961

Please sign in to comment.