Skip to content

Commit

Permalink
Add quote-props rule (#22)
Browse files Browse the repository at this point in the history
  • Loading branch information
dekpient authored Feb 18, 2024
1 parent 4c11c2a commit 5fb4973
Show file tree
Hide file tree
Showing 7 changed files with 36 additions and 26 deletions.
2 changes: 1 addition & 1 deletion .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ jobs:
build:
working_directory: ~/eslint-config-spoke
docker:
- image: cimg/node:18.18
- image: cimg/node:20.11
steps:
- checkout
- run:
Expand Down
2 changes: 1 addition & 1 deletion .node-version
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.2
20.11.0
2 changes: 1 addition & 1 deletion .nvmrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
18.18.2
20.11.0
11 changes: 10 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,14 @@ This repository adheres to semantic versioning and follows the conventions of [k

## [Unreleased]

## [2.2.0] - 2024-02-18
### Added
- `quote-props` rule

### Changed
- Upgrade Node to 20
- Upgrade eslint 8.55.0 → 8.56.0

## [2.1.0] - 2023-12-13
### Changed
- Modify `@typescript-eslint/naming-convention` rule to allow importing PascalCase names
Expand Down Expand Up @@ -119,7 +127,8 @@ This repository adheres to semantic versioning and follows the conventions of [k
- `babel`, `common`, `flow`, `mocha`, `node` and `typecript` Configs
- `common`, `flowService` and `typescriptService` Presets

[Unreleased]: https://github.com/spoke-ph/eslint-config-spoke/compare/v2.1.0...HEAD
[Unreleased]: https://github.com/spoke-ph/eslint-config-spoke/compare/v2.2.0...HEAD
[2.2.0]: https://github.com/spoke-ph/eslint-config-spoke/compare/v2.1.0...v2.2.0
[2.1.0]: https://github.com/spoke-ph/eslint-config-spoke/compare/v2.0.0...v2.1.0
[2.0.0]: https://github.com/spoke-ph/eslint-config-spoke/compare/v1.3.0...v2.0.0
[1.3.0]: https://github.com/spoke-ph/eslint-config-spoke/compare/v1.2.0...v1.3.0
Expand Down
7 changes: 4 additions & 3 deletions configs/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ module.exports = {
quotes: [
"error",
"double",
{ "allowTemplateLiterals": true }
{ allowTemplateLiterals: true }
],
semi: [
"error",
Expand Down Expand Up @@ -63,7 +63,8 @@ module.exports = {
}],
"simple-import-sort/imports": "error",
"no-whitespace-before-property": "error",
"curly": ["error"],
"space-infix-ops": "error"
curly: ["error"],
"space-infix-ops": "error",
"quote-props": ["error", "as-needed"]
}
};
34 changes: 17 additions & 17 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "eslint-config-spoke",
"version": "2.1.0",
"version": "2.2.0",
"description": "Spoke's ESLint config",
"license": "Unlicense",
"author": {
Expand All @@ -25,7 +25,7 @@
"version": "echo $npm_package_version"
},
"devDependencies": {
"eslint": "8.55.0",
"eslint": "8.56.0",
"@spoke-ph/changelog": "1.5.0"
},
"peerDependencies": {
Expand Down

0 comments on commit 5fb4973

Please sign in to comment.