add ES6 references to readme, add jsx-a11y to .eslintrc

This commit is contained in:
catarak 2016-08-27 21:28:00 -04:00
parent 64b2ea3da4
commit e6bd224694
2 changed files with 3 additions and 1 deletions

View File

@ -27,7 +27,7 @@
"max-len": [1, 120, 4],
},
"plugins": [
"react", "import"
"react", "jsx-a11y", "import"
],
"settings": {
"import/parser": "babel-eslint",

View File

@ -53,6 +53,8 @@ The p5.js Web Editor is built on a MERN stack - MongoDB, Express, React/Redux, a
This project does not use CSS Modules, but uses Sass. I like to follow [BEM rules](http://getbem.com/) for CSS naming conventions, write OOSCSS with placeholders and mixins, and follow the [7-1 Pattern](https://sass-guidelin.es/#the-7-1-pattern) for Sass.
I'm using [ES6](http://es6-features.org/) and transpiling to ES5 using [Babel](https://babeljs.io/). For reference to the JavaScript style guide, see the [Airbnb Style Guide](https://github.com/airbnb/javascript), [React ESLint Plugin](https://github.com/yannickcr/eslint-plugin-react).
I'm new to using ESLint, but I decided on a configuration based on some popular React/Redux boilerplates. Open to suggestions on this. If in development, you're getting annoyed with ESLint, you can remove it from `webpack.config.dev.js` in the JavaScript loader, or disable any line from eslint by commenting at the end of the line `// eslint-disable-line`.
##Dump of links I'm saving for reference