Skip to content

Commit 7a60bb0

Browse files
committed
build: move .eslintignore to top-level dir
1 parent 7853d39 commit 7a60bb0

File tree

4 files changed

+39
-39
lines changed

4 files changed

+39
-39
lines changed

.eslintignore

Lines changed: 37 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1,37 @@
1-
./etc/eslint/.eslintignore
1+
#/
2+
# @license Apache-2.0
3+
#
4+
# Copyright (c) 2018 The Stdlib Authors.
5+
#
6+
# Licensed under the Apache License, Version 2.0 (the "License");
7+
# you may not use this file except in compliance with the License.
8+
# You may obtain a copy of the License at
9+
#
10+
# http://www.apache.org/licenses/LICENSE-2.0
11+
#
12+
# Unless required by applicable law or agreed to in writing, software
13+
# distributed under the License is distributed on an "AS IS" BASIS,
14+
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
15+
# See the License for the specific language governing permissions and
16+
# limitations under the License.
17+
#/
18+
19+
# Files #
20+
#########
21+
!.*.js
22+
!.*.ts
23+
24+
# Directories #
25+
###############
26+
build/
27+
reports/
28+
/dist/
29+
30+
# Node.js #
31+
###########
32+
/node_modules/
33+
!/**/node_modules/*
34+
35+
# Git #
36+
#######
37+
.git*

etc/eslint/.eslintignore

Lines changed: 0 additions & 36 deletions
This file was deleted.

tools/make/lib/lint/javascript/eslint.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ ESLINT_CONF_TESTS ?= $(CONFIG_DIR)/eslint/.eslintrc.tests.js
4242
ESLINT_CONF_BENCHMARKS ?= $(CONFIG_DIR)/eslint/.eslintrc.benchmarks.js
4343

4444
# Define the path to the ESLint ignore file:
45-
ESLINT_IGNORE ?= $(CONFIG_DIR)/eslint/.eslintignore
45+
ESLINT_IGNORE ?= $(ROOT_DIR)/.eslintignore
4646

4747
# Define the command-line options to use when invoking the ESLint executable:
4848
ESLINT_FLAGS ?= \

tools/make/lib/lint/typescript/eslint.mk

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ ESLINT ?= $(BIN_DIR)/eslint
3333
ESLINT_TS_CONF ?= $(CONFIG_DIR)/eslint/.eslintrc.typescript.js
3434

3535
# Define the path to the ESLint ignore file:
36-
ESLINT_IGNORE ?= $(CONFIG_DIR)/eslint/.eslintignore
36+
ESLINT_IGNORE ?= $(ROOT_DIR)/.eslintignore
3737

3838
# Define the command-line options to use when invoking the ESLint executable:
3939
ESLINT_TS_FLAGS ?= \

0 commit comments

Comments
 (0)