Skip to content

Commit

Permalink
Update import paths for declarationValueIndex
Browse files Browse the repository at this point in the history
  • Loading branch information
jonrohan authored Dec 9, 2024
1 parent fd37bb3 commit c11b8b6
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/borders.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylelint from 'stylelint'
import declarationValueIndex from 'stylelint/lib/utils/declarationValueIndex.cjs'
import {declarationValueIndex} from 'stylelint/lib/utils/nodeFieldIndices.mjs'
import valueParser from 'postcss-value-parser'
import {walkGroups, primitivesVariables} from './lib/utils.js'

Expand Down
2 changes: 1 addition & 1 deletion plugins/box-shadow.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylelint from 'stylelint'
import declarationValueIndex from 'stylelint/lib/utils/declarationValueIndex.cjs'
import {declarationValueIndex} from 'stylelint/lib/utils/nodeFieldIndices.mjs'
import {primitivesVariables} from './lib/utils.js'

const {
Expand Down
2 changes: 1 addition & 1 deletion plugins/colors.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylelint from 'stylelint'
import declarationValueIndex from 'stylelint/lib/utils/declarationValueIndex.cjs'
import {declarationValueIndex} from 'stylelint/lib/utils/nodeFieldIndices.mjs'
import {primitivesVariables, hasValidColor} from './lib/utils.js'
import valueParser from 'postcss-value-parser'

Expand Down
2 changes: 1 addition & 1 deletion plugins/responsive-widths.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylelint from 'stylelint'
import declarationValueIndex from 'stylelint/lib/utils/declarationValueIndex.cjs'
import {declarationValueIndex} from 'stylelint/lib/utils/nodeFieldIndices.mjs'
import valueParser from 'postcss-value-parser'

export const ruleName = 'primer/responsive-widths'
Expand Down
2 changes: 1 addition & 1 deletion plugins/spacing.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylelint from 'stylelint'
import declarationValueIndex from 'stylelint/lib/utils/declarationValueIndex.cjs'
import {declarationValueIndex} from 'stylelint/lib/utils/nodeFieldIndices.mjs'
import valueParser from 'postcss-value-parser'
import {primitivesVariables, walkGroups} from './lib/utils.js'

Expand Down
2 changes: 1 addition & 1 deletion plugins/typography.js
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import stylelint from 'stylelint'
import declarationValueIndex from 'stylelint/lib/utils/declarationValueIndex.cjs'
import {declarationValueIndex} from 'stylelint/lib/utils/nodeFieldIndices.mjs'
import {primitivesVariables} from './lib/utils.js'

const {
Expand Down

0 comments on commit c11b8b6

Please sign in to comment.