Skip to content

Commit

Permalink
Remove the number-max-precision rule config
Browse files Browse the repository at this point in the history
  • Loading branch information
firefoxic committed Aug 14, 2024
1 parent cf2b6d9 commit 611d71b
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 95 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@ The format is based on [Keep a Changelog](https://keepachangelog.com), and 

- The minimum required version of `stylelint` has been increased to `16.8.1`.

### Added

- Restrictions on the maximum precision of numbers have been removed.

### Fixed

- False positives of `declaration-property-value-no-unknown` rule for `oklch()`.
Expand Down
8 changes: 0 additions & 8 deletions stylelint.config.js
Original file line number Diff line number Diff line change
Expand Up @@ -99,14 +99,6 @@ export default {
"no-invalid-position-at-import-rule": true,
"no-irregular-whitespace": true,
"no-unknown-custom-media": true,
"number-max-precision": [
3,
{
insideFunctions: {
"/^(oklch|oklab)$/": 9,
},
},
],
"property-no-unknown": [
true,
{
Expand Down
87 changes: 0 additions & 87 deletions test/number-max-precision.js

This file was deleted.

0 comments on commit 611d71b

Please sign in to comment.