diff --git a/.eslintrc.json b/.eslintrc.json index 54f92d2a..900ff3e6 100644 --- a/.eslintrc.json +++ b/.eslintrc.json @@ -10,5 +10,5 @@ "@navigation-ex/material-top-tabs" ] }, - "env": { "browser": true } + "env": { "browser": true, "node": true } } diff --git a/babel.config.js b/babel.config.js index 2661f497..a34d9da5 100644 --- a/babel.config.js +++ b/babel.config.js @@ -1,5 +1,4 @@ /* eslint-disable import/no-commonjs */ -/* eslint-env node */ module.exports = { presets: [ diff --git a/commitlint.config.js b/commitlint.config.js index 51489bff..cc8383f7 100644 --- a/commitlint.config.js +++ b/commitlint.config.js @@ -1,4 +1,3 @@ -/* eslint-env node */ /* eslint-disable import/no-commonjs */ module.exports = { diff --git a/packages/example/babel.config.js b/packages/example/babel.config.js index e1a25569..7f6e39d7 100644 --- a/packages/example/babel.config.js +++ b/packages/example/babel.config.js @@ -1,5 +1,4 @@ /* eslint-disable import/no-commonjs */ -/* eslint-env node */ module.exports = function(api) { api.cache(true); diff --git a/packages/example/metro.config.js b/packages/example/metro.config.js index 4212095d..c331aef7 100644 --- a/packages/example/metro.config.js +++ b/packages/example/metro.config.js @@ -1,5 +1,4 @@ /* eslint-disable import/no-commonjs, import/no-extraneous-dependencies */ -/* eslint-env node */ const path = require('path'); const fs = require('fs'); diff --git a/packages/example/webpack.config.js b/packages/example/webpack.config.js index bc6b8851..d13d2442 100644 --- a/packages/example/webpack.config.js +++ b/packages/example/webpack.config.js @@ -1,5 +1,4 @@ /* eslint-disable import/no-commonjs */ -/* eslint-env node */ const createExpoWebpackConfigAsync = require('@expo/webpack-config');