Skip to content

Commit 2587ce0

Browse files
committed
chore: use eslint-config-atomic
1 parent 36d920b commit 2587ce0

File tree

3 files changed

+1667
-116
lines changed

3 files changed

+1667
-116
lines changed

.eslintrc.json

Lines changed: 1 addition & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -1,12 +1,5 @@
11
{
2-
"root": true,
3-
"parser": "@typescript-eslint/parser",
4-
"plugins": ["@typescript-eslint"],
5-
"extends": [
6-
"eslint:recommended",
7-
"plugin:@typescript-eslint/eslint-recommended",
8-
"plugin:@typescript-eslint/recommended"
9-
],
2+
"extends": "eslint-config-atomic",
103
"ignorePatterns": ["build/", "node_modules/"],
114
"rules": {
125
"@typescript-eslint/ban-types": [
@@ -25,8 +18,6 @@
2518
],
2619
"@typescript-eslint/no-empty-function": "off",
2720
"@typescript-eslint/no-explicit-any": "off",
28-
"@typescript-eslint/no-inferrable-types": "off",
29-
"@typescript-eslint/no-non-null-assertion": "off",
3021
"@typescript-eslint/no-unused-vars": [
3122
"error",
3223
{

package.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,8 +14,8 @@
1414
"scripts": {
1515
"format": "prettier --write .",
1616
"test.format": "prettier . --check",
17-
"lint": "eslint . --fix --ext .ts",
18-
"test.lint": "eslint . --ext .ts",
17+
"lint": "eslint . --fix",
18+
"test.lint": "eslint .",
1919
"clean": "shx rm -rf build && mkdirp build",
2020
"copy.typings": "shx cp -r ./typings ./build",
2121
"compile": "npm run copy.typings && tsc",
@@ -42,6 +42,7 @@
4242
"@typescript-eslint/parser": "^4.14.1",
4343
"chai": "^4.2.0",
4444
"eslint": "^7.18.0",
45+
"eslint-config-atomic": "^1.10.1",
4546
"mocha": "^8.2.1",
4647
"mocha-appveyor-reporter": "^0.4.2",
4748
"shx": "^0.3.3",

0 commit comments

Comments
 (0)