mirror of
https://github.com/expo/eas-cli.git
synced 2026-11-15 17:31:46 -10:00
* upgrade typescript to 4.7.4 * [scripts] add extensions to imports * [scripts] configure as ESM * [scripts] fix after converting to ESM * [scripts] fix lint * [scripts] require node >= 14.16 * [scripts] add node: protocol * add scripts/build to .gitignore * [scripts] add typecheck script * add workflow for testing scripts * address PR feedback
16 lines
341 B
JavaScript
16 lines
341 B
JavaScript
const rootEslintrc = require('../.eslintrc.js');
|
|
|
|
module.exports = {
|
|
rules: {
|
|
'no-restricted-imports': [
|
|
'error',
|
|
{
|
|
paths: rootEslintrc.rules['no-restricted-imports'][1].paths.filter(
|
|
// using lodash in internal scripts is fine
|
|
({ name }) => name !== 'lodash'
|
|
),
|
|
},
|
|
],
|
|
},
|
|
};
|