Enforce case for variable names.
$ npm i -D eslint eslint-plugin-strict-case
$ yarn add -D eslint eslint-plugin-strict-case
Note: If you installed ESLint globally then you must also install
.eslintrc, set the
es6 environment configuration, add
strict-case to the plugins section, and configure the rules you want to use under the
Or you can use the recommended configuration instead.
strict-case/class: Checks if the name of a class starts with an uppercase letter.