@atlaskit/eslint-plugin-design-system 5.0.1 → 5.0.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.
- package/CHANGELOG.md +6 -0
- package/dist/cjs/rules/use-primitives/index.js +3 -3
- package/dist/cjs/version.json +1 -1
- package/dist/es2019/rules/use-primitives/index.js +3 -3
- package/dist/es2019/version.json +1 -1
- package/dist/esm/rules/use-primitives/index.js +3 -3
- package/dist/esm/version.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
# @atlaskit/eslint-plugin-design-system
|
|
2
2
|
|
|
3
|
+
## 5.0.2
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [`a5f1c4fa284`](https://bitbucket.org/atlassian/atlassian-frontend/commits/a5f1c4fa284) - Update links in the `use-primitives` rule to point to the right docs URL.
|
|
8
|
+
|
|
3
9
|
## 5.0.1
|
|
4
10
|
|
|
5
11
|
### Patch Changes
|
|
@@ -7,9 +7,9 @@ exports.default = void 0;
|
|
|
7
7
|
var _eslintCodemodUtils = require("eslint-codemod-utils");
|
|
8
8
|
var _createRule = require("../utils/create-rule");
|
|
9
9
|
var _utils = require("./utils");
|
|
10
|
-
var boxDocsUrl = 'https://atlassian.design/components/
|
|
11
|
-
var inlineDocsUrl = 'https://atlassian.design/components/
|
|
12
|
-
var stackDocsUrl = 'https://atlassian.design/components/
|
|
10
|
+
var boxDocsUrl = 'https://staging.atlassian.design/components/primitives/box';
|
|
11
|
+
var inlineDocsUrl = 'https://staging.atlassian.design/components/primitives/inline';
|
|
12
|
+
var stackDocsUrl = 'https://staging.atlassian.design/components/primitives/stack';
|
|
13
13
|
var rule = (0, _createRule.createLintRule)({
|
|
14
14
|
meta: {
|
|
15
15
|
name: 'use-primitives',
|
package/dist/cjs/version.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isNodeOfType } from 'eslint-codemod-utils';
|
|
2
2
|
import { createLintRule } from '../utils/create-rule';
|
|
3
3
|
import { primitiveFixer, shouldSuggestBox, shouldSuggestInline, shouldSuggestStack } from './utils';
|
|
4
|
-
const boxDocsUrl = 'https://atlassian.design/components/
|
|
5
|
-
const inlineDocsUrl = 'https://atlassian.design/components/
|
|
6
|
-
const stackDocsUrl = 'https://atlassian.design/components/
|
|
4
|
+
const boxDocsUrl = 'https://staging.atlassian.design/components/primitives/box';
|
|
5
|
+
const inlineDocsUrl = 'https://staging.atlassian.design/components/primitives/inline';
|
|
6
|
+
const stackDocsUrl = 'https://staging.atlassian.design/components/primitives/stack';
|
|
7
7
|
const rule = createLintRule({
|
|
8
8
|
meta: {
|
|
9
9
|
name: 'use-primitives',
|
package/dist/es2019/version.json
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { isNodeOfType } from 'eslint-codemod-utils';
|
|
2
2
|
import { createLintRule } from '../utils/create-rule';
|
|
3
3
|
import { primitiveFixer, shouldSuggestBox, shouldSuggestInline, shouldSuggestStack } from './utils';
|
|
4
|
-
var boxDocsUrl = 'https://atlassian.design/components/
|
|
5
|
-
var inlineDocsUrl = 'https://atlassian.design/components/
|
|
6
|
-
var stackDocsUrl = 'https://atlassian.design/components/
|
|
4
|
+
var boxDocsUrl = 'https://staging.atlassian.design/components/primitives/box';
|
|
5
|
+
var inlineDocsUrl = 'https://staging.atlassian.design/components/primitives/inline';
|
|
6
|
+
var stackDocsUrl = 'https://staging.atlassian.design/components/primitives/stack';
|
|
7
7
|
var rule = createLintRule({
|
|
8
8
|
meta: {
|
|
9
9
|
name: 'use-primitives',
|
package/dist/esm/version.json
CHANGED
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@atlaskit/eslint-plugin-design-system",
|
|
3
3
|
"description": "The essential plugin for use with the Atlassian Design System.",
|
|
4
|
-
"version": "5.0.
|
|
4
|
+
"version": "5.0.2",
|
|
5
5
|
"author": "Atlassian Pty Ltd",
|
|
6
6
|
"publishConfig": {
|
|
7
7
|
"registry": "https://registry.npmjs.org/"
|