Skip to content

Commit

Permalink
feat: preettier and eslint update
Browse files Browse the repository at this point in the history
  • Loading branch information
adarshsingh87 committed Dec 16, 2024
1 parent 85a8c7b commit fedf30d
Show file tree
Hide file tree
Showing 4 changed files with 2,256 additions and 1,745 deletions.
37 changes: 18 additions & 19 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,21 +1,20 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": [
"@typescript-eslint"
],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended"
],
"rules": {
"no-unused-vars": "off",
"camelcase": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/camelcase": "off"
},
env: {
node: true
}
"root": true,
"parser": "@typescript-eslint/parser",
"plugins": ["@typescript-eslint"],
"extends": [
"eslint:recommended",
"plugin:@typescript-eslint/eslint-recommended",
"plugin:@typescript-eslint/recommended",
"prettier"
],
"rules": {
"no-unused-vars": "off",
"camelcase": "off",
"@typescript-eslint/no-unused-vars": "error",
"@typescript-eslint/camelcase": "off"
},
"env": {
"node": true
}
}
22 changes: 18 additions & 4 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,21 @@
{
"trailingComma": "es5",
"arrowParens": "always",
"bracketSameLine": false,
"bracketSpacing": true,
"semi": false,
"experimentalTernaries": true,
"singleQuote": true,
"jsxSingleQuote": true,
"quoteProps": "as-needed",
"trailingComma": "none",
"singleAttributePerLine": false,
"htmlWhitespaceSensitivity": "css",
"vueIndentScriptAndStyle": false,
"proseWrap": "preserve",
"insertPragma": false,
"printWidth": 80,
"requirePragma": false,
"tabWidth": 2,
"semi": true,
"singleQuote": false,
"printWidth": 80
"useTabs": true,
"embeddedLanguageFormatting": "auto"
}
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -69,6 +69,7 @@
"c8": "^9.1.0",
"chai": "^4.4.1",
"eslint": "^8.57.0",
"eslint-config-prettier": "^9.1.0",
"mocha": "^10.3.0",
"nodemon": "^3.1.0",
"prettier": "^3.2.5",
Expand Down
Loading

0 comments on commit fedf30d

Please sign in to comment.