@gossi/config-eslint
Advanced tools
Comparing version 0.6.0 to 0.7.0
@@ -53,3 +53,8 @@ /** | ||
leadingUnderscore: 'allow' | ||
}, | ||
{ | ||
selector: 'classProperty', | ||
format: ['UPPER_CASE'], | ||
modifiers: ['static'] | ||
} | ||
]; |
@@ -10,8 +10,17 @@ /** | ||
module.exports = (rules) => [ | ||
...rules, | ||
...rules.filter( | ||
// let's filter out property as we are overwriting it below | ||
// and anyway both options would be present but the first one would take precedence | ||
(option) => option.selector !== 'property' | ||
), | ||
{ | ||
selector: 'property', | ||
format: ['camelCase', 'PascalCase'] | ||
}, | ||
{ | ||
selector: 'property', | ||
format: ['StrictPascalCase'], | ||
filter: { | ||
regex: 'Resolver|Router', | ||
regex: '^(Resolver|Router)$', | ||
match: true | ||
@@ -39,3 +48,3 @@ } | ||
filter: { | ||
regex: 'Element|Args|Blocks|Return|Positional|Named', | ||
regex: '^(Element|Args|Blocks|Return|Positional|Named)$', | ||
match: true | ||
@@ -42,0 +51,0 @@ } |
{ | ||
"name": "@gossi/config-eslint", | ||
"version": "0.6.0", | ||
"version": "0.7.0", | ||
"repository": "https://github.com/gossi/frontend-configs", | ||
"dependencies": { | ||
"cosmiconfig": "^8.2.0", | ||
"cosmiconfig": "^9.0.0", | ||
"eslint-config-prettier": "^8.10.0", | ||
"eslint-plugin-decorator-position": "^5.0.2", | ||
"eslint-plugin-i": "^2.28.0-2", | ||
"eslint-import-resolver-typescript": "^3.6.0", | ||
"eslint-plugin-i": "^2.29.1", | ||
"eslint-import-resolver-typescript": "^3.6.1", | ||
"eslint-plugin-json": "^3.1.0", | ||
"eslint-plugin-n": "^16.0.1", | ||
"eslint-plugin-prettier": "^5.0.0", | ||
"eslint-plugin-n": "^16.6.2", | ||
"eslint-plugin-prettier": "^5.1.3", | ||
"eslint-plugin-simple-import-sort": "^10.0.0" | ||
@@ -50,17 +50,17 @@ }, | ||
"devDependencies": { | ||
"@babel/core": "^7.22.10", | ||
"@babel/eslint-parser": "^7.22.10", | ||
"@babel/preset-env": "^7.22.10", | ||
"@tsconfig/node18": "^18.2.0", | ||
"@tsconfig/strictest": "^2.0.1", | ||
"@types/node": "^20.4.8", | ||
"@babel/core": "^7.23.9", | ||
"@babel/eslint-parser": "^7.23.10", | ||
"@babel/preset-env": "^7.23.9", | ||
"@tsconfig/node18": "^18.2.2", | ||
"@tsconfig/strictest": "^2.0.2", | ||
"@types/node": "^20.11.16", | ||
"@typescript-eslint/eslint-plugin": "^5.62.0", | ||
"@typescript-eslint/parser": "^5.62.0", | ||
"eslint": "^8.46.0", | ||
"eslint-plugin-ember": "^11.10.0", | ||
"eslint-plugin-import": "^2.28.0", | ||
"eslint": "^8.56.0", | ||
"eslint-plugin-ember": "^11.12.0", | ||
"eslint-plugin-import": "^2.29.1", | ||
"eslint-plugin-qunit": "^7.3.4", | ||
"eslint-plugin-storybook": "^0.6.13", | ||
"prettier": "^3.0.1", | ||
"typescript": "^5.1.6" | ||
"eslint-plugin-storybook": "^0.6.15", | ||
"prettier": "^3.2.5", | ||
"typescript": "^5.3.3" | ||
}, | ||
@@ -67,0 +67,0 @@ "engines": { |
51288
1605
+ Addedcaniuse-lite@1.0.30001655(transitive)
+ Addedcosmiconfig@9.0.0(transitive)
+ Addeddebug@4.3.6(transitive)
+ Addedelectron-to-chromium@1.5.13(transitive)
+ Addedenv-paths@2.2.1(transitive)
+ Addedeslint-module-utils@2.8.2(transitive)
+ Addedis-bun-module@1.1.0(transitive)
+ Addedms@2.1.2(transitive)
+ Addedpicocolors@1.0.1(transitive)
+ Addedsource-map-js@1.2.0(transitive)
+ Addedtypescript@5.5.4(transitive)
- Removedcaniuse-lite@1.0.30001659(transitive)
- Removedcosmiconfig@8.3.6(transitive)
- Removeddebug@4.3.7(transitive)
- Removedelectron-to-chromium@1.5.18(transitive)
- Removedeslint-module-utils@2.11.0(transitive)
- Removedis-bun-module@1.2.1(transitive)
- Removedms@2.1.3(transitive)
- Removedpicocolors@1.1.0(transitive)
- Removedsource-map-js@1.2.1(transitive)
- Removedtypescript@5.6.2(transitive)
Updatedcosmiconfig@^9.0.0
Updatedeslint-plugin-i@^2.29.1
Updatedeslint-plugin-n@^16.6.2