mirror of
https://github.com/Fechin/reference.git
synced 2026-12-03 10:00:35 +03:00
feat: modernize development toolchain
- Add comprehensive development tooling: * ESLint configuration with modern JavaScript rules * Prettier for consistent code formatting * Husky for Git hooks automation * lint-staged for pre-commit checks * Conventional Commits with commitlint * Stylelint for CSS code quality - Fix CSS issues: * Resolve duplicate selectors in layout_note.css * Merge duplicate selectors in layout_list.css * Ensure stylelint compliance - Apply consistent code formatting: * Format all JavaScript, CSS, and Markdown files * Standardize code style across the project * Fix console statement warnings in main.js - Update project documentation: * Enhance README with modern development practices * Update package.json with new scripts and dependencies This modernization establishes a robust development environment with automated code quality checks, consistent formatting~
This commit is contained in:
1 parent
a2a26f618c
commit
172342c8a3
78 files changed
+14986
-3626
No files matched your search
+21
-21
@@ -213,12 +213,12 @@ Begins with `[` and ends with `]`
|
||||
|
||||
```javascript
|
||||
let myObject = {
|
||||
name: "Jason",
|
||||
last: "Doe",
|
||||
name: 'Jason',
|
||||
last: 'Doe',
|
||||
age: 39,
|
||||
gender: "M",
|
||||
gender: 'M',
|
||||
salary: 70000,
|
||||
married: true,
|
||||
married: true
|
||||
};
|
||||
```
|
||||
|
||||
@@ -242,10 +242,10 @@ let myObject = {
|
||||
age: 2,
|
||||
gender: 3,
|
||||
salary: 4,
|
||||
married: 5,
|
||||
married: 5
|
||||
},
|
||||
jdoe: ["Jason", "Doe", 39, "M", 70000, true],
|
||||
jsmith: ["Tom", "Smith", 42, "F", 80000, true],
|
||||
jdoe: ['Jason', 'Doe', 39, 'M', 70000, true],
|
||||
jsmith: ['Tom', 'Smith', 42, 'F', 80000, true]
|
||||
};
|
||||
```
|
||||
|
||||
@@ -264,29 +264,29 @@ let myObject = {
|
||||
```javascript
|
||||
let myArray = [
|
||||
{
|
||||
name: "Jason",
|
||||
last: "Doe",
|
||||
name: 'Jason',
|
||||
last: 'Doe',
|
||||
age: 39,
|
||||
gender: "M",
|
||||
gender: 'M',
|
||||
salary: 70000,
|
||||
married: true,
|
||||
married: true
|
||||
},
|
||||
{
|
||||
name: "Tom",
|
||||
last: "Smith",
|
||||
name: 'Tom',
|
||||
last: 'Smith',
|
||||
age: 42,
|
||||
gender: "F",
|
||||
gender: 'F',
|
||||
salary: 80000,
|
||||
married: true,
|
||||
married: true
|
||||
},
|
||||
{
|
||||
name: "Amy",
|
||||
last: "Burnquist",
|
||||
name: 'Amy',
|
||||
last: 'Burnquist',
|
||||
age: 29,
|
||||
gender: "F",
|
||||
gender: 'F',
|
||||
salary: 60000,
|
||||
married: false,
|
||||
},
|
||||
married: false
|
||||
}
|
||||
];
|
||||
```
|
||||
|
||||
@@ -303,7 +303,7 @@ let myArray = [
|
||||
### Access Array
|
||||
|
||||
```javascript
|
||||
let myArray = ["Jason", "Doe", 39, "M", 70000, true];
|
||||
let myArray = ['Jason', 'Doe', 39, 'M', 70000, true];
|
||||
```
|
||||
|
||||
---
|
||||
|
||||
Reference in new issue
Block a user