@atlaskit/eslint-plugin-ui-styling-standard 0.15.0 → 0.15.2

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 (56) hide show
  1. package/CHANGELOG.md +189 -172
  2. package/constellation/atlaskit-theme/usage.mdx +17 -17
  3. package/constellation/convert-props-syntax/usage.mdx +14 -14
  4. package/constellation/enforce-style-prop/usage.mdx +17 -17
  5. package/constellation/index/overview.mdx +70 -70
  6. package/constellation/local-cx-xcss/usage.mdx +4 -4
  7. package/constellation/no-array-arguments/usage.mdx +7 -7
  8. package/constellation/no-container-queries/usage.mdx +14 -14
  9. package/constellation/no-dynamic-styles/usage.mdx +19 -19
  10. package/constellation/no-exported-styles/usage.mdx +15 -15
  11. package/constellation/no-global-styles/usage.mdx +13 -13
  12. package/constellation/no-important-styles/usage.mdx +2 -2
  13. package/constellation/no-imported-style-values/usage.mdx +16 -16
  14. package/constellation/no-nested-selectors/usage.mdx +18 -18
  15. package/constellation/no-styled/usage.mdx +6 -6
  16. package/constellation/no-unsafe-selectors/usage.mdx +90 -90
  17. package/constellation/no-unsafe-values/usage.mdx +33 -33
  18. package/dist/cjs/index.codegen.js +1 -1
  19. package/dist/cjs/presets/all.codegen.js +1 -1
  20. package/dist/cjs/presets/recommended.codegen.js +1 -1
  21. package/dist/cjs/rules/index.codegen.js +1 -1
  22. package/dist/cjs/rules/no-nested-selectors/index.js +68 -49
  23. package/dist/cjs/rules/no-unsafe-selectors/index.js +4 -1
  24. package/dist/cjs/rules/no-unsafe-selectors/lint-selector.js +10 -1
  25. package/dist/es2019/index.codegen.js +1 -1
  26. package/dist/es2019/presets/all.codegen.js +1 -1
  27. package/dist/es2019/presets/recommended.codegen.js +1 -1
  28. package/dist/es2019/rules/index.codegen.js +1 -1
  29. package/dist/es2019/rules/no-nested-selectors/index.js +63 -45
  30. package/dist/es2019/rules/no-unsafe-selectors/index.js +4 -1
  31. package/dist/es2019/rules/no-unsafe-selectors/lint-selector.js +10 -1
  32. package/dist/esm/index.codegen.js +1 -1
  33. package/dist/esm/presets/all.codegen.js +1 -1
  34. package/dist/esm/presets/recommended.codegen.js +1 -1
  35. package/dist/esm/rules/index.codegen.js +1 -1
  36. package/dist/esm/rules/no-nested-selectors/index.js +64 -49
  37. package/dist/esm/rules/no-unsafe-selectors/index.js +4 -1
  38. package/dist/esm/rules/no-unsafe-selectors/lint-selector.js +10 -1
  39. package/dist/types/presets/all.codegen.d.ts +1 -1
  40. package/dist/types/presets/recommended.codegen.d.ts +1 -1
  41. package/dist/types/rules/no-unsafe-selectors/lint-selector.d.ts +1 -0
  42. package/dist/types-ts4.5/presets/all.codegen.d.ts +1 -1
  43. package/dist/types-ts4.5/presets/recommended.codegen.d.ts +1 -1
  44. package/dist/types-ts4.5/rules/no-unsafe-selectors/lint-selector.d.ts +1 -0
  45. package/package.json +2 -4
  46. package/src/index.codegen.tsx +3 -3
  47. package/src/presets/all.codegen.tsx +70 -73
  48. package/src/presets/recommended.codegen.tsx +70 -73
  49. package/src/rules/index.codegen.tsx +18 -18
  50. package/src/rules/no-nested-selectors/__tests__/rule.test.tsx +93 -56
  51. package/src/rules/no-nested-selectors/index.tsx +92 -105
  52. package/src/rules/no-unsafe-selectors/__tests__/no-ambiguous-pseudos.test.tsx +211 -201
  53. package/src/rules/no-unsafe-selectors/index.tsx +174 -177
  54. package/src/rules/no-unsafe-selectors/lint-selector.tsx +128 -141
  55. package/tsconfig.app.json +45 -45
  56. package/tsconfig.dev.json +43 -43
package/tsconfig.app.json CHANGED
@@ -1,47 +1,47 @@
1
1
  {
2
- "extends": "../../../tsconfig.node.json",
3
- "include": ["./src/**/*.ts", "./src/**/*.tsx"],
4
- "exclude": [
5
- "**/docs/**/*",
6
- "**/__tests__/**/*",
7
- "**/vr-tests/**/*",
8
- "**/__perf__/**/*",
9
- "**/*.test.*",
10
- "**/test.*",
11
- "**/test-*",
12
- "**/examples.ts",
13
- "**/examples.tsx",
14
- "**/examples/*.ts",
15
- "**/examples/*.tsx",
16
- "**/examples/**/*.ts",
17
- "**/examples/**/*.tsx",
18
- "**/storybook/**/*",
19
- "**/constellation/**/*",
20
- ".storybook/*",
21
- "./__fixtures__/**/*",
22
- "./__generated__/**/*",
23
- "./mocks/**/*",
24
- "./__mocks__/**/*",
25
- "**/mock.*",
26
- "**/codemods/**/*.ts",
27
- "**/codemods/**/*.tsx"
28
- ],
29
- "compilerOptions": {
30
- "baseUrl": "./",
31
- "lib": ["ES2021.String"],
32
- "composite": true,
33
- "outDir": "../../../tsDist/@atlaskit__eslint-plugin-ui-styling-standard/app"
34
- },
35
- "references": [
36
- {
37
- "path": "../../../build/formatting/tsconfig.app.json"
38
- },
39
- {
40
- "path": "../eslint-utils/tsconfig.app.json"
41
- },
42
- {
43
- "path": "../codegen/tsconfig.app.json"
44
- }
45
- ],
46
- "files": []
2
+ "extends": "../../../tsconfig.node.json",
3
+ "include": ["./src/**/*.ts", "./src/**/*.tsx"],
4
+ "exclude": [
5
+ "**/docs/**/*",
6
+ "**/__tests__/**/*",
7
+ "**/vr-tests/**/*",
8
+ "**/__perf__/**/*",
9
+ "**/*.test.*",
10
+ "**/test.*",
11
+ "**/test-*",
12
+ "**/examples.ts",
13
+ "**/examples.tsx",
14
+ "**/examples/*.ts",
15
+ "**/examples/*.tsx",
16
+ "**/examples/**/*.ts",
17
+ "**/examples/**/*.tsx",
18
+ "**/storybook/**/*",
19
+ "**/constellation/**/*",
20
+ ".storybook/*",
21
+ "./__fixtures__/**/*",
22
+ "./__generated__/**/*",
23
+ "./mocks/**/*",
24
+ "./__mocks__/**/*",
25
+ "**/mock.*",
26
+ "**/codemods/**/*.ts",
27
+ "**/codemods/**/*.tsx"
28
+ ],
29
+ "compilerOptions": {
30
+ "baseUrl": "./",
31
+ "lib": ["ES2021.String"],
32
+ "composite": true,
33
+ "outDir": "../../../tsDist/@atlaskit__eslint-plugin-ui-styling-standard/app"
34
+ },
35
+ "references": [
36
+ {
37
+ "path": "../../../build/formatting/tsconfig.app.json"
38
+ },
39
+ {
40
+ "path": "../eslint-utils/tsconfig.app.json"
41
+ },
42
+ {
43
+ "path": "../codegen/tsconfig.app.json"
44
+ }
45
+ ],
46
+ "files": []
47
47
  }
package/tsconfig.dev.json CHANGED
@@ -1,45 +1,45 @@
1
1
  {
2
- "extends": "../../../tsconfig.node.json",
3
- "include": [
4
- "**/docs/**/*",
5
- "**/__tests__/**/*",
6
- "**/vr-tests/**/*",
7
- "**/__perf__/**/*",
8
- "**/*.test.*",
9
- "**/test.*",
10
- "**/test-*",
11
- "**/examples.ts",
12
- "**/examples.tsx",
13
- "**/examples/*.ts",
14
- "**/examples/*.tsx",
15
- "**/examples/**/*.ts",
16
- "**/examples/**/*.tsx",
17
- "**/storybook/**/*",
18
- "**/constellation/**/*",
19
- ".storybook/*",
20
- "./__fixtures__/**/*",
21
- "./__generated__/**/*",
22
- "./mocks/**/*",
23
- "./__mocks__/**/*",
24
- "**/mock.*",
25
- "**/codemods/**/*.ts",
26
- "**/codemods/**/*.tsx",
27
- "./**/__fixtures__/**/*.json"
28
- ],
29
- "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
30
- "compilerOptions": {
31
- "baseUrl": "./",
32
- "lib": ["ES2021.String"],
33
- "composite": true,
34
- "outDir": "../../../tsDist/@atlaskit__eslint-plugin-ui-styling-standard/dev"
35
- },
36
- "references": [
37
- {
38
- "path": "tsconfig.app.json"
39
- },
40
- {
41
- "path": "../ds-lib/tsconfig.app.json"
42
- }
43
- ],
44
- "files": []
2
+ "extends": "../../../tsconfig.node.json",
3
+ "include": [
4
+ "**/docs/**/*",
5
+ "**/__tests__/**/*",
6
+ "**/vr-tests/**/*",
7
+ "**/__perf__/**/*",
8
+ "**/*.test.*",
9
+ "**/test.*",
10
+ "**/test-*",
11
+ "**/examples.ts",
12
+ "**/examples.tsx",
13
+ "**/examples/*.ts",
14
+ "**/examples/*.tsx",
15
+ "**/examples/**/*.ts",
16
+ "**/examples/**/*.tsx",
17
+ "**/storybook/**/*",
18
+ "**/constellation/**/*",
19
+ ".storybook/*",
20
+ "./__fixtures__/**/*",
21
+ "./__generated__/**/*",
22
+ "./mocks/**/*",
23
+ "./__mocks__/**/*",
24
+ "**/mock.*",
25
+ "**/codemods/**/*.ts",
26
+ "**/codemods/**/*.tsx",
27
+ "./**/__fixtures__/**/*.json"
28
+ ],
29
+ "exclude": ["./dist/**/*", "./build/**/*", "./node_modules/**/*"],
30
+ "compilerOptions": {
31
+ "baseUrl": "./",
32
+ "lib": ["ES2021.String"],
33
+ "composite": true,
34
+ "outDir": "../../../tsDist/@atlaskit__eslint-plugin-ui-styling-standard/dev"
35
+ },
36
+ "references": [
37
+ {
38
+ "path": "tsconfig.app.json"
39
+ },
40
+ {
41
+ "path": "../ds-lib/tsconfig.app.json"
42
+ }
43
+ ],
44
+ "files": []
45
45
  }