Skip to content

Commit

Permalink
Removes prefer-const
Browse files Browse the repository at this point in the history
  • Loading branch information
ecrmnn committed Jul 17, 2019
1 parent 40eaa99 commit e86d0a7
Show file tree
Hide file tree
Showing 6 changed files with 567 additions and 1 deletion.
2 changes: 2 additions & 0 deletions .eslintignore
@@ -0,0 +1,2 @@
test/fixtures/fake-app/resources/assets/dynamic/dynamic.js
test/fixtures/fake-app/resources/assets/extract/app.js
24 changes: 24 additions & 0 deletions .eslintrc
@@ -0,0 +1,24 @@
{
"parserOptions": {
"ecmaVersion": 6,
"sourceType": "module"
},
"env": {
"node": true
},
"rules": {
"no-const-assign": "error",
"newline-before-return": "error",
"semi":"error",
"no-unreachable": "error",
"no-extra-semi": "error",
"no-unexpected-multiline": "error",
"comma-dangle": ["error", {
"arrays": "never",
"objects": "never",
"imports": "never",
"exports": "never",
"functions": "never"
}]
}
}
4 changes: 4 additions & 0 deletions .travis.yml
Expand Up @@ -12,6 +12,10 @@ node_js:
- '10'
- '11'

# Run ESLint after npm test
script:
- npm run eslint

cache:
directories:
- 'node_modules'

0 comments on commit e86d0a7

Please sign in to comment.