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.
Typically, we lint our javascript files using [Grunt](http://gruntjs.com/) and [grunt-eslint](https://github.com/sindresorhus/grunt-eslint). grunt-eslint is a Grunt helper for the [ESLint](http://eslint.org/) linter.
### Migrating from ESLint 0.x or 1.x to ESlint 2.x or 3.x
46
+
47
+
If you upgrade the version of `grunt-eslint` you use from one that
48
+
pulls in ESLint 1.x or lower to one that pulls
49
+
in ESLint 2.x or greater, you must modify the configuration files to
50
+
include the new style of configuration.
51
+
52
+
If the Grunt config includes the default config
53
+
`./node_modules/mobify-code-style/javascript/.eslintrc`, replace that
54
+
with `./.eslintrc.yml`, and add an `.eslintrc.yml` to the project root
55
+
as described above.
56
+
57
+
If there are modifications to the lint configuration in the project,
58
+
please check the migration guides at [http://eslint.org/] to port the
59
+
modified lint config to ESLint 3.x.
60
+
61
+
## ES6/JSX
62
+
63
+
We use [ESLint](http://eslint.org/) 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
0 commit comments