@atlaskit/eslint-plugin-platform 1.1.0 → 2.0.0

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.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,13 @@
1
1
  # @atlaskit/eslint-plugin-platform
2
2
 
3
+ ## 2.0.0
4
+
5
+ ### Major Changes
6
+
7
+ - [#176646](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/pull-requests/176646)
8
+ [`9612cd921a885`](https://stash.atlassian.com/projects/CONFCLOUD/repos/confluence-frontend/commits/9612cd921a885) -
9
+ ESlint rule for expand background shorthand with color token
10
+
3
11
  ## 1.1.0
4
12
 
5
13
  ### Minor Changes
package/dist/cjs/index.js CHANGED
@@ -69,7 +69,7 @@ var commonConfig = {
69
69
  '@atlaskit/platform/no-module-level-eval-nav4': 'error',
70
70
  // Compiled: rules that are not included via `@compiled/recommended
71
71
  '@atlaskit/platform/expand-border-shorthand': 'error',
72
- '@atlaskit/platform/expand-background-shorthand': 'warn',
72
+ '@atlaskit/platform/expand-background-shorthand': 'error',
73
73
  '@compiled/jsx-pragma': ['error', {
74
74
  importSources: ['@atlaskit/css'],
75
75
  onlyRunIfImportingCompiled: true,
@@ -61,7 +61,7 @@ const commonConfig = {
61
61
  '@atlaskit/platform/no-module-level-eval-nav4': 'error',
62
62
  // Compiled: rules that are not included via `@compiled/recommended
63
63
  '@atlaskit/platform/expand-border-shorthand': 'error',
64
- '@atlaskit/platform/expand-background-shorthand': 'warn',
64
+ '@atlaskit/platform/expand-background-shorthand': 'error',
65
65
  '@compiled/jsx-pragma': ['error', {
66
66
  importSources: ['@atlaskit/css'],
67
67
  onlyRunIfImportingCompiled: true,
package/dist/esm/index.js CHANGED
@@ -64,7 +64,7 @@ var commonConfig = {
64
64
  '@atlaskit/platform/no-module-level-eval-nav4': 'error',
65
65
  // Compiled: rules that are not included via `@compiled/recommended
66
66
  '@atlaskit/platform/expand-border-shorthand': 'error',
67
- '@atlaskit/platform/expand-background-shorthand': 'warn',
67
+ '@atlaskit/platform/expand-background-shorthand': 'error',
68
68
  '@compiled/jsx-pragma': ['error', {
69
69
  importSources: ['@atlaskit/css'],
70
70
  onlyRunIfImportingCompiled: true,
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@atlaskit/eslint-plugin-platform",
3
3
  "description": "The essential plugin for use with Atlassian frontend platform tools",
4
- "version": "1.1.0",
4
+ "version": "2.0.0",
5
5
  "author": "Atlassian Pty Ltd",
6
6
  "atlassian": {
7
7
  "team": "Build Infra",
package/src/index.tsx CHANGED
@@ -63,7 +63,7 @@ const commonConfig = {
63
63
  '@atlaskit/platform/no-module-level-eval-nav4': 'error',
64
64
  // Compiled: rules that are not included via `@compiled/recommended
65
65
  '@atlaskit/platform/expand-border-shorthand': 'error',
66
- '@atlaskit/platform/expand-background-shorthand': 'warn',
66
+ '@atlaskit/platform/expand-background-shorthand': 'error',
67
67
  '@compiled/jsx-pragma': [
68
68
  'error',
69
69
  {