Skip to content

Commit

Permalink
Update ESLint config
Browse files Browse the repository at this point in the history
  • Loading branch information
ai committed Mar 2, 2024
1 parent 9736cf4 commit 126a631
Show file tree
Hide file tree
Showing 6 changed files with 759 additions and 712 deletions.
1 change: 0 additions & 1 deletion .eslintignore

This file was deleted.

11 changes: 0 additions & 11 deletions .eslintrc

This file was deleted.

2 changes: 1 addition & 1 deletion .size-limit.json
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,6 @@
"name": "Scripts for 3D model",
"path": "dist/model-*.js",
"brotli": false,
"limit": "480 KB"
"limit": "485 KB"
}
]
13 changes: 13 additions & 0 deletions eslint.config.js
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
import loguxTsConfig from '@logux/eslint-config/ts'

/** @type {import('eslint').Linter.FlatConfig[]} */
export default [
{ ignores: ['dist/'] },
...loguxTsConfig,
{
files: ['**/worker.ts'],
rules: {
'import/extensions': 'off'
}
}
]
35 changes: 13 additions & 22 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -19,45 +19,36 @@
"test": "FORCE_COLOR=1 pnpm run /^test:/"
},
"dependencies": {
"@csstools/postcss-oklab-function": "^3.0.9",
"@nanostores/persistent": "^0.9.1",
"autoprefixer": "^10.4.17",
"@csstools/postcss-oklab-function": "^3.0.10",
"@nanostores/persistent": "^0.10.1",
"autoprefixer": "^10.4.18",
"culori": "^4.0.1",
"delaunator": "^5.0.1",
"jstransformer-markdown-it": "^3.0.0",
"nanodelay": "^2.0.2",
"nanostores": "^0.9.5",
"nanostores": "^0.10.0",
"plausible-tracker": "^0.3.8",
"postcss": "^8.4.33",
"postcss": "^8.4.35",
"postcss-media-minmax": "^5.0.0",
"postcss-mixins": "^9.0.4",
"postcss-nesting": "^12.0.2",
"postcss-nesting": "^12.0.4",
"postcss-opacity-percentage": "^2.0.0",
"three": "~0.160.1",
"vite": "^5.0.12",
"three": "~0.162.0",
"vite": "^5.1.4",
"vite-plugin-pug-transformer": "^1.0.5"
},
"devDependencies": {
"@logux/eslint-config": "^52.0.2",
"@logux/eslint-config": "^53.0.0",
"@logux/stylelint-config": "^0.18.0",
"@size-limit/file": "^11.0.2",
"@types/culori": "^2.0.4",
"@types/culori": "^2.1.0",
"@types/delaunator": "^5.0.2",
"@types/three": "^0.160.0",
"@typescript-eslint/eslint-plugin": "^6.19.1",
"@typescript-eslint/parser": "^6.19.1",
"eslint": "^8.56.0",
"eslint-config-standard": "^17.1.0",
"eslint-plugin-import": "^2.29.1",
"eslint-plugin-n": "^16.6.2",
"eslint-plugin-node-import": "^1.0.4",
"eslint-plugin-perfectionist": "^2.5.0",
"eslint-plugin-prefer-let": "^3.0.1",
"eslint-plugin-promise": "^6.1.1",
"@types/three": "^0.162.0",
"eslint": "^8.57.0",
"nano-staged": "^0.8.0",
"simple-git-hooks": "^2.9.0",
"size-limit": "^11.0.2",
"stylelint": "^16.2.0",
"stylelint": "^16.2.1",
"svgo": "^3.2.0",
"typescript": "^5.3.3"
},
Expand Down
Loading

0 comments on commit 126a631

Please sign in to comment.