Is there a way to disable user modeling

thanks for the reply
i already try solution from this thread
there was an error

Module not found: Can't resolve 'lodash/collection/forEach'

this is what i try
ReadOnly.js

'use strict';
var forEach = require('lodash/collection/forEach');
var HIGH_PRIORITY = 10001;
.....

index.js

import ReadOnly from './ReadOnly';

export default {
  __init__: [ 'readOnly' ],
  customRules: [ 'type', ReadOnly ]
};

and then import it to my main file

import Read from "./Read/ReadOnly.js";

my file have same structure like this thread