You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Aug 8, 2023. It is now read-only.
eslint:{dev: {src: ['src/**/*.js'],options: {// When true, eslint will test _only_ the rules set in the provided// configuration filereset: false,configFile: './.eslintrc.yml'}}}
Migrating from ESLint 0.x or 1.x to ESlint 2.x or 3.x
If you upgrade the version of grunt-eslint you use from one that
pulls in ESLint 1.x or lower to one that pulls
in ESLint 2.x or greater, you must modify the configuration files to
include the new style of configuration.
If the Grunt config includes the default config
./node_modules/mobify-code-style/javascript/.eslintrc, replace that
with ./.eslintrc.yml, and add an .eslintrc.yml to the project root
as described above.
If there are modifications to the lint configuration in the project,
please check the migration guides at eslint.org to port
the modified lint config to ESLint 3.x.
ES6/JSX
We use ESLint to lint ES6 and React/JSX code. If ESLint is
installed in a project, we can use the configuration from this module by
creating a file in the project root named .eslintrc.yml. If the project does
not use JSX, the file contents should be