Skip to content

Commit

Permalink
chore: import examples eslintrc for getting-started eslint config
Browse files Browse the repository at this point in the history
  • Loading branch information
alisabzevari committed Aug 3, 2021
1 parent 878bee2 commit f0b144c
Show file tree
Hide file tree
Showing 3 changed files with 20 additions and 16 deletions.
File renamed without changes.
16 changes: 0 additions & 16 deletions getting-started/.eslintrc

This file was deleted.

20 changes: 20 additions & 0 deletions getting-started/.eslintrc.js
@@ -0,0 +1,20 @@
/* eslint-disable global-require */
/* eslint-disable strict */

module.exports = {
...require('../examples/.eslintrc.json'),
env: {
node: true,
},
extends: 'airbnb-base',
parserOptions: {
sourceType: 'script',
},
rules: {
'no-use-before-define': ['error', 'nofunc'],
'no-console': 'off',
'import/no-unresolved': 'off',
'no-unused-vars': ['error'],
strict: ['error', 'global'],
},
};

0 comments on commit f0b144c

Please sign in to comment.