Skip to content

Commit

Permalink
added babel-eslint parser for experimental feature linting
Browse files Browse the repository at this point in the history
  • Loading branch information
jdan committed Jul 21, 2015
1 parent 924dfa0 commit ed022b6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintrc
Original file line number Diff line number Diff line change
@@ -1,4 +1,5 @@
{
"parser": "babel-eslint",
"env": {
"node": true,
"browser": true,
Expand All @@ -7,6 +8,7 @@
},
"rules": {
"comma-dangle": 0,
"new-cap": 0,
"no-underscore-dangle": 0,
"quotes": [2, "double"],
"space-infix-ops": 0,
Expand Down
1 change: 1 addition & 0 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -12,6 +12,7 @@
"autoprefixer-loader": "^2.0.0",
"babel": "^5.6.7",
"babel-core": "^5.0.12",
"babel-eslint": "^3.1.23",
"babel-loader": "^5.0.0",
"css-loader": "^0.10.1",
"eslint": "^0.23.0",
Expand Down
1 change: 0 additions & 1 deletion plugins/headings/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,6 @@ let annotate = require("../shared/annotate")("headings");
let outlineItemTemplate = require("./outline-item.handlebars");
require("./style.less");

/* eslint new-cap:0 */
const ERRORS = {
FIRST_NOT_H1(level) {
return {
Expand Down

0 comments on commit ed022b6

Please sign in to comment.