Skip to content

Commit

Permalink
Revert "chore: update to new ESLint configuration"
Browse files Browse the repository at this point in the history
This reverts commit a725e76.
  • Loading branch information
bludnic committed Aug 29, 2024
1 parent a725e76 commit e7af5af
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
2 changes: 2 additions & 0 deletions .eslintignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,2 @@
tests/
__tests__/
7 changes: 4 additions & 3 deletions eslint.config.cjs → .eslintrc.cjs
Original file line number Diff line number Diff line change
@@ -1,7 +1,9 @@
/* 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 @@ -49,6 +51,5 @@ module.exports = {
typescript: true,
node: true
}
},
ignores: ['tests/', '__tests__/']
}
}
3 changes: 2 additions & 1 deletion 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 --fix ./src",
"lint": "eslint --ext .ts,.js,.vue --fix ./src",
"prettify": "prettier --write src/",
"typecheck": "vue-tsc --noEmit",
"schema:generate": "node scripts/adamant-schema/generate.mjs",
Expand Down Expand Up @@ -122,6 +122,7 @@
"@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 e7af5af

Please sign in to comment.