Skip to content

Commit

Permalink
add lint
Browse files Browse the repository at this point in the history
  • Loading branch information
jendave committed Mar 22, 2024
1 parent 4e97db7 commit 5a16308
Show file tree
Hide file tree
Showing 4 changed files with 91 additions and 224 deletions.
10 changes: 10 additions & 0 deletions .eslintrc.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
env:
browser: true
es2021: true
extends:
- 'airbnb-base'
- '@typhonjs-fvtt/eslint-config-foundry.js'
parserOptions:
ecmaVersion: latest
sourceType: module
rules: {}
150 changes: 3 additions & 147 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

37 changes: 19 additions & 18 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -5,32 +5,33 @@
"type": "module",
"author": "David Hudson <[email protected]> (https://github.com/jendave)",
"contributors": [
"David Hudson <[email protected]> (https://github.com/jendave)"
"David Hudson <[email protected]> (https://github.com/jendave)"
],
"imports": {
"#runtime/*": "@typhonjs-fvtt/runtime/*",
"#standard/*": "@typhonjs-fvtt/svelte-standard/*"
"#runtime/*": "@typhonjs-fvtt/runtime/*",
"#standard/*": "@typhonjs-fvtt/svelte-standard/*"
},
"dependencies": {
"@typhonjs-fvtt/runtime": "0.1.2",
"@typhonjs-fvtt/svelte-standard": "0.1.0",
"svelte": "^4.2.0"
"@typhonjs-fvtt/runtime": "0.1.2",
"@typhonjs-fvtt/svelte-standard": "0.1.0",
"svelte": "^4.2.0"
},
"devDependencies": {
"@typhonjs-config/eslint-config": "^0.6.0",
"@typhonjs-fvtt/eslint-config-foundry.js": "^0.8.0",
"eslint": "^8",
"svelte-preprocess": "^5",
"vite": "^4.4.0"
"@typhonjs-config/eslint-config": "^0.6.0",
"@typhonjs-fvtt/eslint-config-foundry.js": "^0.8.0",
"eslint": "^8.57.0",
"eslint-config-airbnb-base": "^15.0.0",
"eslint-plugin-import": "^2.29.1",
"svelte-preprocess": "^5",
"vite": "^4.4.0"
},
"browserslist": [
">5%",
"not IE 11"
">5%",
"not IE 11"
],
"scripts": {
"build": "vite build",
"dev": "vite",
"eslint": "eslint ."
"build": "vite build",
"dev": "vite",
"eslint": "eslint ."
}
}

}
Loading

0 comments on commit 5a16308

Please sign in to comment.