Code Inspection: Octal integer
Configure inspections: Settings | Editor | Inspections
Show intention actions: AltEnter
Reports a deprecated octal integer literal prefixed with 0
instead of 0o
.
Such literals are not allowed in modern ECMAScript code, and using them in the strict mode is an error.
To force this inspection for ES5 and ES3 language levels, select the 'Warn about obsolete octal literals in ES5- code' checkbox below.
Place the caret at the highlighted line and press AltEnter or click
.
Click the arrow next to the inspection you want to suppress and select the necessary suppress action.