Commit 2a1b3b3
Update StyleLint to v16
Stylelint v16 deprecated CJS so I moved our lint script to ESM,
and fixed all the deprecation warning.
The only place I needed to silence them were tests,
as we import CJS there.
Bug: none
Change-Id: Iae4d2df76c855a9738b774a2d035f22509770215
Reviewed-on: https://chromium-review.googlesource.com/c/devtools/devtools-frontend/+/6138610
Commit-Queue: Nikolay Vitkov <[email protected]>
Reviewed-by: Benedikt Meurer <[email protected]>1 parent 924fc2c commit 2a1b3b3
File tree
1,912 files changed
+99546
-73351
lines changed- front_end/panels
- explain/components
- issues
- layer_viewer
- timeline
- node_modules
- @csstools
- css-parser-algorithms
- dist
- css-tokenizer
- dist
- media-query-list-parser
- dist
- selector-specificity
- @dual-bundle/import-meta-resolve
- lib
- @eslint/eslintrc/node_modules/type-fest
- source
- ts41
- @types
- minimist
- normalize-package-data
- arrify
- camelcase-keys
- cosmiconfig
- dist
- decamelize-keys
- node_modules
- decamelize
- map-obj
- decamelize
- env-paths
- eslint-plugin-mocha/node_modules/type-fest
- source
- ts41
- eslint/node_modules/type-fest
- source
- ts41
- hard-rejection
- import-lazy
- indent-string
- known-css-properties
- data
- lines-and-columns
- build
- dist
- lru-cache
- map-obj
- meow
- build
- node_modules
- .bin
- hosted-git-info
- normalize-package-data
- lib
- semver
- bin
- classes
- functions
- internal
- ranges
- yargs-parser
- build
- lib
- min-indent
- minimist-options
- node_modules/is-plain-obj
- picocolors
- postcss-resolve-nested-selector
- postcss-safe-parser
- lib
- quick-lru
- read-pkg-up
- read-pkg
- node_modules
- .bin
- hosted-git-info
- normalize-package-data
- lib
- semver
- bin
- classes
- functions
- internal
- ranges
- redent
- source-map-js
- lib
- strip-indent
- style-search
- stylelint-config-recommended
- stylelint-config-standard
- node_modules/stylelint-config-recommended
- stylelint
- bin
- lib
- formatters
- reference
- rules
- alpha-value-notation
- annotation-no-unknown
- at-rule-allowed-list
- at-rule-disallowed-list
- at-rule-empty-line-before
- at-rule-name-case
- at-rule-name-newline-after
- at-rule-name-space-after
- at-rule-no-unknown
- at-rule-no-vendor-prefix
- at-rule-property-required-list
- at-rule-semicolon-newline-after
- at-rule-semicolon-space-before
- block-closing-brace-empty-line-before
- block-closing-brace-newline-after
- block-closing-brace-newline-before
- block-closing-brace-space-after
- block-closing-brace-space-before
- block-no-empty
- block-opening-brace-newline-after
- block-opening-brace-newline-before
- block-opening-brace-space-after
- block-opening-brace-space-before
- color-function-notation
- color-hex-alpha
- color-hex-case
- color-hex-length
- color-named
- color-no-hex
- color-no-invalid-hex
- comment-empty-line-before
- comment-no-empty
- comment-pattern
- comment-whitespace-inside
- comment-word-disallowed-list
- custom-media-pattern
- custom-property-empty-line-before
- custom-property-no-missing-var-function
- custom-property-pattern
- declaration-bang-space-after
- declaration-bang-space-before
- declaration-block-no-duplicate-custom-properties
- declaration-block-no-duplicate-properties
- declaration-block-no-redundant-longhand-properties
- declaration-block-no-shorthand-property-overrides
- declaration-block-semicolon-newline-after
- declaration-block-semicolon-newline-before
- declaration-block-semicolon-space-after
- declaration-block-semicolon-space-before
- declaration-block-single-line-max-declarations
- declaration-block-trailing-semicolon
- declaration-colon-newline-after
- declaration-colon-space-after
- declaration-colon-space-before
- declaration-empty-line-before
- declaration-no-important
- declaration-property-max-values
- declaration-property-unit-allowed-list
- declaration-property-unit-disallowed-list
- declaration-property-value-allowed-list
- declaration-property-value-disallowed-list
- declaration-property-value-no-unknown
- font-family-name-quotes
- font-family-no-duplicate-names
- font-family-no-missing-generic-family-keyword
- font-weight-notation
- function-allowed-list
- function-calc-no-unspaced-operator
- function-comma-newline-after
- function-comma-newline-before
- function-comma-space-after
- function-comma-space-before
- function-disallowed-list
- function-linear-gradient-no-nonstandard-direction
- function-max-empty-lines
- function-name-case
- function-no-unknown
- function-parentheses-newline-inside
- function-parentheses-space-inside
- function-url-no-scheme-relative
- function-url-quotes
- function-url-scheme-allowed-list
- function-url-scheme-disallowed-list
- function-whitespace-after
- hue-degree-notation
- import-notation
- indentation
- keyframe-block-no-duplicate-selectors
- keyframe-declaration-no-important
- keyframe-selector-notation
- keyframes-name-pattern
- length-zero-no-unit
- lightness-notation
- linebreaks
- max-empty-lines
- max-line-length
- max-nesting-depth
- media-feature-colon-space-after
- media-feature-colon-space-before
- media-feature-name-allowed-list
- media-feature-name-case
- media-feature-name-disallowed-list
- media-feature-name-no-unknown
- media-feature-name-no-vendor-prefix
- media-feature-name-unit-allowed-list
- media-feature-name-value-allowed-list
- media-feature-name-value-no-unknown
- media-feature-parentheses-space-inside
- media-feature-range-notation
- media-feature-range-operator-space-after
- media-feature-range-operator-space-before
- media-query-list-comma-newline-after
- media-query-list-comma-newline-before
- media-query-list-comma-space-after
- media-query-list-comma-space-before
- media-query-no-invalid
- named-grid-areas-no-invalid
- utils
- no-descending-specificity
- no-duplicate-at-import-rules
- no-duplicate-selectors
- no-empty-first-line
- no-empty-source
- no-eol-whitespace
- no-extra-semicolons
- no-invalid-double-slash-comments
- no-invalid-position-at-import-rule
- no-irregular-whitespace
- no-missing-end-of-source-newline
- no-unknown-animations
- no-unknown-custom-media
- no-unknown-custom-properties
- number-leading-zero
- number-max-precision
- number-no-trailing-zeros
- property-allowed-list
- property-case
- property-disallowed-list
- property-no-unknown
- property-no-vendor-prefix
- rule-empty-line-before
- rule-selector-property-disallowed-list
- selector-anb-no-unmatchable
- selector-attribute-brackets-space-inside
- selector-attribute-name-disallowed-list
- selector-attribute-operator-allowed-list
- selector-attribute-operator-disallowed-list
- selector-attribute-operator-space-after
- selector-attribute-operator-space-before
- selector-attribute-quotes
- selector-class-pattern
- selector-combinator-allowed-list
- selector-combinator-disallowed-list
- selector-combinator-space-after
- selector-combinator-space-before
- selector-descendant-combinator-no-non-space
- selector-disallowed-list
- selector-id-pattern
- selector-list-comma-newline-after
- selector-list-comma-newline-before
- selector-list-comma-space-after
- selector-list-comma-space-before
- selector-max-attribute
- selector-max-class
- selector-max-combinators
- selector-max-compound-selectors
- selector-max-empty-lines
- selector-max-id
- selector-max-pseudo-class
- selector-max-specificity
- selector-max-type
- selector-max-universal
- selector-nested-pattern
- selector-no-qualifying-type
- selector-no-vendor-prefix
- selector-not-notation
- selector-pseudo-class-allowed-list
- selector-pseudo-class-case
- selector-pseudo-class-disallowed-list
- selector-pseudo-class-no-unknown
- selector-pseudo-class-parentheses-space-inside
- selector-pseudo-element-allowed-list
- selector-pseudo-element-case
- selector-pseudo-element-colon-notation
- selector-pseudo-element-disallowed-list
- selector-pseudo-element-no-unknown
- selector-type-case
- selector-type-no-unknown
- shorthand-property-no-redundant-values
- string-no-newline
- string-quotes
- time-min-milliseconds
- unicode-bom
- unit-allowed-list
- unit-case
- unit-disallowed-list
- unit-no-unknown
- value-keyword-case
- value-list-comma-newline-after
- value-list-comma-newline-before
- value-list-comma-space-after
- value-list-comma-space-before
- value-list-max-empty-lines
- value-no-vendor-prefix
- utils
- node_modules
- .bin
- @csstools/selector-specificity
- dist
- ansi-regex
- css-tree
- cjs
- definition-syntax
- generator
- lexer
- parser
- syntax
- atrule
- config
- function
- node
- pseudo
- tokenizer
- utils
- data
- dist
- lib
- definition-syntax
- generator
- lexer
- parser
- syntax
- atrule
- config
- function
- node
- pseudo
- tokenizer
- utils
- file-entry-cache
- flat-cache
- src
- ignore
- mdn-data
- css
- l10n
- nanoid
- async
- bin
- non-secure
- url-alphabet
- postcss-selector-parser
- dist
- selectors
- util
- postcss
- lib
- strip-ansi
- types/stylelint
- trim-newlines
- type-fest
- source
- ts41
- yallist
- scripts
- deps
- stylelint_rules
- lib
- tests
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
1,912 files changed
+99546
-73351
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
257 | 257 | | |
258 | 258 | | |
259 | 259 | | |
260 | | - | |
| 260 | + | |
261 | 261 | | |
262 | 262 | | |
263 | 263 | | |
| |||
292 | 292 | | |
293 | 293 | | |
294 | 294 | | |
295 | | - | |
| 295 | + | |
| 296 | + | |
296 | 297 | | |
297 | 298 | | |
298 | 299 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
119 | 119 | | |
120 | 120 | | |
121 | 121 | | |
122 | | - | |
| 122 | + | |
123 | 123 | | |
124 | 124 | | |
125 | 125 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
90 | 90 | | |
91 | 91 | | |
92 | 92 | | |
93 | | - | |
| 93 | + | |
94 | 94 | | |
95 | 95 | | |
96 | 96 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
19 | 19 | | |
20 | 20 | | |
21 | 21 | | |
22 | | - | |
| 22 | + | |
23 | 23 | | |
24 | 24 | | |
25 | 25 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
549 | 549 | | |
550 | 550 | | |
551 | 551 | | |
552 | | - | |
| 552 | + | |
553 | 553 | | |
554 | 554 | | |
555 | 555 | | |
| |||
0 commit comments