@massimo-cassandro/stylelint-config 2.3.3 → 2.3.4

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/index.js +2 -25
  2. package/package.json +3 -3
package/index.js CHANGED
@@ -155,37 +155,14 @@ export default {
155
155
  },
156
156
  {
157
157
  files: ['**/*.module.scss', '**/*.module.css'],
158
- plugins: ['stylelint-scss'],
159
- extends: [
160
- 'stylelint-config-css-modules',
161
- 'stylelint-config-standard-scss',
162
- 'stylelint-config-recess-order'
163
- ],
158
+ extends: ['stylelint-config-css-modules'],
164
159
  rules: {
165
160
  'selector-class-pattern': [
166
161
  '^[a-z]+(_?[A-Z]?[a-z0-9]*)*$',
167
162
  {
168
- // intero selettore :global(...) o blocco :global senza parentesi
169
- ignoreSelectors: [
170
- /^:global\(.*\)$/, // es. :global(.MyClass)
171
- /^:global$/ // es. :global usato come blocco
172
- ],
163
+ ignoreSelectors: [/:global/], // non funziona
173
164
  resolveNestedSelectors: true
174
165
  }
175
- ],
176
-
177
- 'no-invalid-position-at-import-rule': null,
178
- 'at-rule-no-unknown': null, // disabilita regola base per evitare conflitti
179
- 'scss/at-rule-no-unknown': [
180
- true,
181
- {
182
- ignoreAtRules: [
183
- ...tailwindAtRules,
184
- ...postCSSRules,
185
- 'extend', 'include', 'if', 'else', 'function', 'at-root',
186
- 'use', 'forward', 'each', 'while', 'for', 'error', 'warn', 'debug', 'return'
187
- ]
188
- }
189
166
  ]
190
167
  }
191
168
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@massimo-cassandro/stylelint-config",
3
- "version": "2.3.3",
3
+ "version": "2.3.4",
4
4
  "description": "my stylelint config",
5
5
  "author": "Massimo Cassandro",
6
6
  "license": "MIT",
@@ -33,8 +33,8 @@
33
33
  "devDependencies": {
34
34
  "@eslint/js": "^10.0.1",
35
35
  "@massimo-cassandro/dev-updater": "^3.0.2",
36
- "@massimo-cassandro/eslint-config": "^3.0.3",
37
- "eslint": "^10.1.0",
36
+ "@massimo-cassandro/eslint-config": "^3.0.4",
37
+ "eslint": "^10.2.0",
38
38
  "globals": "^17.4.0"
39
39
  },
40
40
  "dependencies": {