Skip to content
This repository has been archived by the owner on Jun 24, 2024. It is now read-only.

Commit

Permalink
style: convert tabs to spaces
Browse files Browse the repository at this point in the history
  • Loading branch information
anirudh2 committed Mar 21, 2024
1 parent dc27b5f commit f9e1fbe
Show file tree
Hide file tree
Showing 49 changed files with 7,838 additions and 7,838 deletions.
44 changes: 22 additions & 22 deletions .eslintrc.json
Original file line number Diff line number Diff line change
@@ -1,24 +1,24 @@
{
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "import",
"format": ["camelCase", "PascalCase"]
}
],
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
"root": true,
"parser": "@typescript-eslint/parser",
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"plugins": ["@typescript-eslint"],
"rules": {
"@typescript-eslint/naming-convention": [
"warn",
{
"selector": "import",
"format": ["camelCase", "PascalCase"]
}
],
"@typescript-eslint/semi": "warn",
"curly": "warn",
"eqeqeq": "warn",
"no-throw-literal": "warn",
"semi": "off"
},
"ignorePatterns": ["out", "dist", "**/*.d.ts"]
}
8 changes: 4 additions & 4 deletions .lintstagedrc.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"*.ts": ["eslint", "prettier --write"],
"*.js": ["eslint", "prettier --write"],
"*.css": "prettier --write",
"*.json": "prettier --write"
"*.ts": ["eslint", "prettier --write"],
"*.js": ["eslint", "prettier --write"],
"*.css": "prettier --write",
"*.json": "prettier --write"
}
10 changes: 5 additions & 5 deletions .prettierrc
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"useTabs": true,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"endOfLine": "auto"
"useTabs": false,
"singleQuote": true,
"trailingComma": "none",
"printWidth": 100,
"endOfLine": "auto"
}
2 changes: 1 addition & 1 deletion .vscode-test.mjs
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import { defineConfig } from '@vscode/test-cli';

export default defineConfig({
files: 'out/test/**/*.test.js'
files: 'out/test/**/*.test.js'
});
14 changes: 7 additions & 7 deletions .vscode/extensions.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"amodio.tsl-problem-matcher",
"ms-vscode.extension-test-runner"
]
// See http://go.microsoft.com/fwlink/?LinkId=827846
// for the documentation about the extensions.json format
"recommendations": [
"dbaeumer.vscode-eslint",
"amodio.tsl-problem-matcher",
"ms-vscode.extension-test-runner"
]
}
22 changes: 11 additions & 11 deletions .vscode/launch.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
{
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--disable-extensions"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]
"version": "0.2.0",
"configurations": [
{
"name": "Run Extension",
"type": "extensionHost",
"request": "launch",
"args": ["--extensionDevelopmentPath=${workspaceFolder}", "--disable-extensions"],
"outFiles": ["${workspaceFolder}/dist/**/*.js"],
"preLaunchTask": "${defaultBuildTask}"
}
]
}
24 changes: 12 additions & 12 deletions .vscode/settings.json
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
// Place your settings in this file to overwrite default and user settings.
{
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"files.trimTrailingWhitespace": true,
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
"files.exclude": {
"out": false, // set this to true to hide the "out" folder with the compiled JS files
"dist": false // set this to true to hide the "dist" folder with the compiled JS files
},
"search.exclude": {
"out": true, // set this to false to include "out" folder in search results
"dist": true // set this to false to include "dist" folder in search results
},
// Turn off tsc task auto detection since we have the necessary tasks as npm scripts
"typescript.tsc.autoDetect": "off",
"files.trimTrailingWhitespace": true,
"typescript.tsdk": "./node_modules/typescript/lib" // we want to use the TS server from our node_modules folder to control its version
}
66 changes: 33 additions & 33 deletions .vscode/tasks.json
Original file line number Diff line number Diff line change
@@ -1,37 +1,37 @@
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
{
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$ts-webpack-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": ["npm: watch", "npm: watch-tests"],
"problemMatcher": []
}
]
"version": "2.0.0",
"tasks": [
{
"type": "npm",
"script": "watch",
"problemMatcher": "$ts-webpack-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": {
"kind": "build",
"isDefault": true
}
},
{
"type": "npm",
"script": "watch-tests",
"problemMatcher": "$tsc-watch",
"isBackground": true,
"presentation": {
"reveal": "never",
"group": "watchers"
},
"group": "build"
},
{
"label": "tasks: watch-tests",
"dependsOn": ["npm: watch", "npm: watch-tests"],
"problemMatcher": []
}
]
}
128 changes: 64 additions & 64 deletions common.release.config.js
Original file line number Diff line number Diff line change
@@ -1,67 +1,67 @@
// common.release.config.js
module.exports = {
plugins: [
[
'@semantic-release/commit-analyzer',
{
releaseRules: [
{
type: 'perf',
release: 'patch'
},
{
type: 'refactor',
release: 'patch'
},
{
type: 'build',
scope: 'deps',
release: 'patch'
}
]
}
],
[
'@semantic-release/release-notes-generator',
{
presetConfig: {
types: [
{
type: 'feat',
section: 'Features'
},
{
type: 'fix',
section: 'Bug Fixes'
},
{
type: 'perf',
section: 'Performance Improvements'
},
{
type: 'revert',
section: 'Reverts'
},
{
type: 'refactor',
section: 'Code Refactoring'
},
{
type: 'build',
scope: 'deps',
section: 'Dependencies'
}
]
}
}
],
[
'@semantic-release/changelog',
{
changelogTitle: '# Changelog'
}
]
],
branches: ['main'],
preset: 'conventionalcommits'
plugins: [
[
'@semantic-release/commit-analyzer',
{
releaseRules: [
{
type: 'perf',
release: 'patch'
},
{
type: 'refactor',
release: 'patch'
},
{
type: 'build',
scope: 'deps',
release: 'patch'
}
]
}
],
[
'@semantic-release/release-notes-generator',
{
presetConfig: {
types: [
{
type: 'feat',
section: 'Features'
},
{
type: 'fix',
section: 'Bug Fixes'
},
{
type: 'perf',
section: 'Performance Improvements'
},
{
type: 'revert',
section: 'Reverts'
},
{
type: 'refactor',
section: 'Code Refactoring'
},
{
type: 'build',
scope: 'deps',
section: 'Dependencies'
}
]
}
}
],
[
'@semantic-release/changelog',
{
changelogTitle: '# Changelog'
}
]
],
branches: ['main'],
preset: 'conventionalcommits'
};
Loading

0 comments on commit f9e1fbe

Please sign in to comment.