Skip to content

Commit

Permalink
chore: update to new ESLint configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
bludnic committed Aug 29, 2024
1 parent 67cb2a6 commit a725e76
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 8 deletions.
2 changes: 0 additions & 2 deletions .eslintignore

This file was deleted.

7 changes: 3 additions & 4 deletions .eslintrc.cjs → eslint.config.cjs
Original file line number Diff line number Diff line change
@@ -1,9 +1,7 @@
/* eslint-env node */
require('@rushstack/eslint-patch/modern-module-resolution')

/** @type import('eslint').Linter.Config **/
module.exports = {
root: true,
files: ['*.ts', '*.js', '*.vue'],
env: {
browser: true,
node: true,
Expand Down Expand Up @@ -51,5 +49,6 @@ module.exports = {
typescript: true,
node: true
}
}
},
ignores: ['tests/', '__tests__/']
}
3 changes: 1 addition & 2 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
"wallets:data:generate": "node scripts/wallets.mjs",
"wallets:types:generate": "swagger-typescript-api -p ./adamant-wallets/specification/openapi.json -o ./src/types/wallets -n index.ts --no-client",
"build": "vue-tsc && vite build --config vite-pwa.config.ts",
"lint": "eslint --ext .ts,.js,.vue --fix ./src",
"lint": "eslint --fix ./src",
"prettify": "prettier --write src/",
"typecheck": "vue-tsc --noEmit",
"schema:generate": "node scripts/adamant-schema/generate.mjs",
Expand Down Expand Up @@ -122,7 +122,6 @@
"@openapitools/openapi-generator-cli": "^2.13.5",
"@rollup/plugin-commonjs": "^26.0.1",
"@rollup/plugin-inject": "^5.0.5",
"@rushstack/eslint-patch": "^1.10.4",
"@types/core-js": "^2.5.8",
"@types/dompurify": "^3.0.5",
"@types/emoji-mart": "^3.0.14",
Expand Down

0 comments on commit a725e76

Please sign in to comment.