Skip to content

Commit

Permalink
Merge pull request #306 from theodore-s-beers/deps
Browse files Browse the repository at this point in the history
Housekeeping
  • Loading branch information
theodore-s-beers authored Aug 27, 2024
2 parents a781b4d + 18f09f4 commit 2f71377
Show file tree
Hide file tree
Showing 12 changed files with 464 additions and 469 deletions.
16 changes: 0 additions & 16 deletions .eslintrc.json

This file was deleted.

4 changes: 4 additions & 0 deletions .github/workflows/linter.yml
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,10 @@ jobs:
env:
VALIDATE_ALL_CODEBASE: true
VALIDATE_CSS: false
VALIDATE_JAVASCRIPT_ES: false
VALIDATE_JAVASCRIPT_STANDARD: false
VALIDATE_JSON: false
VALIDATE_TYPESCRIPT_ES: false
VALIDATE_TYPESCRIPT_STANDARD: false
FILTER_REGEX_EXCLUDE: .*(\.min\.|sw\.js|workbox).*
DEFAULT_BRANCH: master
Expand Down
22 changes: 22 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,22 @@
// @ts-check

import eslint from '@eslint/js'
import tseslint from 'typescript-eslint'

export default tseslint.config(
{
ignores: ['**/*.min.js', 'sw.js', 'workbox*.js'],
},

{
languageOptions: {
globals: {
navigator: 'readonly',
window: 'readonly',
},
},
},

eslint.configs.recommended,
...tseslint.configs.recommended,
)
4 changes: 2 additions & 2 deletions ime/index.min.js.map

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions js/index.min.js.map

Large diffs are not rendered by default.

18 changes: 10 additions & 8 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,23 +12,25 @@
},
"license": "MIT",
"author": "Theo Beers",
"type": "module",
"main": "index.html",
"scripts": {
"check": "tsc",
"compile-ime": "esbuild ts/index-ime.ts --bundle --minify --sourcemap --outfile=ime/index.min.js",
"compile-main": "esbuild ts/index-main.ts --bundle --minify --sourcemap --outfile=js/index.min.js",
"format": "prettier --write .",
"lint": "eslint --fix --ignore-path .prettierignore . && stylelint --fix css/styles-*.css",
"lint": "eslint --fix . && stylelint --fix css/styles-*.css",
"test": "echo \"Error: no test specified\" && exit 1"
},
"devDependencies": {
"@typescript-eslint/eslint-plugin": "^7.15.0",
"@typescript-eslint/parser": "^7.15.0",
"esbuild": "^0.23.0",
"eslint": "^8.57.0",
"prettier": "3.3.2",
"stylelint": "^16.6.1",
"@eslint/js": "^9.9.1",
"@types/eslint__js": "^8.42.3",
"esbuild": "^0.23.1",
"eslint": "^9.9.1",
"prettier": "3.3.3",
"stylelint": "^16.8.2",
"stylelint-config-standard": "^36.0.1",
"typescript": "^5.5.3"
"typescript": "^5.5.4",
"typescript-eslint": "^8.3.0"
}
}
Loading

0 comments on commit 2f71377

Please sign in to comment.