Skip to content

Commit

Permalink
Extend eslint config off of eslint-config-vidhill
Browse files Browse the repository at this point in the history
  • Loading branch information
David Hill committed Jun 23, 2021
1 parent 4009db4 commit c339f2b
Showing 1 changed file with 1 addition and 19 deletions.
20 changes: 1 addition & 19 deletions .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -3,28 +3,10 @@ module.exports = {
es2021: true,
node: true,
},
plugins: ['prettier', 'import'],
extends: 'eslint:recommended',
extends: ['vidhill'],
parserOptions: {
ecmaVersion: 12,
sourceType: 'module',
},
rules: {
'prettier/prettier': 'error',
'no-console': 'error',
'prefer-const': 'error',
'import/no-unresolved': 'error',
},
ignorePatterns: ['build/**/*'],
overrides: [
{
// unit test overrides
files: ['jest-config/*', '*.spec.js'],
plugins: ['jest'],
extends: ['plugin:jest/recommended'],
env: {
jest: true,
},
},
],
};

0 comments on commit c339f2b

Please sign in to comment.