eslint-config-aether
Advanced tools
Comparing version 1.5.1 to 1.5.2
module.exports = { | ||
"extends": "eslint:recommended", | ||
"env": { | ||
"es2022": true, | ||
"es2024": true, | ||
"browser": true, | ||
@@ -27,3 +27,3 @@ "worker": true, | ||
"curly": "error", | ||
"dot-notation": "error", | ||
"dot-notation": "warn", | ||
"eol-last": ["error", "always"], | ||
@@ -87,3 +87,3 @@ "eqeqeq": "error", | ||
"object-curly-spacing": ["error", "always"], | ||
"padded-blocks": ["error", "always", { | ||
"padded-blocks": ["warn", "always", { | ||
"allowSingleLineBlocks": true | ||
@@ -90,0 +90,0 @@ }], |
{ | ||
"name": "eslint-config-aether", | ||
"version": "1.5.1", | ||
"version": "1.5.2", | ||
"description": "A custom code style for ESLint.", | ||
@@ -5,0 +5,0 @@ "homepage": "https://github.com/vanruesc/eslint-config-aether", |
@@ -16,2 +16,6 @@ module.exports = require("./typescript-basic.js"); | ||
{ | ||
"selector": ["import"], | ||
"format": ["camelCase", "PascalCase"] | ||
}, | ||
{ | ||
"selector": ["variable", "accessor"], | ||
@@ -32,4 +36,4 @@ "format": ["camelCase", "UPPER_CASE"] | ||
{ | ||
selector: "typeLike", | ||
format: ["PascalCase"] | ||
"selector": "typeLike", | ||
"format": ["PascalCase"] | ||
}, | ||
@@ -45,7 +49,7 @@ { | ||
{ | ||
selector: "interface", | ||
format: ["PascalCase"], | ||
custom: { | ||
regex: "^I[A-Z]", | ||
match: false | ||
"selector": "interface", | ||
"format": ["PascalCase"], | ||
"custom": { | ||
"regex": "^I[A-Z]", | ||
"match": false | ||
} | ||
@@ -52,0 +56,0 @@ } |
7993
182