diff options
author | Pascal Birchler <swissspidy@git.wordpress.org> | 2024-02-23 10:36:36 +0000 |
---|---|---|
committer | Pascal Birchler <swissspidy@git.wordpress.org> | 2024-02-23 10:36:36 +0000 |
commit | 38ee6fc470a3f9c2c82f18c5fb4dfb92cae5fd6e (patch) | |
tree | 8a30fe79cac33b6f74041f7f57b68becd5dcb26f /.jshintrc | |
parent | 6ffe615d1c56fb142db3918456bd08760b0a9106 (diff) | |
download | wordpress-38ee6fc470a3f9c2c82f18c5fb4dfb92cae5fd6e.tar.gz wordpress-38ee6fc470a3f9c2c82f18c5fb4dfb92cae5fd6e.zip |
Build/Test Tools: Update JSHint config to remove deprecated options.
Removes deprecated options that no longer have any effect, and updates the targeted ES version in line with WordPress’ browser support.
This change mostly allows new code to properly use trailing commas, as added by the Prettier formatter.
Future efforts should rather go towards adopting ESLint for code formatting, see #31823.
Props netweb.
Fixes #28236.
git-svn-id: https://develop.svn.wordpress.org/trunk@57702 602fd350-edb4-49c9-b593-d223f7449a82
Diffstat (limited to '.jshintrc')
-rw-r--r-- | .jshintrc | 4 |
1 files changed, 1 insertions, 3 deletions
@@ -3,14 +3,12 @@ "curly": true, "eqeqeq": true, "eqnull": true, - "esversion": 3, + "esversion": 6, "expr": true, "immed": true, "noarg": true, "nonbsp": true, - "onevar": true, "quotmark": "single", - "trailing": true, "undef": true, "unused": true, |