Skip to content

Commit 439dbe1

Browse files
committed
Initialize Magento Developer Tools extension with basic configuration and structure
1 parent a6130e5 commit 439dbe1

13 files changed

+4908
-1
lines changed

.eslintrc.yml

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
root: true
2+
parser: '@typescript-eslint/parser'
3+
parserOptions:
4+
project: './tsconfig.json'
5+
plugins:
6+
- '@typescript-eslint'
7+
extends:
8+
- eslint:recommended
9+
- plugin:@typescript-eslint/recommended
10+
env:
11+
node: true
12+
es2022: true
13+
rules:
14+
'@typescript-eslint/no-unsafe-member-access': 'off'

.gitignore

+20
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,20 @@
1+
# Node.js
2+
node_modules/
3+
npm-debug.log*
4+
yarn-debug.log*
5+
yarn-error.log*
6+
7+
# Logs
8+
logs/
9+
*.log
10+
11+
# VS Code
12+
.vscode/
13+
14+
# Build directories
15+
dist/
16+
build/
17+
18+
# Miscellaneous
19+
.DS_Store
20+
Thumbs.db

.vscode-test.mjs

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
import { defineConfig } from '@vscode/test-cli';
2+
3+
export default defineConfig({
4+
files: 'out/test/**/*.test.js',
5+
});

.vscodeignore

+14
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
.vscode/**
2+
.vscode-test/**
3+
out/**
4+
node_modules/**
5+
src/**
6+
.gitignore
7+
.yarnrc
8+
webpack.config.js
9+
vsc-extension-quickstart.md
10+
**/tsconfig.json
11+
**/eslint.config.mjs
12+
**/*.map
13+
**/*.ts
14+
**/.vscode-test.*

CHANGELOG.md

+8
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,8 @@
1+
# Change Log
2+
3+
All notable changes to the "magento-developer-tools" extension will be documented in this file.
4+
5+
## [Unreleased]
6+
7+
- Initial release
8+

README.md

+19-1
Original file line numberDiff line numberDiff line change
@@ -1 +1,19 @@
1-
# vscode-ext-magento-developer-tools
1+
# vscode-ext-magento-developer-tools
2+
3+
[![Codacy Badge](https://app.codacy.com/project/badge/Grade/57cab94f47a946edb046d9a18c37a767)](https://app.codacy.com/gh/OpenForgeProject/vscode-ext-magento-developer-tools/dashboard?utm_source=gh&utm_medium=referral&utm_content=&utm_campaign=Badge_grade)
4+
5+
## Description
6+
A set of developer tools for Magento integrated with VSCode.
7+
8+
## Usage
9+
1. Install the extension from the VSCode marketplace.
10+
2. Open your Magento project in VSCode.
11+
3. Use the provided commands and tools to enhance your development workflow.
12+
13+
## Features
14+
15+
## Contributing
16+
Contributions are welcome! Please submit a pull request or open an issue to discuss your ideas.
17+
18+
## License
19+
This project is licensed under the Apache 2 License.

eslint.config.mjs

+28
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
import typescriptEslint from "@typescript-eslint/eslint-plugin";
2+
import tsParser from "@typescript-eslint/parser";
3+
4+
export default [{
5+
files: ["**/*.ts"],
6+
}, {
7+
plugins: {
8+
"@typescript-eslint": typescriptEslint,
9+
},
10+
11+
languageOptions: {
12+
parser: tsParser,
13+
ecmaVersion: 2022,
14+
sourceType: "module",
15+
},
16+
17+
rules: {
18+
"@typescript-eslint/naming-convention": ["warn", {
19+
selector: "import",
20+
format: ["camelCase", "PascalCase"],
21+
}],
22+
23+
curly: "warn",
24+
eqeqeq: "warn",
25+
"no-throw-literal": "warn",
26+
semi: "warn",
27+
},
28+
}];

0 commit comments

Comments
 (0)