Skip to content

Commit

Permalink
chore: readd deps and fix linting
Browse files Browse the repository at this point in the history
  • Loading branch information
evenstensberg committed Jul 14, 2019
1 parent b19b233 commit 82407e5
Show file tree
Hide file tree
Showing 396 changed files with 21,819 additions and 17,315 deletions.
2 changes: 1 addition & 1 deletion .editorconfig
@@ -1,7 +1,7 @@
root = true

[*]
indent_style = tab
indent_style = space
indent_size = 4
charset = utf-8
trim_trailing_whitespace = true
Expand Down
7 changes: 6 additions & 1 deletion .eslintignore
Expand Up @@ -10,4 +10,9 @@ test/**/main.js
test/**/cliEntry.js
test/**/foo.js
test/binCases/config-location/webpack-babel-config/bin/es6.js
packages/utils/validate-identifier.ts
packages/**/*.js
packages/utils/validate-identifier.ts

# TODO removeme

lib
19 changes: 12 additions & 7 deletions .eslintrc.js
@@ -1,30 +1,34 @@
module.exports = {
extends: ["eslint:recommended", "plugin:prettier/recommended"],
plugins: ["prettier"],
extends: ["eslint:recommended", 'plugin:@typescript-eslint/recommended', "plugin:prettier/recommended"],
env: {
node: true,
es6: true,
jest: true
},
parser: '@typescript-eslint/parser',
root: true,
plugins: ["node"],
parserOptions: { ecmaVersion: 2017, sourceType: "module" },
rules: {
"no-useless-escape": "off",
"quote-props": ["error", "as-needed"],
"no-dupe-keys": "error",
quotes: ["error", "double"],
"no-undef": "error",
"no-extra-semi": "error",
semi: "error",
"quotes": ["error", "single"],
"prettier/prettier": ["error", { "singleQuote": true }],
"quotemark": [
true,
"single"
],
"semi": "error",
"no-template-curly-in-string": "error",
"no-caller": "error",
yoda: "error",
eqeqeq: "error",
"global-require": "off",
"brace-style": "error",
"key-spacing": "error",
"space-in-parens": ["error", "never"],
"space-infix-ops": "error",
indent: ["error", "tab", { SwitchCase: 1 }],
"no-extra-bind": "warn",
"no-empty": "off",
"no-multiple-empty-lines": "error",
Expand All @@ -39,6 +43,7 @@ module.exports = {
"space-before-blocks": "error",
"object-curly-spacing": ["error", "always"],
"object-curly-newline": ["error", { consistent: true }],
"@typescript-eslint/no-var-requires": "off",
"keyword-spacing": [
"error",
{
Expand Down
5 changes: 2 additions & 3 deletions .prettierrc
@@ -1,5 +1,4 @@
{
"useTabs": true,
"tabWidth": 4,
"printWidth": 120
"singleQuote": true,
"trailingComma": "all"
}
63 changes: 0 additions & 63 deletions bin/.eslintrc.js

This file was deleted.

0 comments on commit 82407e5

Please sign in to comment.